aboutsummaryrefslogtreecommitdiffstats
path: root/testing/memdump/02-linux3.patch
blob: e40ba8eeef84008bc76f3e8884b86159a0c87c45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
 		;;