diff options
Diffstat (limited to 'audio/icecast1/patches/patch-ab')
-rw-r--r-- | audio/icecast1/patches/patch-ab | 20 |
1 files changed, 18 insertions, 2 deletions
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* |