The gtk-hpux-981006-0.patch.gz file contains context diffs that I used to build gtk+ 1.0.6 under both HP-UX 9.05 and 10.20. I've included a detailed description of the changes below. Richard K. Lloyd, E-mail: rkl@csc.liv.ac.uk Connect, WWW: http://www.csc.liv.ac.uk/~rkl/ 3, Brownlow Street, Liverpool University, Merseyside, UK. L69 3GL Files changed: * Makefile.in: - Delete config.cache during a "make clean". - Don't install gtk.m4. - Removed redundant .SUFFIXES line. * Makefile.in, gdk/Makefile.in, gtk/Makefile.in: - Set SHELL to use /bin/posix/sh (just like configure does now). * configure: - /bin/sh comes up with an "internal 2K buffer overflow", so I've set the shell escape to /bin/posix/sh and also overridden CONFIG_SHELL to be /bin/posix/sh as well. - Added HP-UX override section, which included setting HP ANSI C flags, prefix and RANLIB appropriately. - Strip installed binaries during a "make install". * docs/Makefile.in: - "install-info --info-dir=..." fails if there isn't a file called "dir" inside the specified info-dir, so I now use touch to create one. - Don't run "install-info" on glib.info during "make install" - it causes "install-info" to core dump (yes, even with the install-info from texinfo 3.12). * gdk/Makefile.in: - The gdk shared library does *not* need to be linked with any of the X libraries because these will be specified when any binary is linked against the library...duh ! - Added Xaw/Xmu include paths (for both R6 and R5), so it would work under 10.X and 9.X. * gdk/gdk.c and glib/gerror.c: - Add conditional code to support HP-UX 9.X-style select() params. * glib/configure: - Added a similar HP-UX override section to the one added to the top-level configure script. Disappointing to have to do the same overrides twice - the top-level configure really should pass down its flags to this script. - Strip installed binaries during a "make install". * glib/glib.h: - #error is not a universal ANSI C cpp directive, so changed it to something neutral like "integer_size_error" instead. Note that this #error directive messes up the gimp configure test for xdelta if it's left in (because it generates a compiler warning). * glib/ltconfig and ltconfig: - Incorrectly looks for "nm -B" support before checking for "nm -p". I've reversed the check. - Strip installed libraries. - When generating libtool, use /bin/posix/sh as the escaped shell. * glib/ltmain.sh and ltmain.sh: - No point in adding -lc when creating the shared library because that gets included when any binaries are linked against the library ! - Change code that generates wrapper scripts to use /bin/posix/sh instead. * glib/mkinstalldirs and mkinstalldirs: - Set 755 permissions on created directories. * gtk/Makefile.in: - Link lines of all programs needed an extra -lc to avoid duplicate symbols. * gtk/gtkentry.c: - gtk_widget_queue_draw() takes a (GtkWidget *) as its parameter, so duly cast the param to avoid compiler warning. * gtk/gtkwindow.c: - Assigned (GtkWindow *)NULL to the "window" variable to keep the HP ANSI C compiler quiet (was moaning about a potentially uninitialised variable). * gtk/testgtk.c: - Second param of gdk_bitmap_create_from_data() should be a (gchar *).