aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pth
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2009-04-13 02:53:44 +0800
committervd <vd@FreeBSD.org>2009-04-13 02:53:44 +0800
commit993a4d75c8196e4c67071d56c69b1d469c00e718 (patch)
tree5b56454102a927abd799fe810669b4f15943825d /devel/pth
parent372d4e02dfbf0f92794502ec08a87fb7c138fb39 (diff)
downloadfreebsd-ports-gnome-993a4d75c8196e4c67071d56c69b1d469c00e718.tar.gz
freebsd-ports-gnome-993a4d75c8196e4c67071d56c69b1d469c00e718.tar.zst
freebsd-ports-gnome-993a4d75c8196e4c67071d56c69b1d469c00e718.zip
Do not include signal.h because it seems not to be necessary and its
inclusion breaks the compilation on FreeBSD 8.0. Limit this fix only to FreeBSD versions where the breakage occurs to be on the safe side. Thanks to das@, stas@, Coleman Kane, Peter Schuller and others that discussed this issue. PR: ports/132828
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/files/patch-pth_p.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/pth/files/patch-pth_p.h.in b/devel/pth/files/patch-pth_p.h.in
new file mode 100644
index 000000000000..9b8341fcb8e1
--- /dev/null
+++ b/devel/pth/files/patch-pth_p.h.in
@@ -0,0 +1,13 @@
+--- 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 @@
+ #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 <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>