pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-mad For DragonFly, include sys/types.h befo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e56a9048e9e
branches:  trunk
changeset: 504205:7e56a9048e9e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Dec 06 21:54:25 2005 +0000

description:
For DragonFly, include sys/types.h before sys/socket.h.

diffstat:

 audio/xmms-mad/distinfo         |   4 ++--
 audio/xmms-mad/patches/patch-ac |  17 ++++++++++++++---
 2 files changed, 16 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 1f426b7ca820 -r 7e56a9048e9e audio/xmms-mad/distinfo
--- a/audio/xmms-mad/distinfo   Tue Dec 06 21:10:36 2005 +0000
+++ b/audio/xmms-mad/distinfo   Tue Dec 06 21:54:25 2005 +0000
@@ -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 -r 1f426b7ca820 -r 7e56a9048e9e audio/xmms-mad/patches/patch-ac
--- a/audio/xmms-mad/patches/patch-ac   Tue Dec 06 21:10:36 2005 +0000
+++ b/audio/xmms-mad/patches/patch-ac   Tue Dec 06 21:54:25 2005 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index