pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/arla Fix compilation errors on NetBSD-current.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8bcdcd61d277
branches:  trunk
changeset: 528748:8bcdcd61d277
user:      agc <agc%pkgsrc.org@localhost>
date:      Sun May 13 20:59:48 2007 +0000

description:
Fix compilation errors on NetBSD-current.

diffstat:

 net/arla/distinfo         |   4 +++-
 net/arla/patches/patch-br |  33 +++++++++++++++++++++++++++++++++
 net/arla/patches/patch-bs |  25 +++++++++++++++++++++++++
 3 files changed, 61 insertions(+), 1 deletions(-)

diffs (82 lines):

diff -r c2afefb9148f -r 8bcdcd61d277 net/arla/distinfo
--- a/net/arla/distinfo Sun May 13 20:49:40 2007 +0000
+++ b/net/arla/distinfo Sun May 13 20:59:48 2007 +0000
@@ -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-bo) = 8f3cfe162f22b38f25963d9e9195946c0cabf4e0
 SHA1 (patch-bp) = c38f93427694ec57dc0557518efe984b14334ef1
 SHA1 (patch-bq) = c7bac5059b39ee4edfdf5215c0d4e5f1bf987c56
+SHA1 (patch-br) = 41a23e87005b8ba648d707f8ac6cccc4167e3e3e
+SHA1 (patch-bs) = 01101bdeff4b64dc1ad688f84d22167b323d06f7
 SHA1 (patch-libslmakefilein) = a31f5f110e59e132a4637268682b6abe61609bdd
diff -r c2afefb9148f -r 8bcdcd61d277 net/arla/patches/patch-br
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/arla/patches/patch-br Sun May 13 20:59:48 2007 +0000
@@ -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 -r c2afefb9148f -r 8bcdcd61d277 net/arla/patches/patch-bs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/arla/patches/patch-bs Sun May 13 20:59:48 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index