diff options
author | drochner <drochner@pkgsrc.org> | 2004-06-21 14:56:36 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2004-06-21 14:56:36 +0000 |
commit | d7a824af69e1032fa273db22cda30e00879b8763 (patch) | |
tree | eeafbe48e34b31f31c5d7aaf6f7868e998f8be59 /audio/libcddb/patches | |
parent | ca367472fb42d7bbbddd0ab9a2d982e6336b4b0b (diff) | |
download | pkgsrc-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/patches')
-rw-r--r-- | audio/libcddb/patches/patch-aa | 21 |
1 files changed, 21 insertions, 0 deletions
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 */ |