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

Context Navigation

  • Back to Ticket #330

Ticket #330: libx11-1.3.3.patch

File libx11-1.3.3.patch, 1.1 KB (added by michaelvoliveira, 5 years ago)

Initial .patch file

  • configure.ac

    diff -Naur libX11-1.3.3/configure.ac libX11-1.3.3-haiku/configure.ac
    old new  
    189189# Checks for typedefs, structures, and compiler characteristics. 
    190190 
    191191# Checks for library functions. 
     192AC_SEARCH_LIBS(issetugid, [bsd]) 
     193AC_SEARCH_LIBS(getresuid, [bsd]) 
     194 
    192195AC_CHECK_FUNCS([strtol]) 
    193196# Used in lcFile.c (see also --enable-xlocaledir settings below) 
    194197XLOCALEDIR_IS_SAFE="no" 
    … …  
    229232              [xthreads=$enableval],[xthreads=yes]) 
    230233 
    231234AC_CHECK_LIB(c, getpwuid_r, [mtsafeapi="yes"], [mtsafeapi="no"]) 
     235if test "x$mtsafeapi" = xno; then 
     236        AC_CHECK_LIB(root, getpwuid_r, [mtsafeapi="yes"], [mtsafeapi="no"]) 
     237fi 
    232238 
    233239case x$xthreads in 
    234240xyes) 
    … …  
    242248        ;; 
    243249esac 
    244250 
    245 AC_CHECK_LIB(c, pthread_self, [thrstubs="no"], [thrstubs="yes"]) 
     251AC_CHECK_LIB(c, pthread_self, [thrstubs="no"], [ 
     252        AC_CHECK_LIB(root, pthread_self, [thrstubs="no"], [thrstubs="yes"]) 
     253]) 
    246254AM_CONDITIONAL(THRSTUBS, test x$thrstubs = xyes) 
    247255 
    248256dnl XXX incomplete, please fill this in 

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/