diff options
author | gdt <gdt> | 2007-08-17 16:39:37 +0000 |
---|---|---|
committer | gdt <gdt> | 2007-08-17 16:39:37 +0000 |
commit | d3bead0ca5c4c34a2cde22c48586eb860ab608c7 (patch) | |
tree | a7cdc42240885fa58b85486a07f11986c195d029 | |
parent | fcdcec63492f8e869e9b16a168bb65ef0ad19108 (diff) | |
download | pkgsrc-d3bead0ca5c4c34a2cde22c48586eb860ab608c7.tar.gz |
Include sys/param.h before sys/sysctl.h. NetBSD documents that this
must be done, and FreeBSD documents sys/types.h. Assume for the
moment that because sys/sysctl.h is a BSD44 feature that all such
systems will have sys/param.h, pending an upstream fix.
-rw-r--r-- | chat/libpurple/distinfo | 4 | ||||
-rw-r--r-- | chat/libpurple/patches/patch-ab | 18 |
2 files changed, 12 insertions, 10 deletions
diff --git a/chat/libpurple/distinfo b/chat/libpurple/distinfo index 625f5ebc4ca..5861fd0ed57 100644 --- a/chat/libpurple/distinfo +++ b/chat/libpurple/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.5 2007/08/13 13:57:47 tnn Exp $ +$NetBSD: distinfo,v 1.6 2007/08/17 16:39:37 gdt Exp $ SHA1 (pidgin-2.1.0.tar.bz2) = 33f78d07c3c7797a710bb7d2032a8d0bd89a6ab3 RMD160 (pidgin-2.1.0.tar.bz2) = d04437251fbea8a1902621ebdf98f6fdc826a6d4 Size (pidgin-2.1.0.tar.bz2) = 7772942 bytes -SHA1 (patch-ab) = cba3d381e62a5c4976467eee106a3700c4e771be +SHA1 (patch-ab) = 5f1fc87cc258de372fbdf521aeb6822f50506090 SHA1 (patch-ae) = 82cc41e44609480f30062f922ca6001d57336862 SHA1 (patch-af) = 047d03f91ef386a92e302e7fa2c46ad2d08214e4 SHA1 (patch-ag) = 0ec16d0937584f63cded37e3085425d0153c24ee diff --git a/chat/libpurple/patches/patch-ab b/chat/libpurple/patches/patch-ab index aba5fcd999b..bc161486d6f 100644 --- a/chat/libpurple/patches/patch-ab +++ b/chat/libpurple/patches/patch-ab @@ -1,17 +1,19 @@ -$NetBSD: patch-ab,v 1.1.1.1 2007/07/28 12:10:43 gdt Exp $ +$NetBSD: patch-ab,v 1.2 2007/08/17 16:39:37 gdt Exp $ We need definitions of NGROUPS, MAXLOGNAME, MAXCOMLEN on NetBSD. ---- libpurple/nat-pmp.c.orig 2007-05-28 05:43:18.000000000 +0200 +--- libpurple/nat-pmp.c.orig 2007-05-09 23:02:58.000000000 -0400 +++ libpurple/nat-pmp.c -@@ -34,6 +34,10 @@ - #include "signals.h" +@@ -35,6 +35,12 @@ #include "network.h" -+#ifdef HAVE_SYS_PARAM_H -+#include <sys/param.h> -+#endif -+ #ifdef HAVE_SYS_SYSCTL_H ++/* ++ * XXX sysctl.h is a BSD include, and all such systems will have ++ * sys/param.h. Upstream should probably add a configure test for ++ * sys/param.h. ++ */ ++#include <sys/param.h> #include <sys/sysctl.h> #endif + |