shithub: libdvdcss

Download patch

ref: 7ea7bf9864f3599e7255bcb981920305b8122b33
parent: 3db91bb4dae32e2f639dcab6e9844482434ce520
author: Sam Hocevar <[email protected]>
date: Sat Mar 9 12:16:44 EST 2002

* Fixed compilation of test/test.c.


--- a/configure
+++ b/configure
@@ -6112,7 +6112,7 @@
 done
 
 
-CFLAGS="-D_LARGEFILE64_SOURCE $CFLAGS"
+CFLAGS="-D_LARGEFILE64_SOURCE -DDVDCSS_DIST $CFLAGS"
 
 
 
--- a/configure.in
+++ b/configure.in
@@ -168,7 +168,7 @@
   fi
 ])
 
-CFLAGS="-D_LARGEFILE64_SOURCE $CFLAGS"
+CFLAGS="-D_LARGEFILE64_SOURCE -DDVDCSS_DIST $CFLAGS"
 
 AC_SUBST(EXTRA_SRC)
 AC_SUBST(EXTRA_LIB)
--- a/test/test.c
+++ b/test/test.c
@@ -7,7 +7,7 @@
 
 #include <stdlib.h>
 
-#ifdef DVBPSI_DIST
+#ifdef DVDCSS_DIST
 #include "../src/dvdcss.h"
 #else
 #include <videolan/dvdcss.h>