diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-30 20:46:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-30 20:46:18 +0000 |
commit | 2f7d81f9bb142a10322b78dbd98a7f729f9a53b6 (patch) | |
tree | 17a2670eca1f4215f1118cd60f56085971dd8e1b /www/ap2-auth-xradius | |
parent | ed4014d626ca361afd34ebf2ff2b5ccae8a640cd (diff) | |
download | pkgsrc-2f7d81f9bb142a10322b78dbd98a7f729f9a53b6.tar.gz |
Fixed duplicate definition of strsep on NetBSD.
Diffstat (limited to 'www/ap2-auth-xradius')
-rw-r--r-- | www/ap2-auth-xradius/distinfo | 3 | ||||
-rw-r--r-- | www/ap2-auth-xradius/patches/patch-ab | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/www/ap2-auth-xradius/distinfo b/www/ap2-auth-xradius/distinfo index cba7a3ca45c..af65e52b576 100644 --- a/www/ap2-auth-xradius/distinfo +++ b/www/ap2-auth-xradius/distinfo @@ -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 --git a/www/ap2-auth-xradius/patches/patch-ab b/www/ap2-auth-xradius/patches/patch-ab new file mode 100644 index 00000000000..19352c18559 --- /dev/null +++ b/www/ap2-auth-xradius/patches/patch-ab @@ -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; |