diff options
author | miwi <miwi@FreeBSD.org> | 2007-12-13 08:06:00 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-12-13 08:06:00 +0800 |
commit | bd7512a36cb8e4bbaca01d67c82cbb256a5f6cb6 (patch) | |
tree | d871aa425d7316b0d1dd18d6ab1752b608d71a2d /sysutils | |
parent | e6d4262d6fe5c3f15e8b242bc9a9b05761349abb (diff) | |
download | freebsd-ports-gnome-bd7512a36cb8e4bbaca01d67c82cbb256a5f6cb6.tar.gz freebsd-ports-gnome-bd7512a36cb8e4bbaca01d67c82cbb256a5f6cb6.tar.zst freebsd-ports-gnome-bd7512a36cb8e4bbaca01d67c82cbb256a5f6cb6.zip |
- Fix build with 8.X
PR: 118359
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Approved by: maintainer timeout
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/memdump/Makefile | 4 | ||||
-rw-r--r-- | sysutils/memdump/files/patch-makedefs | 11 | ||||
-rw-r--r-- | sysutils/memdump/files/patch-memdump.c | 10 |
3 files changed, 22 insertions, 3 deletions
diff --git a/sysutils/memdump/Makefile b/sysutils/memdump/Makefile index ca896cec0fc3..419c7f214bec 100644 --- a/sysutils/memdump/Makefile +++ b/sysutils/memdump/Makefile @@ -13,8 +13,6 @@ MASTER_SITES= http://www.porcupine.org/forensics/ MAINTAINER= onatan@gmail.com COMMENT= Forensic utility for memory-dumping -.include <bsd.port.pre.mk> - ALL_TARGET= what PLIST_FILES= bin/memdump @@ -30,4 +28,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} . endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/memdump/files/patch-makedefs b/sysutils/memdump/files/patch-makedefs new file mode 100644 index 000000000000..c4f886a40bb5 --- /dev/null +++ b/sysutils/memdump/files/patch-makedefs @@ -0,0 +1,11 @@ +--- ./makedefs.orig 2005-08-30 23:03:40.000000000 +0000 ++++ ./makedefs 2007-11-30 18:54:11.000000000 +0000 +@@ -14,6 +14,8 @@ + ;; + FreeBSD.7*) DEFS="-DFREEBSD7" + ;; ++ FreeBSD.8*) DEFS="-DFREEBSD8" ++ ;; + OpenBSD.2*) DEFS="-DOPENBSD2" + ;; + OpenBSD.3*) DEFS="-DOPENBSD3" diff --git a/sysutils/memdump/files/patch-memdump.c b/sysutils/memdump/files/patch-memdump.c new file mode 100644 index 000000000000..7576614f8434 --- /dev/null +++ b/sysutils/memdump/files/patch-memdump.c @@ -0,0 +1,10 @@ +--- ./memdump.c.orig 2005-08-30 23:04:18.000000000 +0000 ++++ ./memdump.c 2007-11-30 18:54:11.000000000 +0000 +@@ -109,6 +109,7 @@ + + #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ + || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ ++ || defined(FREEBSD8) \ + || defined(OPENBSD2) || defined(OPENBSD3) \ + || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) + #include <sys/param.h> |