pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/spl Use correct header for PATH_MAX; fixes Linux ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70f79eabd2cb
branches:  trunk
changeset: 602376:70f79eabd2cb
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Fri Apr 13 05:51:44 2012 +0000

description:
Use correct header for PATH_MAX; fixes Linux build.

diffstat:

 lang/spl/distinfo                |   3 ++-
 lang/spl/patches/patch-webspld_c |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 14ed3091faaa -r 70f79eabd2cb lang/spl/distinfo
--- a/lang/spl/distinfo Fri Apr 13 05:46:44 2012 +0000
+++ b/lang/spl/distinfo Fri Apr 13 05:51:44 2012 +0000
@@ -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-ab) = e1f185e5e139ecfdf31148697ac691358ee7aea1
 SHA1 (patch-ac) = 31d69a712c93767f83de13c9c6e504a097602321
 SHA1 (patch-ad) = 12eb05a60727112b63c4ad64d8ee0f68e8f31ab0
+SHA1 (patch-webspld_c) = 4bd3261e43904badda877119c6e5f38ed0b9f7d3
diff -r 14ed3091faaa -r 70f79eabd2cb lang/spl/patches/patch-webspld_c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/spl/patches/patch-webspld_c  Fri Apr 13 05:51:44 2012 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index