shithub: libdvdcss

Download patch

ref: ce5ffc6fe913e0720a7c8fed716990a5af4ee4c3
parent: 061ebba29b2c295d9a2c160077293e09ddd96c19
author: Håkan Hjort <d95hjort@dtek.chalmers.se>
date: Sat Mar 9 12:35:49 EST 2002

Add -D_FILE_OFFSET_BITS=64 to the compile line to make off_t / lseek and
other file access functions used in dvdcss be 64bit.


--- a/configure.in
+++ b/configure.in
@@ -168,7 +168,7 @@
   fi
 ])
 
-CFLAGS="-D_LARGEFILE64_SOURCE -DDVDCSS_DIST $CFLAGS"
+CFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DDVDCSS_DIST $CFLAGS"
 
 AC_SUBST(EXTRA_SRC)
 AC_SUBST(EXTRA_LIB)