libdvdnav stable port information

Package: libdvdnav
Version: 0.1.10
Revision: 14
###
Depends: %N4-shlibs (= %v-%r)
BuildDepends: doxygen, fink (>= 0.24.12-1), libdvdread.3
BuildDependsOnly: true
Conflicts: libdvdnav1, libdvdnav2 (<= 0.1.10-1)
Replaces: libdvdnav1, libdvdnav2 (<= 0.1.10-1)
###
Source: mirror:sourceforge:dvd/libdvdnav-%v.tar.gz
Source-MD5: c8ddee96ba1182d73447eaf0bb6fde81
# Patch enables building on Intel
PatchFile: %n.patch
PatchFile-MD5: 54f4a2f15a2103100a07c741eacdbccb
###
ConfigureParams: --with-pic --enable-shared --enable-static --mandir=%i/share/man --infodir=%p/share/info --libexecdir=%p/lib
###
NoSetLDFLAGS: true
DocFiles: COPYING README
###
SplitOff: <<
Package: %N4-shlibs
Depends: libdvdread.3-shlibs
Conflicts: libdvdnav1-shlibs
Replaces: libdvdnav1-shlibs, libdvdnav2-shlibs (<= 0.1.10-1)
Files: <<
lib/libdvdnav.*.dylib
<<
Shlibs: <<
%p/lib/libdvdnav.4.dylib 5.0.0 libdvdnav4-shlibs (>= 0.1.10-10)
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
<<
###
Description: DVD navigation Library based on Ogle-code
DescDetail: <<
This library is based on Ogle-code, but will be rewritten in the time
comming. It's hosted on http://dvd.sourceforge.net/. Please report bugs
to the developers mailinglist at mailto:dvd-devel@lists.sourceforge.net

The library is currently used by the following projects:
menu - A simple example program to demonstrate some features
xine-dvdnav - A full-featuted DVD plugin for xine
<<
DescPackaging: <<
Make sure installed .m4 goes in correct place
<<
###
License: GPL
Maintainer: Justin F. Hallett
Homepage: http://dvd.sourceforge.net/

libdvdnav stable port .patch

diff -ru libdvdnav-0.1.10.orig/configure libdvdnav-0.1.10/configure
--- libdvdnav-0.1.10.orig/configure 2004-06-10 17:13:17.000000000 -0400
+++ libdvdnav-0.1.10/configure 2008-04-22 10:55:11.000000000 -0400
@@ -21464,7 +21464,7 @@



-case "`id`" in
+case dontmatch in
uid=0\(* )
echo "$as_me:$LINENO: checking for aclocal directory" >&5
echo $ECHO_N "checking for aclocal directory... $ECHO_C" >&6
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
+#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

libdvdnav _unstable_ port .patch