kumquat-buildroot/package/wipe/0001-dont-force-lfs.patch

17 lines
688 B
Diff
Raw Normal View History

LARGEFILE support shouldn't be forced into CFLAGS
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura wipe-2.3.1/configure.in wipe-2.3.1-lfs/configure.in
--- wipe-2.3.1/configure.in 2009-06-15 22:55:11.000000000 -0300
+++ wipe-2.3.1-lfs/configure.in 2012-03-05 11:25:30.463221948 -0300
@@ -91,7 +91,7 @@
test "$with_efence" = "yes" && temp2CFLAGS="$debugCFLAGS" && LIBS="-lefence"
DEBUG="$debugCFLAGS $fullCFLAGS"
-fullCFLAGS="$temp2CFLAGS $fullCFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+fullCFLAGS="$temp2CFLAGS $fullCFLAGS"
CFLAGS="$checkCFLAGS -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES"
dnl Checks for libraries.