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

Context Navigation

  • Back to Ticket #330

Ticket #330: xproto-7.0.16.patch

File xproto-7.0.16.patch, 1.5 KB (added by michaelvoliveira, 5 years ago)

Patch based in a Kaliber port for TiltOS

  • xproto-7.0.

    diff -Naur xproto-7.0.16/Xos_r.h xproto-7.0.16-haiku/Xos_r.h
    old new  
    8888# endif 
    8989#endif /* _XOS_R_H */ 
    9090 
     91#ifdef __HAIKU__ 
     92#define _POSIX_THREAD_SAFE_FUNCTIONS 
     93#endif 
     94 
    9195#ifndef WIN32 
    9296 
    9397#ifdef __cplusplus 
  • configure.ac

    diff -Naur xproto-7.0.16/configure.ac xproto-7.0.16-haiku/configure.ac
    old new  
    9090fi 
    9191 
    9292if test "x$fds_bits_found" = xfalse ; then 
     93AC_CHECK_MEMBER(fd_set.bits, 
     94                        [ 
     95                            fds_bits_found=plain_simple 
     96                            USE_FDS_BITS="bits" 
     97                        ],, 
     98                        [ 
     99                               #ifdef HAVE_SYS_PARAM_H 
     100                               #include <sys/param.h> 
     101                               #endif 
     102                               #ifdef HAVE_SYS_TYPES_H 
     103                               #include <sys/types.h> 
     104                               #endif 
     105                               #ifdef HAVE_SYS_TIME_H 
     106                               #include <sys/time.h> 
     107                               #endif 
     108                               #ifdef HAVE_SYS_SELECT_H 
     109                               #include <sys/select.h> 
     110                               #endif 
     111                        ]) 
     112fi 
     113 
     114if test "x$fds_bits_found" = xfalse ; then 
    93115    AC_MSG_ERROR([Could not determine how to access the fds_bits or equivalent 
    94116                  structure in fd_set on your platform.]) 
    95117fi 

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/