mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
- Fix build on FreeBSD 7
PR: ports/85496 Submitted by: Jonathan <onatan@gmail.com> (maintainer)
This commit is contained in:
parent
6408422021
commit
bc10a85def
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141488
@ -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"
|
||||
;;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user