diff options
author | wiz <wiz@pkgsrc.org> | 2014-01-09 13:05:20 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-01-09 13:05:20 +0000 |
commit | 35d8b2593b01bfedec008be123f85ee3b7980bd9 (patch) | |
tree | 0cd166de314c5567789c26069afc6ba7ced037c6 /audio/libcddb | |
parent | eb891fc819c31aac4f9cddecc33e86b9bf1269f4 (diff) | |
download | pkgsrc-35d8b2593b01bfedec008be123f85ee3b7980bd9.tar.gz |
Use correct type to fix this on big-endian hosts.
From Dave Tyson on pkgsrc-users 20140108,
"libcddb fails to work properly on big-endian systems"
Bump PKGREVISION.
Diffstat (limited to 'audio/libcddb')
-rw-r--r-- | audio/libcddb/Makefile | 3 | ||||
-rw-r--r-- | audio/libcddb/distinfo | 3 | ||||
-rw-r--r-- | audio/libcddb/patches/patch-lib_cddb__net.c | 20 |
3 files changed, 24 insertions, 2 deletions
diff --git a/audio/libcddb/Makefile b/audio/libcddb/Makefile index c433138a7d0..b35ff204ed2 100644 --- a/audio/libcddb/Makefile +++ b/audio/libcddb/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.25 2012/09/12 00:24:41 asau Exp $ +# $NetBSD: Makefile,v 1.26 2014/01/09 13:05:20 wiz Exp $ DISTNAME= libcddb-1.3.2 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libcddb/} EXTRACT_SUFX= .tar.bz2 diff --git a/audio/libcddb/distinfo b/audio/libcddb/distinfo index 15abc8d23d5..1cf314c4ac4 100644 --- a/audio/libcddb/distinfo +++ b/audio/libcddb/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.11 2009/07/26 17:36:25 drochner Exp $ +$NetBSD: distinfo,v 1.12 2014/01/09 13:05:20 wiz Exp $ SHA1 (libcddb-1.3.2.tar.bz2) = 2a7855918689692ff5ca3316d078a859d51959ce RMD160 (libcddb-1.3.2.tar.bz2) = e38ed8c7dd5a9b4a5b2a1772a9e98f914872c397 Size (libcddb-1.3.2.tar.bz2) = 352909 bytes +SHA1 (patch-lib_cddb__net.c) = 8c234bae3565d4a3168815ded01bef833c8ccb0d diff --git a/audio/libcddb/patches/patch-lib_cddb__net.c b/audio/libcddb/patches/patch-lib_cddb__net.c new file mode 100644 index 00000000000..af4b47c82d8 --- /dev/null +++ b/audio/libcddb/patches/patch-lib_cddb__net.c @@ -0,0 +1,20 @@ +$NetBSD: patch-lib_cddb__net.c,v 1.1 2014/01/09 13:05:20 wiz Exp $ + +Use correct type to fix this on big-endian hosts. + +From Dave Tyson on pkgsrc-users 20140108, +"libcddb fails to work properly on big-endian systems" + +http://mail-index.netbsd.org/pkgsrc-users/2014/01/08/msg019154.html + +--- lib/cddb_net.c.orig 2009-03-01 03:28:07.000000000 +0000 ++++ lib/cddb_net.c +@@ -305,7 +305,7 @@ int timeout_connect(int sockfd, const st + int rv; + fd_set wfds; + struct timeval tv; +- size_t l; ++ socklen_t l; + + /* set up select time out */ + tv.tv_sec = timeout; |