Recognize openbsd5, fixes the build.

Similar diff from brad, ok sthen@ giovanni@
This commit is contained in:
landry 2011-07-20 15:15:31 +00:00
parent 87742f2787
commit bec15cafd2
4 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-makedefs,v 1.5 2011/07/20 15:15:31 landry Exp $
--- makedefs.orig Wed Jul 20 08:33:44 2011
+++ makedefs Wed Jul 20 08:34:00 2011
@@ -152,6 +152,8 @@ case "$SYSTEM.$RELEASE" in
;;
OpenBSD.4*) SYSTYPE=OPENBSD4
;;
+ OpenBSD.5*) SYSTYPE=OPENBSD5
+ ;;
ekkoBSD.1*) SYSTYPE=EKKOBSD1
;;
NetBSD.1*) SYSTYPE=NETBSD1

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_util_sys_defs_h,v 1.5 2011/07/20 15:15:31 landry Exp $
--- src/util/sys_defs.h.orig Wed Jul 20 08:34:23 2011
+++ src/util/sys_defs.h Wed Jul 20 08:34:41 2011
@@ -28,6 +28,7 @@
|| defined(FREEBSD8) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
+ || defined(OPENBSD5) \
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
|| defined(NETBSD4) \
|| defined(EKKOBSD1)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-makedefs,v 1.5 2011/07/20 15:15:31 landry Exp $
--- makedefs.orig Wed Jul 20 08:31:32 2011
+++ makedefs Wed Jul 20 08:33:06 2011
@@ -152,6 +152,8 @@ case "$SYSTEM.$RELEASE" in
;;
OpenBSD.4*) SYSTYPE=OPENBSD4
;;
+ OpenBSD.5*) SYSTYPE=OPENBSD5
+ ;;
ekkoBSD.1*) SYSTYPE=EKKOBSD1
;;
NetBSD.1*) SYSTYPE=NETBSD1

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_util_sys_defs_h,v 1.3 2011/07/20 15:15:31 landry Exp $
--- src/util/sys_defs.h.orig Wed Jul 20 08:32:38 2011
+++ src/util/sys_defs.h Wed Jul 20 08:32:45 2011
@@ -28,6 +28,7 @@
|| defined(FREEBSD8) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
+ || defined(OPENBSD5) \
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
|| defined(NETBSD4) \
|| defined(EKKOBSD1)