diff options
author | agc <agc@pkgsrc.org> | 2007-05-13 20:59:48 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2007-05-13 20:59:48 +0000 |
commit | 590a6ecbaef61e54ed9e4e03c777d396dd6018a5 (patch) | |
tree | 00f78bd74443ad754f769aa834493f2a51c79bec /net | |
parent | c3c7861e68ba1f5daf6fe1097a86e54e68fd8d11 (diff) | |
download | pkgsrc-590a6ecbaef61e54ed9e4e03c777d396dd6018a5.tar.gz |
Fix compilation errors on NetBSD-current.
Diffstat (limited to 'net')
-rw-r--r-- | net/arla/distinfo | 4 | ||||
-rw-r--r-- | net/arla/patches/patch-br | 33 | ||||
-rw-r--r-- | net/arla/patches/patch-bs | 25 |
3 files changed, 61 insertions, 1 deletions
diff --git a/net/arla/distinfo b/net/arla/distinfo index 90b5c393e01..31dccc80a0a 100644 --- a/net/arla/distinfo +++ b/net/arla/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2006/08/24 13:25:41 wennmach Exp $ +$NetBSD: distinfo,v 1.23 2007/05/13 20:59:48 agc Exp $ SHA1 (arla-0.43.tar.gz) = b11130912a14ec469a3fde46b1993f4ad6386f31 RMD160 (arla-0.43.tar.gz) = 68b953a2591b115b2a5842a6c7fc6fae2ee2f088 @@ -15,4 +15,6 @@ SHA1 (patch-bn) = 5d182241d72bc095785f95929192a27ef29c409b SHA1 (patch-bo) = 8f3cfe162f22b38f25963d9e9195946c0cabf4e0 SHA1 (patch-bp) = c38f93427694ec57dc0557518efe984b14334ef1 SHA1 (patch-bq) = c7bac5059b39ee4edfdf5215c0d4e5f1bf987c56 +SHA1 (patch-br) = 41a23e87005b8ba648d707f8ac6cccc4167e3e3e +SHA1 (patch-bs) = 01101bdeff4b64dc1ad688f84d22167b323d06f7 SHA1 (patch-libslmakefilein) = a31f5f110e59e132a4637268682b6abe61609bdd diff --git a/net/arla/patches/patch-br b/net/arla/patches/patch-br new file mode 100644 index 00000000000..5f30b285bd0 --- /dev/null +++ b/net/arla/patches/patch-br @@ -0,0 +1,33 @@ +$NetBSD: patch-br,v 1.4 2007/05/13 20:59:48 agc Exp $ + +--- lib/roken/roken.h.in 2007/05/13 20:23:17 1.1 ++++ lib/roken/roken.h.in 2007/05/13 20:25:52 +@@ -53,6 +53,9 @@ + #ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif ++#ifdef HAVE_SYS_BSWAP_H ++#include <sys/bswap.h> ++#endif + #ifdef HAVE_SYS_BITYPES_H + #include <sys/bitypes.h> + #endif +@@ -371,12 +374,16 @@ + void pidfile (const char*); + #endif + +-#ifndef HAVE_BSWAP32 ++#ifndef bswap32 ++# ifndef HAVE_BSWAP32 + unsigned int bswap32(unsigned int); ++# endif + #endif + +-#ifndef HAVE_BSWAP16 ++#ifndef bswap16 ++# ifndef HAVE_BSWAP16 + unsigned short bswap16(unsigned short); ++# endif + #endif + + #ifndef HAVE_FLOCK diff --git a/net/arla/patches/patch-bs b/net/arla/patches/patch-bs new file mode 100644 index 00000000000..803f979cd06 --- /dev/null +++ b/net/arla/patches/patch-bs @@ -0,0 +1,25 @@ +$NetBSD: patch-bs,v 1.5 2007/05/13 20:59:48 agc Exp $ + +--- lib/roken/bswap.c 2007/05/13 20:37:35 1.1 ++++ lib/roken/bswap.c 2007/05/13 20:39:58 +38a39,44 +> #include <sys/types.h> +> +> #ifdef HAVE_SYS_BSWAP_H +> #include <sys/bswap.h> +> #endif +> +41c47,48 +< #ifndef HAVE_BSWAP32 +--- +> #ifndef bswap32 +> # ifndef HAVE_BSWAP32 +50a58 +> # endif +53c61,62 +< #ifndef HAVE_BSWAP16 +--- +> #ifndef bswap16 +> # ifndef HAVE_BSWAP16 +60a70 +> # endif |