Initial .bep file for libdvdread, moved patch to patches sub-dir and fix libdvdnav .bep to use the right build steps.

This commit is contained in:
Scott McCreary
2009-11-10 06:40:03 +00:00
parent d206f3bc99
commit 48387e3c5b
3 changed files with 18 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
diff -urN libdvdread-4.1.3/configure.ac libdvdread-4.1.3-haiku/configure.ac
--- libdvdread-4.1.3/configure.ac 2009-02-19 08:11:30.000000000 +0000
+++ libdvdread-4.1.3-haiku/configure.ac 2009-02-19 08:03:55.000000000 +0000
@@ -145,6 +145,8 @@
*cygwin*)
LDFLAGS="-no-undefined $LDFLAGS"
;;
+ *haiku*)
+ ;;
*)
AC_CHECK_LIB(c, dlopen,
DYNAMIC_LD_LIBS="",
diff -urN libdvdread-4.1.3/src/bswap.h libdvdread-4.1.3-haiku/src/bswap.h
--- libdvdread-4.1.3/src/bswap.h 2009-02-19 08:11:31.000000000 +0000
+++ libdvdread-4.1.3-haiku/src/bswap.h 2009-02-19 08:09:28.000000000 +0000
@@ -71,7 +71,7 @@
* functionality!
*/
-#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__)
+#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__) || defined(__HAIKU__)
#define B2N_16(x) \
x = ((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8))