]> git.sesse.net Git - vlc/commitdiff
* backport [13042]
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 30 Oct 2005 19:56:45 +0000 (19:56 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 30 Oct 2005 19:56:45 +0000 (19:56 +0000)
extras/contrib/src/Makefile
extras/contrib/src/Patches/libcddb.patch [new file with mode: 0644]

index 5801473488e0da1ceaf8fb8c4e6bee6c6aa2e1e0..dd45746822da0d716e52b59a58aff4999bc03f28 100644 (file)
@@ -1014,6 +1014,7 @@ libcddb-$(CDDB_VERSION).tar.gz:
 
 libcddb: libcddb-$(CDDB_VERSION).tar.gz
        $(EXTRACT_GZ)
+       patch -p 0 < Patches/libcddb.patch
 
 .cddb: libcddb
        (cd $<; ./configure --prefix=$(PREFIX) --disable-shared --enable-static CFLAGS="$(CFLAGS) -D_BSD_SOCKLEN_T_=int" LDFLAGS="$(LDFLAGS) -liconv" && make && make install)
diff --git a/extras/contrib/src/Patches/libcddb.patch b/extras/contrib/src/Patches/libcddb.patch
new file mode 100644 (file)
index 0000000..52bc559
--- /dev/null
@@ -0,0 +1,13 @@
+diff -ruN libcddb.orig/include/cddb/cddb_regex.h libcddb/include/cddb/cddb_regex.h
+--- libcddb.orig/include/cddb/cddb_regex.h     Fri Oct 15 21:42:08 2004
++++ libcddb/include/cddb/cddb_regex.h  Tue Jan 18 01:57:50 2005
+@@ -30,9 +30,7 @@
+ #include <cddb/cddb_config.h>
+ #include <stdlib.h>
+-#ifdef CDDB_NEED_UNISTD_H
+ #include <unistd.h>
+-#endif
+ #include <regex.h>
+ /**