From 43badb79776ed890bee69ef534c04656e95db0c8 Mon Sep 17 00:00:00 2001 From: pav Date: Tue, 30 Aug 2005 19:03:11 +0000 Subject: - Fix build on FreeBSD 7 PR: ports/85496 Submitted by: Jonathan (maintainer) --- sysutils/memdump/files/patch-makedefs | 4 +++- sysutils/memdump/files/patch-memdump.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'sysutils/memdump') diff --git a/sysutils/memdump/files/patch-makedefs b/sysutils/memdump/files/patch-makedefs index 049090df88f7..4cc519291954 100644 --- a/sysutils/memdump/files/patch-makedefs +++ b/sysutils/memdump/files/patch-makedefs @@ -1,12 +1,14 @@ --- makedefs.orig Sun Feb 20 15:41:41 2005 +++ makedefs Sun Feb 20 15:42:41 2005 -@@ -8,6 +8,10 @@ +@@ -8,6 +8,12 @@ ;; FreeBSD.4*) DEFS="-DFREEBSD4" ;; + FreeBSD.5*) DEFS="-DFREEBSD5" + ;; + FreeBSD.6*) DEFS="-DFREEBSD6" ++ ;; ++ FreeBSD.7*) DEFS="-DFREEBSD7" + ;; OpenBSD.2*) DEFS="-DOPENBSD2" ;; diff --git a/sysutils/memdump/files/patch-memdump.c b/sysutils/memdump/files/patch-memdump.c index 018aa732934d..cb3c1f3ecd20 100644 --- a/sysutils/memdump/files/patch-memdump.c +++ b/sysutils/memdump/files/patch-memdump.c @@ -186,7 +186,7 @@ #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ - || defined(FREEBSD5) \ -+ || defined(FREEBSD5) || defined(FREEBSD6) \ ++ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ || defined(OPENBSD2) || defined(OPENBSD3) \ || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) #include @@ -195,7 +195,7 @@ #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ - || defined(FREEBSD5) \ -+ || defined(FREEBSD5) || defined(FREEBSD6) \ ++ || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ || defined(OPENBSD2) || defined(OPENBSD3) int name[] = {CTL_HW, HW_PHYSMEM}; size_t len; -- cgit