summaryrefslogtreecommitdiff
path: root/net/aiccu
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2014-01-01 16:06:58 +0000
committerbsiegert <bsiegert@pkgsrc.org>2014-01-01 16:06:58 +0000
commit15bc98d1df2f45e2c4676450d1078147186a8782 (patch)
tree7f3d1d32b33dbb3474fcc7b41930135779a27560 /net/aiccu
parent6c012a7573cb8652b27b214b643ce5f77c1e2aa6 (diff)
downloadpkgsrc-15bc98d1df2f45e2c4676450d1078147186a8782.tar.gz
Fix MirBSD build.
Diffstat (limited to 'net/aiccu')
-rw-r--r--net/aiccu/distinfo5
-rw-r--r--net/aiccu/patches/patch-aa20
2 files changed, 19 insertions, 6 deletions
diff --git a/net/aiccu/distinfo b/net/aiccu/distinfo
index cc9806d016a..93d82d0f8ad 100644
--- a/net/aiccu/distinfo
+++ b/net/aiccu/distinfo
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.6 2007/01/18 14:42:17 ghen Exp $
+$NetBSD: distinfo,v 1.7 2014/01/01 16:06:58 bsiegert Exp $
SHA1 (aiccu_20070115.tar.gz) = 7b3c51bfe291c777e74b2688e9339b4fb72e6a39
RMD160 (aiccu_20070115.tar.gz) = 9415899c98c1f7e84b9711017b82a3a0ea2ae9de
Size (aiccu_20070115.tar.gz) = 70056 bytes
-SHA1 (patch-ab_tunsip) = dce6b3b1a99acb0e966772b362d3e9e3a76044e2
-SHA1 (patch-aa) = 373c66c6a7b6a18ad9ab453f4fddf61634e8ad04
+SHA1 (patch-aa) = 9cd63a4e354d5e12074073afae5f2d167f86f186
SHA1 (patch-ac) = 105a1845883211a1c101e224c826ffcc630386fd
diff --git a/net/aiccu/patches/patch-aa b/net/aiccu/patches/patch-aa
index f4a7e9c271f..602da677a1d 100644
--- a/net/aiccu/patches/patch-aa
+++ b/net/aiccu/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2007/01/18 14:42:17 ghen Exp $
+$NetBSD: patch-aa,v 1.6 2014/01/01 16:06:58 bsiegert Exp $
---- unix-console/Makefile.orig 2007-01-15 12:04:27.000000000 +0100
+--- unix-console/Makefile.orig Mon Jan 15 11:04:04 2007
+++ unix-console/Makefile
@@ -26,25 +26,12 @@ CWARNS += -W -Wall -Wshadow -Wpointer-ar
@@ -38,7 +38,7 @@ $NetBSD: patch-aa,v 1.5 2007/01/18 14:42:17 ghen Exp $
SRCS += ../common/aiccu_freebsd4.c
OBJS += ../common/aiccu_freebsd4.o
CFLAGS += -pthread
-@@ -80,15 +67,15 @@ endif
+@@ -80,20 +67,29 @@ endif
# NetBSD
ifeq ($(shell uname | grep -c "NetBSD"),1)
@@ -58,3 +58,17 @@ $NetBSD: patch-aa,v 1.5 2007/01/18 14:42:17 ghen Exp $
endif
SRCS += ../common/aiccu_kame.c
+ OBJS += ../common/aiccu_kame.o
+ CFLAGS += -pthread -D_NETBSD_SOURCE
++endif
++
++# MirBSD
++ifeq ($(shell uname | grep -c "MirBSD"),1)
++CFLAGS += -D_OPENBSD -D HAS_IFHEAD
++CFLAGS += -D AICCU_TYPE="\"openbsd\""
++SRCS += ../common/aiccu_openbsd.c
++OBJS += ../common/aiccu_openbsd.o
++CFLAGS += -pthread
+ endif
+
+ # OpenBSD