pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap2-auth-xradius Fixed duplicate definition of str...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2f388d44d4fb
branches: trunk
changeset: 535973:2f388d44d4fb
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 30 20:46:18 2007 +0000
description:
Fixed duplicate definition of strsep on NetBSD.
diffstat:
www/ap2-auth-xradius/distinfo | 3 ++-
www/ap2-auth-xradius/patches/patch-ab | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 0eddb351560b -r 2f388d44d4fb www/ap2-auth-xradius/distinfo
--- a/www/ap2-auth-xradius/distinfo Fri Nov 30 20:43:08 2007 +0000
+++ b/www/ap2-auth-xradius/distinfo Fri Nov 30 20:46:18 2007 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/08/13 17:34:16 adrianp Exp $
+$NetBSD: distinfo,v 1.2 2007/11/30 20:46:18 rillig Exp $
SHA1 (mod_auth_xradius-0.4.6.tar.bz2) = f05f5d9bb9ad6fb76c026679cd5fb00a9c9e48dd
RMD160 (mod_auth_xradius-0.4.6.tar.bz2) = 82c34c82f692c6f5a321ad20103eb22b01da8d4a
Size (mod_auth_xradius-0.4.6.tar.bz2) = 180591 bytes
SHA1 (patch-aa) = 6cf2d151392eee1fce38d96b345e8fcd720f5ad9
+SHA1 (patch-ab) = 52bc4f6d0ae255a4681fd599ca17af2fdb0664d6
diff -r 0eddb351560b -r 2f388d44d4fb www/ap2-auth-xradius/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ap2-auth-xradius/patches/patch-ab Fri Nov 30 20:46:18 2007 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2007/11/30 20:46:19 rillig Exp $
+
+Recent NetBSD versions also have strsep.
+
+--- libradius/radlib.c.orig 2005-07-05 18:35:32.000000000 +0000
++++ libradius/radlib.c 2007-11-30 20:43:58.000000000 +0000
+@@ -60,7 +60,8 @@ static int put_raw_attr(struct xrad_han
+ static int split(char *, char *[], int, char *, size_t);
+
+ #if !defined(__FreeBSD__) && !defined(__linux__)
+-static char *strsep(char **stringp, const char *delim)
++static char *my_strsep(char **stringp, const char *delim)
++#define strsep(a,b) my_strsep((a),(b))
+ {
+ char *s;
+ const char *spanp;
Home |
Main Index |
Thread Index |
Old Index