summaryrefslogtreecommitdiff
path: root/audio/icecast1
diff options
context:
space:
mode:
authorrillig <rillig>2007-05-23 11:13:42 +0000
committerrillig <rillig>2007-05-23 11:13:42 +0000
commita3c49acb51be09d90eefae63981d59adf297a0bf (patch)
tree9ec48e7a8118c72ca5dc97249b92e4eb6afa01dd /audio/icecast1
parent6be541e9f34021119ccd6143d902a54c62e70de5 (diff)
downloadpkgsrc-a3c49acb51be09d90eefae63981d59adf297a0bf.tar.gz
Fixed the detection of socklen_t.
Diffstat (limited to 'audio/icecast1')
-rw-r--r--audio/icecast1/distinfo4
-rw-r--r--audio/icecast1/patches/patch-ab20
2 files changed, 20 insertions, 4 deletions
diff --git a/audio/icecast1/distinfo b/audio/icecast1/distinfo
index 31925bb8188..5247bcfa3fc 100644
--- a/audio/icecast1/distinfo
+++ b/audio/icecast1/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.5 2006/06/18 11:07:36 rillig Exp $
+$NetBSD: distinfo,v 1.6 2007/05/23 11:13:42 rillig Exp $
SHA1 (icecast-1.3.12.tar.gz) = bacb760390453718de536b85979ff3a9a73c7710
RMD160 (icecast-1.3.12.tar.gz) = 7b576dbc16103c01b5393880ab51c532662334a9
Size (icecast-1.3.12.tar.gz) = 269822 bytes
SHA1 (patch-aa) = 169202f563e4e2812d8d532264dcdb4f9ffc8df2
-SHA1 (patch-ab) = 28dc8d9416b606aca4861df80332f9bf50458b45
+SHA1 (patch-ab) = 5d85c8718fba45120bcc3879ca7b2bc718c1c216
SHA1 (patch-ac) = 4775c84b910f9b19134f66a57f5196b572daf3cc
SHA1 (patch-ad) = 787838025c33a2b84bc0dd20ac6442e5d8cc24c0
SHA1 (patch-ae) = 43eccb3d3b71ae589dde96042ba580124f9e19e5
diff --git a/audio/icecast1/patches/patch-ab b/audio/icecast1/patches/patch-ab
index 6d318e837ce..b94e86feb82 100644
--- a/audio/icecast1/patches/patch-ab
+++ b/audio/icecast1/patches/patch-ab
@@ -1,7 +1,10 @@
-$NetBSD: patch-ab,v 1.2 2006/06/18 11:07:36 rillig Exp $
+$NetBSD: patch-ab,v 1.3 2007/05/23 11:13:42 rillig Exp $
+
+The test for socklen_t is horribly broken. However, it worked on NetBSD,
+but with a compiler warning.
--- configure.orig 2002-04-11 00:50:20.000000000 +0200
-+++ configure
++++ configure 2007-05-23 13:08:25.000000000 +0200
@@ -876,16 +876,16 @@ if test "x$enable_fsstd" = "xyes"; then
else
ICECAST_BINDIR=${prefix}/bin
@@ -34,3 +37,16 @@ $NetBSD: patch-ab,v 1.2 2006/06/18 11:07:36 rillig Exp $
__SOMEBSD__=yes
cat >> confdefs.h <<\EOF
#define __SOMEBSD__ 1
+@@ -3459,10 +3459,9 @@ cat > conftest.$ac_ext <<EOF
+ #include "confdefs.h"
+ #include <sys/types.h>
+ #include <sys/socket.h>
++typedef socklen_t mytype;
+ int main() {
+-typedef socklen_t int;
+- int apan (void) {return 1;}
+-; return 0; }
++return 0; }
+ EOF
+ if { (eval echo configure:3468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*