diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-07-09 12:07:38 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-07-09 12:07:38 +0000 |
commit | e709f3cf35b6ffa0c46898039837ee53ccbd06f5 (patch) | |
tree | 49a8b7434e490998ae3a758a8a689f73a9e444fc | |
parent | ec0802774f8f8223064e1b65a0023eecd426d5d3 (diff) | |
download | pkgsrc-e709f3cf35b6ffa0c46898039837ee53ccbd06f5.tar.gz |
Use nbcompat, add patch comments. Fixes build on SunOS.
-rw-r--r-- | net/libradius/distinfo | 5 | ||||
-rw-r--r-- | net/libradius/patches/patch-aa | 6 | ||||
-rw-r--r-- | net/libradius/patches/patch-md5.h | 19 |
3 files changed, 26 insertions, 4 deletions
diff --git a/net/libradius/distinfo b/net/libradius/distinfo index 6fc830d021a..32266e772c6 100644 --- a/net/libradius/distinfo +++ b/net/libradius/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.8 2014/02/24 12:43:11 wiedi Exp $ +$NetBSD: distinfo,v 1.9 2015/07/09 12:07:38 jperkin Exp $ SHA1 (libradius-linux-20040827.tar.gz) = 27abd1390d16befe290ded70579bfdda8fabe68f RMD160 (libradius-linux-20040827.tar.gz) = 040fb6e3919402c21ffc4dcdb6c7ae2137030489 Size (libradius-linux-20040827.tar.gz) = 15791 bytes -SHA1 (patch-aa) = d9849e36d2d075b5a89881b02461a874af342089 +SHA1 (patch-aa) = fca7056778bb85b4171eeb817fb835cc0f466994 +SHA1 (patch-md5.h) = b4dfdfba7698343209a5272f824e865bf2b31586 SHA1 (patch-radlib.c) = 96d037616fc02a6cb2f9684003a9e9759e63a504 diff --git a/net/libradius/patches/patch-aa b/net/libradius/patches/patch-aa index 0892eec04ab..1c1284b040b 100644 --- a/net/libradius/patches/patch-aa +++ b/net/libradius/patches/patch-aa @@ -1,6 +1,8 @@ -$NetBSD: patch-aa,v 1.7 2009/01/31 03:12:33 obache Exp $ +$NetBSD: patch-aa,v 1.8 2015/07/09 12:07:39 jperkin Exp $ ---- Makefile.orig 2004-08-27 00:20:33.000000000 -0700 +Use pkgsrc layout. + +--- Makefile.orig 2004-08-27 07:20:33.000000000 +0000 +++ Makefile @@ -24,15 +24,11 @@ # diff --git a/net/libradius/patches/patch-md5.h b/net/libradius/patches/patch-md5.h new file mode 100644 index 00000000000..251e2799a37 --- /dev/null +++ b/net/libradius/patches/patch-md5.h @@ -0,0 +1,19 @@ +$NetBSD: patch-md5.h,v 1.1 2015/07/09 12:07:39 jperkin Exp $ + +Use nbcompat. + +--- md5.h.orig 2002-05-09 15:34:35.000000000 +0000 ++++ md5.h +@@ -33,7 +33,12 @@ typedef struct MD5Context { + unsigned char buffer[64]; /* input buffer */ + } MD5_CTX; + ++#if defined(HAVE_NBCOMPAT_H) ++#include <nbcompat.h> ++#include <nbcompat/cdefs.h> ++#else + #include <sys/cdefs.h> ++#endif + + __BEGIN_DECLS + void MD5Init (MD5_CTX *); |