summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-06 21:54:25 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-06 21:54:25 +0000
commit9f3fb93282ceb3d4756ab810654263d5e038f098 (patch)
tree12042570c09f1d42309e906ad804c2d9e04a2e24
parent2899b8fdfa849b247114b9d1de46ecf30596470b (diff)
downloadpkgsrc-9f3fb93282ceb3d4756ab810654263d5e038f098.tar.gz
For DragonFly, include sys/types.h before sys/socket.h.
-rw-r--r--audio/xmms-mad/distinfo4
-rw-r--r--audio/xmms-mad/patches/patch-ac17
2 files changed, 16 insertions, 5 deletions
diff --git a/audio/xmms-mad/distinfo b/audio/xmms-mad/distinfo
index 5a71cf56dab..0f3d161ca34 100644
--- a/audio/xmms-mad/distinfo
+++ b/audio/xmms-mad/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 20:39:54 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/12/06 21:54:25 joerg Exp $
SHA1 (xmms-mad-0.5.5.tar.gz) = f571d049821b72bf5fe49fb9c58d71aefa01057e
RMD160 (xmms-mad-0.5.5.tar.gz) = b7e7af55aebbd4cf88dee4a421475db32ca9aa3f
Size (xmms-mad-0.5.5.tar.gz) = 307441 bytes
SHA1 (patch-aa) = e92ed1f948efab64fed029102e563fe1aab9463d
SHA1 (patch-ab) = 169850b0f96e2097824ef6d8a48a2c7cad815780
-SHA1 (patch-ac) = fb3d1674cc281f907e53069ef252d56e5ec0a95f
+SHA1 (patch-ac) = 83e50caa2d7c4baed6e86b11ef0793f4a1694185
diff --git a/audio/xmms-mad/patches/patch-ac b/audio/xmms-mad/patches/patch-ac
index e24d049c83f..be071c38567 100644
--- a/audio/xmms-mad/patches/patch-ac
+++ b/audio/xmms-mad/patches/patch-ac
@@ -1,8 +1,19 @@
-$NetBSD: patch-ac,v 1.1 2003/12/23 09:52:11 simonb Exp $
+$NetBSD: patch-ac,v 1.2 2005/12/06 21:54:25 joerg Exp $
---- src/input.c.orig Thu Sep 25 04:01:50 2003
+--- src/input.c.orig 2003-09-24 18:01:50.000000000 +0000
+++ src/input.c
-@@ -447,6 +447,9 @@ input_read_tag (struct mad_info_t *info)
+@@ -24,6 +24,10 @@
+ #include <assert.h>
+ #endif /* HAVE_ASSERT_H */
+
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
++
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #endif /* HAVE_SYS_SOCKET_H */
+@@ -447,6 +451,9 @@ input_read_tag (struct mad_info_t *info)
if (title_input->genre) g_free (title_input->genre);
if (title_input->comment) g_free (title_input->comment);
g_free (title_input);