summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordrochner <drochner>2004-06-21 14:56:36 +0000
committerdrochner <drochner>2004-06-21 14:56:36 +0000
commit34cf71a461402fc571da2a513fa8eba0727e28b9 (patch)
treeeeafbe48e34b31f31c5d7aaf6f7868e998f8be59 /audio
parent6a9f67e5d3b4ac5abedafbe78460d1dededee3b0 (diff)
downloadpkgsrc-34cf71a461402fc571da2a513fa8eba0727e28b9.tar.gz
deal with a build problem on IRIX64, reported by Florian S. on tech-pkg
(need to include <sys/time.h> for "struct timeval" definition)
Diffstat (limited to 'audio')
-rw-r--r--audio/libcddb/distinfo3
-rw-r--r--audio/libcddb/patches/patch-aa21
2 files changed, 23 insertions, 1 deletions
diff --git a/audio/libcddb/distinfo b/audio/libcddb/distinfo
index e01847d8bbc..1fc7970ad24 100644
--- a/audio/libcddb/distinfo
+++ b/audio/libcddb/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/17 15:25:39 recht Exp $
+$NetBSD: distinfo,v 1.2 2004/06/21 14:56:36 drochner Exp $
SHA1 (libcddb-0.9.4.tar.gz) = ea64a127bedbf953c7a7a380d15f867a6244f8eb
Size (libcddb-0.9.4.tar.gz) = 272751 bytes
+SHA1 (patch-aa) = 0793d6cf41a4ea4f0ef0ce6de88401ec880b9077
diff --git a/audio/libcddb/patches/patch-aa b/audio/libcddb/patches/patch-aa
new file mode 100644
index 00000000000..11cc4f702a0
--- /dev/null
+++ b/audio/libcddb/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2004/06/21 14:56:36 drochner Exp $
+
+--- lib/cddb_net.c.orig 2003-05-25 16:25:46.000000000 +0200
++++ lib/cddb_net.c
+@@ -24,12 +24,15 @@
+ #include <netdb.h>
+ #include <setjmp.h>
+ #include <signal.h>
+-#include <time.h>
++#include <sys/time.h>
+ #include <unistd.h>
+ #include <sys/select.h>
+ #include <sys/socket.h>
+ #include <sys/types.h>
+ #include "cddb/cddb_ni.h"
++#ifdef TIME_WITH_SYS_TIME
++#include <time.h>
++#endif
+
+
+ /* Utility functions */