aboutsummaryrefslogtreecommitdiffstats
path: root/testing/memdump/01-hurd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/memdump/01-hurd.patch')
-rw-r--r--testing/memdump/01-hurd.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/memdump/01-hurd.patch b/testing/memdump/01-hurd.patch
new file mode 100644
index 0000000000..812e4cda87
--- /dev/null
+++ b/testing/memdump/01-hurd.patch
@@ -0,0 +1,16 @@
+Description: Fixing FTBFS on Debian GNU/Hurd (Closes: #532390).
+Author: Barry deFreese <bdefreese@debian.org>
+Last-Update: 2009-06-08
+Index: memdump/makedefs
+===================================================================
+--- memdump.orig/makedefs
++++ memdump/makedefs
+@@ -34,6 +34,8 @@ SunOS.5.[0-5]*) DEFS="-DSUNOS5 -DUSE_PRE
+ ;;
+ Linux.2*) DEFS="-DLINUX2"
+ ;;
++ GNU*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
++ ;;
+ *) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1
+ ;;
+ esac