Files
haikuports/media-libs/libdvdread/patches/libdvdread-svn1168.patch
2013-03-29 14:04:07 +00:00

27 lines
1.0 KiB
Diff

Index: libdvdread/src/bswap.h
===================================================================
--- libdvdread/src/bswap.h (revision 1168)
+++ libdvdread/src/bswap.h (working copy)
@@ -73,7 +73,7 @@
* functionality!
*/
-#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__OS2__)
+#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__HAIKU__) || defined(__OS2__)
#define B2N_16(x) \
x = ((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8))
Index: configure.ac
===================================================================
--- libdvdread/configure.ac (revision 1168)
+++ libdvdread/configure.ac (working copy)
@@ -148,6 +148,8 @@
*os2*)
LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
;;
+ *haiku*)
+ ;;
*)
AC_CHECK_LIB(c, dlopen,
DYNAMIC_LD_LIBS="",