aboutsummaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2009-04-28 20:15:24 +0000
committerVasil Dimov <vd@FreeBSD.org>2009-04-28 20:15:24 +0000
commitcc2e473f2de7f62d6612b9089d6ed939ec704c7a (patch)
tree0a36724ceade1e9850fb2beef61062d6c0922795 /devel/pth
parentef9b9d33c6e07e5d6d4cd07c59f8879a3a8ce981 (diff)
downloadports-cc2e473f2de7f62d6612b9089d6ed939ec704c7a.tar.gz
ports-cc2e473f2de7f62d6612b9089d6ed939ec704c7a.zip
Notes
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/files/patch-pth_p.h.in20
1 files changed, 13 insertions, 7 deletions
diff --git a/devel/pth/files/patch-pth_p.h.in b/devel/pth/files/patch-pth_p.h.in
index 9b8341fcb8e1..e127154c517a 100644
--- a/devel/pth/files/patch-pth_p.h.in
+++ b/devel/pth/files/patch-pth_p.h.in
@@ -1,13 +1,19 @@
---- pth_p.h.in.orig 2009-04-12 21:27:26.000000000 +0300
-+++ pth_p.h.in 2009-04-12 21:38:56.000000000 +0300
-@@ -32,7 +32,10 @@
+--- pth_p.h.in.orig 2006-06-08 20:54:03.000000000 +0300
++++ pth_p.h.in 2009-04-28 23:06:45.000000000 +0300
+@@ -32,7 +32,15 @@
#include <stdarg.h>
#include <string.h>
#include <setjmp.h>
-+#if !(defined(__FreeBSD__) && __FreeBSD_version >= 800070)
-+/* See http://www.freebsd.org/cgi/query-pr.cgi?pr=132828 */
- #include <signal.h>
-+#endif /* FreeBSD */
+-#include <signal.h>
++#ifdef __FreeBSD__
++# include <osreldate.h>
++# if __FreeBSD_version < 800070
++ /* See http://www.freebsd.org/cgi/query-pr.cgi?pr=132828 */
++# include <signal.h>
++# endif /* __FreeBSD_version */
++#else /* __FreeBSD__ */
++# include <signal.h>
++#endif /* __FreeBSD__ */
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>