* fix contrib system on OS X 10.2.
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 5 Jul 2004 20:42:52 +0000 (20:42 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 5 Jul 2004 20:42:52 +0000 (20:42 +0000)
  - some libcddb bugs found. Sent them upstream too.

extras/contrib/src/Makefile
extras/contrib/src/Patches/libcddb.patch
extras/contrib/src/packages.mak

index e09fcec..7f70593 100644 (file)
@@ -775,7 +775,7 @@ libcddb: libcddb-$(CDDB_VERSION).tar.gz
        patch -p 0 < Patches/libcddb.patch
 
 .cddb: libcddb
-       (cd $<; ./configure --prefix=$(PREFIX) --disable-shared --enable-static && make && make install)
+       (cd $<; ./configure --prefix=$(PREFIX) --disable-shared --enable-static CFLAGS="$(CFLAGS) -D_BSD_SOCKLEN_T_=int" && make && make install)
        touch $@
 
 CLEAN_FILE += .cddb
index 21bd11d..c477ca8 100644 (file)
@@ -8,3 +8,14 @@
  #include <regex.h>
  
  
+--- libcddb.orig/lib/cddb_net.c        Mon Jul  5 22:07:40 2004
++++ libcddb/lib/cddb_net.c     Mon Jul  5 22:05:53 2004
+@@ -24,7 +24,7 @@
+ #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>
index e429912..70e6e0a 100644 (file)
@@ -100,7 +100,7 @@ MASH_URL=$(SF)/openmash/mash-src-$(MASH_VERSION).tar.gz
 CDDB_VERSION=0.9.4
 CDDB_URL=$(SF)/libcddb/libcddb-$(CDDB_VERSION).tar.gz
 VCDIMAGER_VERSION=0.7.20
-VCDIMAGER_URL=$(GNU)/vcdimager/vcdimager-$(VCDIMAGER_VERSION).tar.gz
+VCDIMAGER_URL=$(VIDEOLAN)/testing/contrib/vcdimager-$(VCDIMAGER_VERSION).tar.gz
 CDIO_VERSION=0.69
 CDIO_URL=$(GNU)/libcdio/libcdio-$(CDIO_VERSION).tar.gz