summaryrefslogtreecommitdiff
path: root/lang/spl
diff options
context:
space:
mode:
authordholland <dholland>2012-04-13 05:51:44 +0000
committerdholland <dholland>2012-04-13 05:51:44 +0000
commit54ff028b3788f07d38a704634362de390ac031ce (patch)
treec73f5ab15787f75ad0de676b799a96fe8dfde1e7 /lang/spl
parent4abb2b4f2039252c82d026b19e9c22ea920d1419 (diff)
downloadpkgsrc-54ff028b3788f07d38a704634362de390ac031ce.tar.gz
Use correct header for PATH_MAX; fixes Linux build.
Diffstat (limited to 'lang/spl')
-rw-r--r--lang/spl/distinfo3
-rw-r--r--lang/spl/patches/patch-webspld_c19
2 files changed, 21 insertions, 1 deletions
diff --git a/lang/spl/distinfo b/lang/spl/distinfo
index 8c1b6c3e8ab..eadd2ef124a 100644
--- a/lang/spl/distinfo
+++ b/lang/spl/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2007/03/17 08:45:04 obache Exp $
+$NetBSD: distinfo,v 1.4 2012/04/13 05:51:44 dholland Exp $
SHA1 (spl-1.0pre3.tar.gz) = b4f3db44c5ba6b8f49ee25553bd7328be946abbb
RMD160 (spl-1.0pre3.tar.gz) = 311db05cb5f5c14145fa63d3548519535ccbf7ff
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = 2033872117191147c31781d47c59125f155dbe5d
SHA1 (patch-ab) = e1f185e5e139ecfdf31148697ac691358ee7aea1
SHA1 (patch-ac) = 31d69a712c93767f83de13c9c6e504a097602321
SHA1 (patch-ad) = 12eb05a60727112b63c4ad64d8ee0f68e8f31ab0
+SHA1 (patch-webspld_c) = 4bd3261e43904badda877119c6e5f38ed0b9f7d3
diff --git a/lang/spl/patches/patch-webspld_c b/lang/spl/patches/patch-webspld_c
new file mode 100644
index 00000000000..b20241e8c39
--- /dev/null
+++ b/lang/spl/patches/patch-webspld_c
@@ -0,0 +1,19 @@
+$NetBSD: patch-webspld_c,v 1.1 2012/04/13 05:51:44 dholland Exp $
+
+Use standard headers.
+
+--- webspld.c~ 2006-10-22 11:08:09.000000000 +0000
++++ webspld.c
+@@ -34,11 +34,7 @@
+ #include <errno.h>
+ #include <signal.h>
+ #include <fcntl.h>
+-
+-#ifdef USEBSDAPI
+-//that's for PATH_MAX
+-#include <sys/syslimits.h>
+-#endif
++#include <limits.h>
+
+ #ifdef ENABLE_PTHREAD_SUPPORT
+ # include <pthread.h>