*** ./src/backend/port/dynloader/unixware.h.osr6 Sun Mar 5 07:58:35 2006 --- ./src/backend/port/dynloader/unixware.h Fri Apr 18 14:15:06 2008 *************** *** 39,45 **** #endif #define pg_dlopen(f) dlopen((f), RTLD_NOW | RTLD_GLOBAL) ! #define pg_dlsym dlsym #define pg_dlclose dlclose #define pg_dlerror dlerror --- 39,45 ---- #endif #define pg_dlopen(f) dlopen((f), RTLD_NOW | RTLD_GLOBAL) ! #define pg_dlsym(h, f) ((PGFunction) dlsym(h, f)) #define pg_dlclose dlclose #define pg_dlerror dlerror *** ./src/bin/psql/tab-complete.c.osr6 Tue Oct 3 17:30:06 2006 --- ./src/bin/psql/tab-complete.c Fri Apr 18 14:15:06 2008 *************** *** 493,499 **** initialize_readline(void) { rl_readline_name = (char *) pset.progname; ! rl_attempted_completion_function = (void *) psql_completion; rl_basic_word_break_characters = "\t\n@$><=;|&{( "; --- 493,499 ---- initialize_readline(void) { rl_readline_name = (char *) pset.progname; ! rl_attempted_completion_function = (rl_completion_func_t *) psql_completion; rl_basic_word_break_characters = "\t\n@$><=;|&{( "; *** ./src/interfaces/ecpg/test/preproc/comment.pgc.osr6 Fri Sep 8 07:58:27 2006 --- ./src/interfaces/ecpg/test/preproc/comment.pgc Fri Apr 18 14:15:06 2008 *************** *** 3,9 **** exec sql include ../regression; /* just a test comment */ int i; ! /* just a test comment int j*/; /****************************************************************************/ /* Test comment */ --- 3,9 ---- exec sql include ../regression; /* just a test comment */ int i; ! /* just a test comment */ int j; /****************************************************************************/ /* Test comment */ *** ./src/pl/tcl/Makefile.osr6 Thu Jul 20 17:24:04 2006 --- ./src/pl/tcl/Makefile Fri Apr 18 14:15:06 2008 *************** *** 30,36 **** ifneq ($(PORTNAME), win32) ! SHLIB_LINK = $(BE_DLLLIBS) $(TCL_LIB_SPEC) $(TCL_LIBS) -lc else SHLIB_LINK = $(TCL_LIB_SPEC) $(BE_DLLLIBS) endif --- 30,36 ---- ifneq ($(PORTNAME), win32) ! SHLIB_LINK = $(BE_DLLLIBS) $(TCL_LIB_SPEC) $(TCL_LIBS) else SHLIB_LINK = $(TCL_LIB_SPEC) $(BE_DLLLIBS) endif *** ./src/port/exec.c.osr6 Fri Feb 29 07:31:37 2008 --- ./src/port/exec.c Fri Apr 18 14:15:06 2008 *************** *** 285,290 **** --- 285,293 ---- static int resolve_symlinks(char *path) { + #ifdef _NO_FOLLOW_SYMLINKS + return 0; + #endif #ifdef HAVE_READLINK struct stat buf; char orig_wd[MAXPGPATH], *** ./src/Makefile.shlib.osr6 Tue Sep 19 08:36:07 2006 --- ./src/Makefile.shlib Fri Apr 18 14:15:06 2008 *************** *** 233,239 **** else LINK.shared = $(CC) -G endif ! LINK.shared += -Wl,-z,text -Wl,-h,$(soname) endif ifeq ($(PORTNAME), cygwin) --- 233,239 ---- else LINK.shared = $(CC) -G endif ! LINK.shared += -Wl,-z,text -Wl,-h,/usr/lib/postgresql/$(soname) endif ifeq ($(PORTNAME), cygwin) *** ./Install-OSR6.osr6 Fri Apr 18 14:15:06 2008 --- ./Install-OSR6 Fri Apr 18 14:15:06 2008 *************** *** 0 **** --- 1,15 ---- + #!/bin/sh + + MOUT=mout-install + D=/u/tmp/pgsql + DESTDIR=$D + export DESTDIR + + [ -f $MOUT ] && mv $MOUT $MOUT-prev + [ -d $D ] && rm -rf $D + mkdir -p $D + make install DESTDIR=$D 2>&1 | tee $MOUT + make -C src/pl install DESTDIR=$D 2>&1 | tee $MOUT-pl + make -C contrib install DESTDIR=$D 2>&1 | tee $MOUT-contrib + make -C contrib/xml2 install DESTDIR=$D 2>&1 | tee $MOUT-contrib.xml2 + make -C src/tutorial NO_PGXS=1 install DESTDIR=$D 2>&1 | tee $MOUT-tutorial --- ./Build-OSR6.osr6 2008-06-27 13:19:36.800000032 -0700 +++ ./Build-OSR6 2008-06-27 13:26:20.580000011 -0700 @@ -0,0 +1,41 @@ +#!/bin/sh +# +HOST=i586-sco-sysv5 +CFLAGS="-O2 -D_NO_FOLLOW_SYMLINKS" +INSTALL=/usr/gnu/bin/install +NM=nm-p +M4=/usr/gnu/bin/m4 +if [ "$1" = "-g" ] +then + CC="gcc -D_REENTRANT" + CXX="g++ -D_REENTRANT" + CFLAGS="$CFLAGS -Wall" +else + CC="cc -Kpthread -Kalloca" + CXX="CC -Kpthread -Kalloca" +fi +export CC CXX CFLAGS NM M4 INSTALL +ac_cv_type_struct_sockaddr_in6=no +export ac_cv_type_struct_sockaddr_in6 + +DEBUG= +#DEBUG="--enable-cassert --enable-debug" +rm -f mout-configure +./configure --prefix=/usr --disable-rpath --with-perl $DEBUG \ + --with-tcl --with-tk --with-tclconfig=/usr/gnu/lib \ + --without-python --with-readline \ + --with-openssl --sysconfdir=/etc/sysconfig/pgsql \ + --with-includes=/usr/include/heimdal \ + --datadir=/usr/share/postgresql \ + --with-docdir=/usr/share/doc/packages \ + --without-gnu-ld --without-pam --with-krb5 \ + --host=$HOST --target=$HOST --build=$HOST 2>&1 | tee mout-configure + +gmake all 2>&1 | tee mout +gmake -C contrib all 2>&1 | tee mout-contrib +gmake -C contrib/xml2 all 2>&1 | tee mout-contrib.xml2 + +# Have to hack makefile to put correct path into tutorial scripts +sed "s|C=\`pwd\`;|C=/usr/lib/postgresql/tutorial;|" < src/tutorial/Makefile > src/tutorial/GNUmakefile +gmake -C src/tutorial NO_PGXS=1 all 2>&1 | tee mout-tutorial +rm -f src/tutorial/GNUmakefile