aboutsummaryrefslogtreecommitdiffstats
path: root/testing/memdump/02-linux3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/memdump/02-linux3.patch')
-rw-r--r--testing/memdump/02-linux3.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/memdump/02-linux3.patch b/testing/memdump/02-linux3.patch
new file mode 100644
index 0000000000..e40ba8eeef
--- /dev/null
+++ b/testing/memdump/02-linux3.patch
@@ -0,0 +1,30 @@
+Description: Support all Linux versions
+ The Makefile defines different compile time options depending on the
+ current kernel version. When written, the 2.4 kernel was special
+ cased as a very recent kernel. Now it should be really handled as
+ the default case... and the old default case for pre-2.4 kernel
+ can be dropped.
+ .
+ This is what this patch does. Since upstream is dead, this patch
+ can't be forwarded anywhere.
+Author: Raphaƫl Hertzog <hertzog@debian.org>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2015-07-28
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: memdump/makedefs
+===================================================================
+--- memdump.orig/makedefs
++++ memdump/makedefs
+@@ -30,9 +30,7 @@ SunOS.5.[0-5]*) DEFS="-DSUNOS5 -DUSE_PRE
+ SunOS.5*) DEFS="-DSUNOS5 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+ RANLIB=":"
+ ;;
+- Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+- ;;
+- Linux.2*) DEFS="-DLINUX2"
++ Linux.*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+ ;;
+ GNU*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+ ;;