summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libdownload/largefiles.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/libdownload/largefiles.patch')
-rw-r--r--abs/core-testing/libdownload/largefiles.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core-testing/libdownload/largefiles.patch b/abs/core-testing/libdownload/largefiles.patch
new file mode 100644
index 0000000..7b10a4c
--- /dev/null
+++ b/abs/core-testing/libdownload/largefiles.patch
@@ -0,0 +1,12 @@
+diff -u libdownload-1.1/Makefile libdownload-1.1-new/Makefile
+--- libdownload-1.1/Makefile 2006-11-17 10:19:53.000000000 -0500
++++ libdownload-1.1-new/Makefile 2007-08-17 19:53:21.000000000 -0400
+@@ -3,7 +3,7 @@
+ DEBUG = true
+ ENABLE_HTTPS = true
+
+-CFLAGS = -O2 -pipe -I. -DINET6 -D_GNU_SOURCE
++CFLAGS = -O2 -pipe -I. -DINET6 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
+ WARNINGS = -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts \
+ -Wpointer-arith -Wcast-align -Wsign-compare
+ CFLAGS += $(WARNINGS)