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

Context Navigation

  • Back to app-office/lyx/2.0.0

app-office/lyx/2.0.0: lyx-2.0.0.patch

File lyx-2.0.0.patch, 1.0 KB (added by michaelvoliveira, 4 years ago)

Patch to add libnetwork and some missing headers

  • configure.ac

    diff -Naur lyx-2.0.0/configure.ac lyx-2.0.0-haiku/configure.ac
    old new  
    200200LIBS= 
    201201AC_CHECK_FUNCS(fcntl, 
    202202  [AC_SEARCH_LIBS([gethostbyname], [nsl]) 
    203    AC_SEARCH_LIBS([socket], [socket], [], 
    204      [AC_CHECK_LIB([socket], [socket], [LIBS="-lsocket -lnsl $LIBS"], 
     203   AC_SEARCH_LIBS([socket], [socket network], [], 
     204     [AC_CHECK_LIB([socket], [socket network], [LIBS="-lsocket -lnsl -lnetwork $LIBS"], 
    205205                [], [-lnsl])])], 
    206206  [lyx_client_subdir=false]) 
    207207AC_SUBST(SOCKET_LIBS,$LIBS) 
  • src/ServerSocket.cpp

    diff -Naur lyx-2.0.0/src/ServerSocket.cpp lyx-2.0.0-haiku/src/ServerSocket.cpp
    old new  
    3131#include "support/bind.h" 
    3232 
    3333#include <cerrno> 
     34#ifdef HAVE_SYS_STAT_H 
     35# include <sys/stat.h> 
     36#endif 
     37#include <fcntl.h> 
    3438#include <ostream> 
    3539 
    3640#if defined (_WIN32) 

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/