summaryrefslogtreecommitdiff
path: root/audio/libcddb
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-06-21 14:56:36 +0000
committerdrochner <drochner@pkgsrc.org>2004-06-21 14:56:36 +0000
commitd7a824af69e1032fa273db22cda30e00879b8763 (patch)
treeeeafbe48e34b31f31c5d7aaf6f7868e998f8be59 /audio/libcddb
parentca367472fb42d7bbbddd0ab9a2d982e6336b4b0b (diff)
downloadpkgsrc-d7a824af69e1032fa273db22cda30e00879b8763.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/libcddb')
-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 */