summaryrefslogtreecommitdiff
path: root/net/dante
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-19 18:52:59 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-19 18:52:59 +0000
commit6b55badc8fb3060fa241f13c7559653760aff3d4 (patch)
tree22e039cbef217ca799dcef10f8ee99a07c8d5ed2 /net/dante
parenta3f2cf6db9e83d57a8d4b7b5bafffdc10af7f709 (diff)
downloadpkgsrc-6b55badc8fb3060fa241f13c7559653760aff3d4.tar.gz
Fix patch to use case + two cats instead of a single cat + preprocessor
usage, it is ignored by autoconf.
Diffstat (limited to 'net/dante')
-rw-r--r--net/dante/distinfo4
-rw-r--r--net/dante/patches/patch-ab24
2 files changed, 18 insertions, 10 deletions
diff --git a/net/dante/distinfo b/net/dante/distinfo
index 73d239a0cde..3270876ffa6 100644
--- a/net/dante/distinfo
+++ b/net/dante/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2006/01/12 23:37:31 joerg Exp $
+$NetBSD: distinfo,v 1.11 2006/01/19 18:52:59 joerg Exp $
SHA1 (dante-1.1.17.tar.gz) = 25d4dd85de93e65e519d498085c12eee597a5a83
RMD160 (dante-1.1.17.tar.gz) = ab8f37dd5d141d35258916eecfe9e8d0393dc207
Size (dante-1.1.17.tar.gz) = 845155 bytes
SHA1 (patch-aa) = 856884522529122afe037fff610ce89a978d2a2b
-SHA1 (patch-ab) = 5958c6bca36b85e9f1bdf1388c86844bad6b92a3
+SHA1 (patch-ab) = 586825b1da2c73c382f27d299f795a336be32a86
diff --git a/net/dante/patches/patch-ab b/net/dante/patches/patch-ab
index 3eef639fca0..77cf0012ecf 100644
--- a/net/dante/patches/patch-ab
+++ b/net/dante/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.6 2006/01/12 23:37:31 joerg Exp $
+$NetBSD: patch-ab,v 1.7 2006/01/19 18:53:00 joerg Exp $
---- configure.orig 2005-07-14 11:22:39.000000000 +0000
+--- configure.orig 2005-07-14 13:22:39.000000000 +0200
+++ configure
@@ -19864,7 +19864,6 @@ else
echo "${ECHO_T}no" >&6
@@ -24,15 +24,23 @@ $NetBSD: patch-ab,v 1.6 2006/01/12 23:37:31 joerg Exp $
);
int
main ()
-@@ -25352,7 +25356,11 @@ cat >>confdefs.h <<_ACEOF
+@@ -25351,9 +25355,18 @@ cat >>confdefs.h <<_ACEOF
+ #define HAVE_PROT_GETHOSTBYADDR_1 const char *
_ACEOF
- cat >>confdefs.h <<_ACEOF
-+#if defined(__DragonFly__)
+-cat >>confdefs.h <<_ACEOF
++case "$host_os" in
++dragonfly*)
++ cat >>confdefs.h <<_ACEOF
#define HAVE_PROT_GETHOSTBYADDR_2 int
-+#else
-+#define HAVE_PROT_GETHOSTBYADDR_2 socklen_t
-+#endif
_ACEOF
++;;
++*)
++ cat >>confdefs.h <<_ACEOF
++#define HAVE_PROT_GETHOSTBYADDR_2 socklen_t
++_ACEOF
++;;
++esac
cat >>confdefs.h <<_ACEOF
+ #define HAVE_PROT_GETHOSTBYADDR_3 int