HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #548

Ticket #548: db-4.8.30.patch

File db-4.8.30.patch, 2.5 KB (added by martinhpedersen, 4 years ago)
  • dist/Makefile.in

    diff -Naur db-4.8.30/dist/Makefile.in db-4.8.30-haiku/dist/Makefile.in
    old new  
    1111bindir= @bindir@ 
    1212includedir=@includedir@ 
    1313libdir= @libdir@ 
    14 docdir= $(prefix)/docs 
     14docdir= @docdir@ 
    1515 
    1616dmode=  755 
    1717emode=  555 
  • dist/configure

    diff -Naur db-4.8.30/dist/configure db-4.8.30-haiku/dist/configure
    old new  
    45334533        CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE";; 
    45344534mpeix*) CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE -D_SOCKET_SOURCE" 
    45354535        LIBSO_LIBS="$LIBSO_LIBS -lsocket -lsvipc";; 
     4536haiku*) 
     4537        LIBSO_LIBS="$LIBSO_LIBS -lnetwork";; 
    45364538osf*)   CPPFLAGS="$CPPFLAGS -pthread";; 
    45374539*qnx*)  qnx_build="yes" 
    45384540        $as_echo "#define HAVE_QNX 1" >>confdefs.h 
  • dist/configure.ac

    diff -Naur db-4.8.30/dist/configure.ac db-4.8.30-haiku/dist/configure.ac
    old new  
    190190        AH_TEMPLATE(HAVE_QNX, [Define to 1 if building on QNX.]);; 
    191191solaris*) 
    192192        CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS ";; 
     193haiku*) 
     194        LIBSO_LIBS="$LIBSO_LIBS -lnetwork";; 
    193195esac 
    194196 
    195197# If the user wants a debugging environment, change any compiler optimization 
    … …  
    519521# The Berkeley DB library calls fdatasync, only available in -lrt on Solaris. 
    520522AC_SEARCH_LIBS(fdatasync, rt) 
    521523 
     524# socket only available in -lnetwork on Haiku 
     525AC_SEARCH_LIBS(socket, network) 
     526 
    522527AC_SEARCH_LIBS(getaddrinfo, nsl socket) 
    523528AC_SEARCH_LIBS(hstrerror, resolv) 
    524529 
  • repmgr/repmgr_posix.c

    diff -Naur db-4.8.30/repmgr/repmgr_posix.c db-4.8.30-haiku/repmgr/repmgr_posix.c
    old new  
    488488 * PUBLIC: int __repmgr_writev __P((socket_t, db_iovec_t *, int, size_t *)); 
    489489 */ 
    490490int 
    491 __repmgr_writev(fd, iovec, buf_count, byte_count_p) 
    492         socket_t fd; 
    493         db_iovec_t *iovec; 
    494         int buf_count; 
    495         size_t *byte_count_p; 
     491__repmgr_writev(socket_t fd, db_iovec_t *iovec, int buf_count, size_t *byte_count_p) 
    496492{ 
    497493        int nw; 
    498494 
    … …  
    506502 * PUBLIC: int __repmgr_readv __P((socket_t, db_iovec_t *, int, size_t *)); 
    507503 */ 
    508504int 
    509 __repmgr_readv(fd, iovec, buf_count, byte_count_p) 
    510         socket_t fd; 
    511         db_iovec_t *iovec; 
    512         int buf_count; 
    513         size_t *byte_count_p; 
     505__repmgr_readv(socket_t fd, db_iovec_t *iovec, int buf_count, size_t *byte_count_p) 
    514506{ 
    515507        ssize_t nw; 
    516508 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/