fix build on OpenBSD 3.0; Kai Gallasch <kai@adminhell.org>
This commit is contained in:
parent
1d0a75e12a
commit
54fe1fb1a0
11
mail/postfix/snapshot/patches/patch-makedefs
Normal file
11
mail/postfix/snapshot/patches/patch-makedefs
Normal file
@ -0,0 +1,11 @@
|
||||
--- makedefs.orig Tue Feb 20 01:18:32 2001
|
||||
+++ makedefs Sat Sep 15 00:11:58 2001
|
||||
@@ -93,6 +93,8 @@
|
||||
;;
|
||||
OpenBSD.2*) SYSTYPE=OPENBSD2
|
||||
;;
|
||||
+ OpenBSD.3*) SYSTYPE=OPENBSD3
|
||||
+ ;;
|
||||
NetBSD.1*) SYSTYPE=NETBSD1
|
||||
;;
|
||||
BSD/OS.2*) SYSTYPE=BSDI2
|
20
mail/postfix/snapshot/patches/patch-sys_defs.h
Normal file
20
mail/postfix/snapshot/patches/patch-sys_defs.h
Normal file
@ -0,0 +1,20 @@
|
||||
--- sys_defs.h.orig Sat Sep 15 00:38:11 2001
|
||||
+++ src/util/sys_defs.h Sat Sep 15 00:40:13 2001
|
||||
@@ -26,7 +26,7 @@
|
||||
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|
||||
|| defined(FREEBSD5) \
|
||||
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|
||||
- || defined(OPENBSD2) || defined(NETBSD1)
|
||||
+ || defined(OPENBSD2) || defined(OPENBSD3) || defined(NETBSD1)
|
||||
#define SUPPORTED
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@@ -58,7 +58,7 @@
|
||||
#define HAS_DUPLEX_PIPE
|
||||
#endif
|
||||
|
||||
-#if defined(OPENBSD2) || defined(FREEBSD3) || defined(FREEBSD4)
|
||||
+#if defined(OPENBSD2) || defined(OPENBSD3) || defined(FREEBSD3) || defined(FREEBSD4)
|
||||
#define HAS_ISSETUGID
|
||||
#endif
|
||||
|
11
mail/postfix/stable/patches/patch-makedefs
Normal file
11
mail/postfix/stable/patches/patch-makedefs
Normal file
@ -0,0 +1,11 @@
|
||||
--- makedefs.orig Tue Feb 20 01:18:32 2001
|
||||
+++ makedefs Sat Sep 15 00:11:58 2001
|
||||
@@ -93,6 +93,8 @@
|
||||
;;
|
||||
OpenBSD.2*) SYSTYPE=OPENBSD2
|
||||
;;
|
||||
+ OpenBSD.3*) SYSTYPE=OPENBSD3
|
||||
+ ;;
|
||||
NetBSD.1*) SYSTYPE=NETBSD1
|
||||
;;
|
||||
BSD/OS.2*) SYSTYPE=BSDI2
|
20
mail/postfix/stable/patches/patch-sys_defs.h
Normal file
20
mail/postfix/stable/patches/patch-sys_defs.h
Normal file
@ -0,0 +1,20 @@
|
||||
--- sys_defs.h.orig Sat Sep 15 00:38:11 2001
|
||||
+++ src/util/sys_defs.h Sat Sep 15 00:40:13 2001
|
||||
@@ -26,7 +26,7 @@
|
||||
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|
||||
|| defined(FREEBSD5) \
|
||||
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|
||||
- || defined(OPENBSD2) || defined(NETBSD1)
|
||||
+ || defined(OPENBSD2) || defined(OPENBSD3) || defined(NETBSD1)
|
||||
#define SUPPORTED
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@@ -58,7 +58,7 @@
|
||||
#define HAS_DUPLEX_PIPE
|
||||
#endif
|
||||
|
||||
-#if defined(OPENBSD2) || defined(FREEBSD3) || defined(FREEBSD4)
|
||||
+#if defined(OPENBSD2) || defined(OPENBSD3) || defined(FREEBSD3) || defined(FREEBSD4)
|
||||
#define HAS_ISSETUGID
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user