pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/icecast1 Fixed the detection of socklen_t.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c02dae778b3d
branches: trunk
changeset: 529039:c02dae778b3d
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed May 23 11:13:42 2007 +0000
description:
Fixed the detection of socklen_t.
diffstat:
audio/icecast1/distinfo | 4 ++--
audio/icecast1/patches/patch-ab | 20 ++++++++++++++++++--
2 files changed, 20 insertions(+), 4 deletions(-)
diffs (49 lines):
diff -r 5044437930ec -r c02dae778b3d audio/icecast1/distinfo
--- a/audio/icecast1/distinfo Wed May 23 11:12:35 2007 +0000
+++ b/audio/icecast1/distinfo Wed May 23 11:13:42 2007 +0000
@@ -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 -r 5044437930ec -r c02dae778b3d audio/icecast1/patches/patch-ab
--- a/audio/icecast1/patches/patch-ab Wed May 23 11:12:35 2007 +0000
+++ b/audio/icecast1/patches/patch-ab Wed May 23 11:13:42 2007 +0000
@@ -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 @@
__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*
Home |
Main Index |
Thread Index |
Old Index