From 544dc12ebfcb88c7d323c36bc9272d01190b19dc Mon Sep 17 00:00:00 2001 From: dholland Date: Fri, 13 Apr 2012 05:51:44 +0000 Subject: Use correct header for PATH_MAX; fixes Linux build. --- lang/spl/distinfo | 3 ++- lang/spl/patches/patch-webspld_c | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 lang/spl/patches/patch-webspld_c (limited to 'lang/spl') 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 + #include + #include +- +-#ifdef USEBSDAPI +-//that's for PATH_MAX +-#include +-#endif ++#include + + #ifdef ENABLE_PTHREAD_SUPPORT + # include -- cgit v1.2.3