1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00
aports/testing/memdump/02-linux3.patch
Niklas Cathor b58feaab7a testing/memdump: new aport
http://www.porcupine.org/forensics/tct.html
utility to dump memory contents to standard output
2020-04-10 09:03:15 +00:00

30 lines
1.1 KiB
Diff

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"
;;