hp-ux_socket.patch

application/octet-stream

Filename: hp-ux_socket.patch
Type: application/octet-stream
Part: 0
Message: PostgreSQL X/Open Socket / BSD Socket Issue on HP-UX

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/makefiles/Makefile.hpux 1 1
src/template/hpux 1 1
*** src/makefiles/Makefile.hpux.org	2011-09-20 09:30:01 -0600
--- src/makefiles/Makefile.hpux	2011-09-20 08:46:07 -0600
***************
*** 8,14 ****
  # Using X/Open Networking Interfaces requires to link with libxnet.
  # Without specifying this, bind(), getpeername() and so on don't work
  # correctly in the LP64 data model.
! LIBS := -lxnet $(LIBS)
  
  # Set up rpath so that the executables don't need SHLIB_PATH to be set.
  # (Note: --disable-rpath is a really bad idea on this platform...)
--- 8,14 ----
  # _HPUX_ALT_XOPEN_SOCKET_API requires linking with c library .
! LIBS := -lc $(LIBS)
  
  # Set up rpath so that the executables don't need SHLIB_PATH to be set.
  # (Note: --disable-rpath is a really bad idea on this platform...)
*** src/template/hpux.org	2011-09-20 09:27:44 -0600
--- src/template/hpux	2011-09-20 08:50:03 -0600
***************
*** 1,6 ****
  # src/template/hpux
  
! CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
  
  if test "$GCC" != yes ; then
    CC="$CC -Ae"
--- 1,6 ----
  # src/template/hpux
  
! CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600 -D_HPUX_ALT_XOPEN_SOCKET_API"
  
  if test "$GCC" != yes ; then
    CC="$CC -Ae"