ports/85496: Update sysutils/memdump for FreeBSD 7
Jonathan
afarsec at 012.net.il
Tue Aug 30 18:50:21 UTC 2005
>Number: 85496
>Category: ports
>Synopsis: Update sysutils/memdump for FreeBSD 7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 30 18:50:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jonathan
>Release: FreeBSD 6.0-BETA3 i386
>Organization:
mmm, yea
>Environment:
System: FreeBSD unicorn.evil 6.0-BETA3 FreeBSD 6.0-BETA3 #3: Fri Aug 26 09:52:07 IDT 2005 root at server.afarsec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Adapt the patches to FreeBSD7.
I can't test the functionality of this port on FreeBSD 7, so please do it for me thankyouverymuch.
>How-To-Repeat:
two ways:
try to build on FreeBSD 7, see "Unsupported system: FreeBSD.7.0-CURRENT".
or read pointyhat logs. :)
>Fix:
--- memdump-for-FreeBSD7.diff begins here ---
diff -urN memdump.orig/files/patch-makedefs memdump/files/patch-makedefs
--- memdump.orig/files/patch-makedefs Sun Feb 20 19:03:31 2005
+++ memdump/files/patch-makedefs Tue Aug 30 21:24:18 2005
@@ -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 -urN memdump.orig/files/patch-memdump.c memdump/files/patch-memdump.c
--- memdump.orig/files/patch-memdump.c Sun Feb 20 19:03:31 2005
+++ memdump/files/patch-memdump.c Tue Aug 30 21:23:21 2005
@@ -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 <sys/param.h>
@@ -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;
--- memdump-for-FreeBSD7.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list