You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-forensics/memdump/files/memdump-1.01-linux3.patch

25 lines
651 B

--- memdump-1.01.orig/makedefs
+++ memdump-1.01/makedefs
@@ -30,9 +30,7 @@
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="-DLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
;;
*) echo unsupported system: $SYSTEM.$RELEASE 1>&2; exit 1
;;
--- memdump-1.01.orig/memdump.c
+++ memdump-1.01/memdump.c
@@ -118,7 +118,7 @@
#define SUPPORTED
#endif
-#ifdef LINUX2
+#ifdef LINUX
#include <paths.h>
#define GETPAGESIZE getpagesize
#define SUPPORTED