pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libcddb deal with a build problem on IRIX64, rep...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/685d0b5d9084
branches:  trunk
changeset: 476851:685d0b5d9084
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Jun 21 14:56:36 2004 +0000

description:
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:

 audio/libcddb/distinfo         |   3 ++-
 audio/libcddb/patches/patch-aa |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 53d359a71a4b -r 685d0b5d9084 audio/libcddb/distinfo
--- a/audio/libcddb/distinfo    Mon Jun 21 14:18:09 2004 +0000
+++ b/audio/libcddb/distinfo    Mon Jun 21 14:56:36 2004 +0000
@@ -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 -r 53d359a71a4b -r 685d0b5d9084 audio/libcddb/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libcddb/patches/patch-aa    Mon Jun 21 14:56:36 2004 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index