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

Context Navigation

  • Back to games-strategy/freeciv/2.2.2

games-strategy/freeciv/2.2.2: freeciv-2.2.2.patch

File freeciv-2.2.2.patch, 1.5 KB (added by michaelvoliveira, 5 years ago)

patch to allow autogen, detect libnetwork and remove _setjmp from lua

  • freeciv-2.2.

    diff -Naur freeciv-2.2.2/autogen.sh freeciv-2.2.2-haiku/autogen.sh
    old new  
    215215  fi 
    216216} 
    217217 
    218 # Chdir to the srcdir, then run auto* tools. 
    219 cd $SRCDIR 
    220  
    221 [ -f $srcfile ] || { 
    222   echo "Are you sure $SRCDIR is a valid source directory?" 
    223   exit 1 
    224 } 
    225  
    226218# Check against acinclude.m4, which earlier versions used to generate. 
    227219[ -f acinclude.m4 ] && { 
    228220  echo "There is file acinclude.m4 in source directory." 
  • configure.ac

    diff -Naur freeciv-2.2.2/configure.ac freeciv-2.2.2-haiku/configure.ac
    old new  
    788788  AC_CHECK_LIB(nsl, gethostbyname, LIBS="-lnsl $LIBS") 
    789789fi 
    790790if test $ac_cv_func_connect = no; then 
    791   AC_CHECK_LIB(socket, connect, LIBS="-lsocket $LIBS") 
     791  AC_CHECK_LIB(network, connect, LIBS="-lnetwork $LIBS") 
    792792fi 
    793793if test $ac_cv_func_bind = no; then 
    794794  AC_CHECK_LIB(bind, gethostbyaddr, LIBS="-lbind $LIBS") 
  • dependencies/lua-5.1/src/localluaconf.h

    diff -Naur freeciv-2.2.2/dependencies/lua-5.1/src/localluaconf.h freeciv-2.2.2-haiku/dependencies/lua-5.1/src/localluaconf.h
    old new  
    2626#ifdef HAVE_POPEN 
    2727#define LUA_USE_POPEN 
    2828#endif 
    29 #ifdef HAVE__LONGJMP 
    30 #define LUA_USE_ULONGJMP 
    31 #endif 
    3229 
    3330#endif /* FC__LOCALLUACONF_H */ 

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/