1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Fix build on FreeBSD 7 and later.

Approved by:	portmgr (pav)
This commit is contained in:
Max Khon 2007-11-14 04:57:15 +00:00
parent 0e323fc402
commit a0319a48de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202695
2 changed files with 12 additions and 4 deletions

View File

@ -21,10 +21,6 @@ MAN1= rexx.1 rexxc.1 rxmigrate.1 rxsubcom.1 rxqueue.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
.if ${ARCH} != "i386"
BROKEN= Does not compile on !i386
.endif

View File

@ -0,0 +1,12 @@
--- rexxapi/RexxAPIManager.cpp.orig 2007-11-14 03:31:03.000000000 +0600
+++ rexxapi/RexxAPIManager.cpp 2007-11-14 03:32:26.000000000 +0600
@@ -108,6 +108,9 @@
#include <signal.h>
#include <limits.h>
#endif
+#if defined(__FreeBSD__)
+#include <limits.h>
+#endif
/* #if defined(LINUX) && !defined(OPSYS_SUN) */
/* #include <bits/posix1_lim.h> */
/* #endif */