Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11954/10.4/stable/main/finkinfo/libs

Modified Files:
        libdvdnav2.info 
Added Files:
        libdvdnav2.patch 
Log Message:
fix endian issue

--- NEW FILE: libdvdnav2.patch ---
diff -ru libdvdnav-0.1.10.orig/src/dvdread/bswap.h 
libdvdnav-0.1.10/src/dvdread/bswap.h
--- libdvdnav-0.1.10.orig/src/dvdread/bswap.h   2004-01-11 16:43:13.000000000 
-0500
+++ libdvdnav-0.1.10/src/dvdread/bswap.h        2006-03-02 20:38:09.000000000 
-0500
@@ -84,6 +84,12 @@
       (((x) & 0x000000000000ff00) << 40) | \
       (((x) & 0x00000000000000ff) << 56))
 
+#elif defined(__APPLE__)
+#include <libkern/OSByteOrder.h>
+#define B2N_16(x) x = OSSwapInt16(x)
+#define B2N_32(x) x = OSSwapInt32(x)
+#define B2N_64(x) x = OSSwapInt64(x)
+
 #else
 
 /* If there isn't a header provided with your system with this functionality

Index: libdvdnav2.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs/libdvdnav2.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libdvdnav2.info     20 Jan 2006 20:12:55 -0000      1.1
+++ libdvdnav2.info     19 Mar 2006 22:29:26 -0000      1.2
@@ -1,6 +1,6 @@
 Package: libdvdnav2
 Version: 0.1.10
-Revision: 1
+Revision: 2
 ###
 Depends: libdvdread4-shlibs, %N-shlibs (= %v-%r)
 BuildDepends: doxygen, libdvdread4, libdvdcss
@@ -10,6 +10,7 @@
 ###
 Source: mirror:sourceforge:dvd/libdvdnav-%v.tar.gz
 Source-MD5: c8ddee96ba1182d73447eaf0bb6fde81
+Patch: %n.patch
 ###
 SetCPPFLAGS: -no-cpp-precomp
 ###



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to