PR pkg/38615: Hasso Tepper: Fix build on DragonFlyBSD > 1.11.

This commit is contained in:
tnn 2008-05-09 10:06:10 +00:00
parent b444579828
commit 9481c4c4fd
2 changed files with 14 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.65 2006/11/03 19:22:55 joerg Exp $
$NetBSD: distinfo,v 1.66 2008/05/09 10:06:10 tnn Exp $
SHA1 (cvsync-0.24.19.tar.gz) = a3c0673bf0f3b81b1eb45ac828a527d2a4e6d2f6
RMD160 (cvsync-0.24.19.tar.gz) = f98530cfa25d75647af7a4baed7e6184f01207ec
Size (cvsync-0.24.19.tar.gz) = 139695 bytes
SHA1 (patch-aa) = 6848abba52d055737f13a36fefa2edc67578049e
SHA1 (patch-ab) = 290332d24c0abf4113d25058275e180a267700aa
SHA1 (patch-ac) = 15dfc9a9ea499a28551f4edf96c1d7313003dfed

View file

@ -0,0 +1,12 @@
--- mk/network.mk.orig 2008-05-09 00:22:48 +0300
+++ mk/network.mk 2008-05-09 00:24:55 +0300
@@ -122,7 +122,9 @@
endif # CYGWIN
ifeq (${HOST_OS}, DragonFly)
+ifeq ($(shell ${TEST} ${OSVER} -lt 197500 && ${ECHO} yes), yes) # 1.11 or older
CFLAGS += -Dnfds_t='unsigned int'
+endif # 1.11 or older
endif # DragonFly
ifeq (${HOST_OS}, FreeBSD)