projects/aports·blob master · refs

30 lines · 1.1 KiB

1Description: Support all Linux versions
2 The Makefile defines different compile time options depending on the
3 current kernel version. When written, the 2.4 kernel was special
4 cased as a very recent kernel. Now it should be really handled as
5 the default case... and the old default case for pre-2.4 kernel
6 can be dropped.
7 .
8 This is what this patch does. Since upstream is dead, this patch
9 can't be forwarded anywhere.
10Author: Raphaël Hertzog <[email protected]>
11Origin: vendor
12Forwarded: not-needed
13Last-Update: 2015-07-28
14---
15This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
16Index: memdump/makedefs
17===================================================================
18--- memdump.orig/makedefs
19+++ memdump/makedefs
20@@ -30,9 +30,7 @@ SunOS.5.[0-5]*) DEFS="-DSUNOS5 -DUSE_PRE
21 SunOS.5*) DEFS="-DSUNOS5 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
22 RANLIB=":"
23 ;;
24- Linux.2.4*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
25- ;;
26- Linux.2*) DEFS="-DLINUX2"
27+ Linux.*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
28 ;;
29 GNU*) DEFS="-DLINUX2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
30 ;;