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

Context Navigation

  • Back to Ticket #592

Ticket #592: libdvdread-4.2.0.patch

File libdvdread-4.2.0.patch, 1.2 KB (added by cian, 3 years ago)
  • libdvdread-4.2.

    old new  
    148148  *os2*) 
    149149    LDFLAGS="-no-undefined -Zbin-files $LDFLAGS" 
    150150    ;; 
     151  *haiku*) 
     152        ;; 
    151153  *) 
    152154    AC_CHECK_LIB(c, dlopen, 
    153155                 DYNAMIC_LD_LIBS="", 
  • libdvdread-4.2.

    old new  
    3737#include <sys/param.h> 
    3838#endif 
    3939 
    40 #if defined(__linux__) || defined(__GLIBC__) 
     40#if defined(__linux__) || defined(__GLIBC__)  
    4141#include <byteswap.h> 
    4242#define B2N_16(x) x = bswap_16(x) 
    4343#define B2N_32(x) x = bswap_32(x) 
    … …  
    7373 * functionality! 
    7474 */ 
    7575 
    76 #elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__OS2__) 
     76#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__OS2__)|| defined(__HAIKU__) 
    7777#define B2N_16(x)                             \ 
    7878 x = ((((x) & 0xff00) >> 8) |                 \ 
    7979      (((x) & 0x00ff) << 8)) 

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/