mingw64-i686-libcddb 1.3.2 master
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Thu, 5 Dec 2013 21:00:13 +0000 (15:00 -0600)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Thu, 5 Dec 2013 21:00:13 +0000 (15:00 -0600)
1.3.1-libiconv.patch [new file with mode: 0644]
1.3.2-mingw-w64.patch [new file with mode: 0644]
mingw64-i686-libcddb.cygport [new file with mode: 0644]

diff --git a/1.3.1-libiconv.patch b/1.3.1-libiconv.patch
new file mode 100644 (file)
index 0000000..d89bb17
--- /dev/null
@@ -0,0 +1,17 @@
+--- origsrc/libcddb-1.3.1/lib/Makefile.am      2009-02-28 21:14:17.000000000 -0600
++++ src/libcddb-1.3.1/lib/Makefile.am  2009-03-19 02:06:26.373125000 -0500
+@@ -6,4 +6,4 @@ libcddb_la_SOURCES = cddb_track.c cddb_d
+                                        cddb_conn.c cddb_cmd.c cddb_net.c cddb_log.c cddb_util.c \
+                                        cddb.c cddb_site.c ll.c
+ libcddb_la_LDFLAGS = -no-undefined -version-info 4:3:2
+-libcddb_la_LIBADD = $(LIBICONV)
++libcddb_la_LIBADD = $(LTLIBICONV)
+--- origsrc/libcddb-1.3.1/libcddb.pc.in        2005-04-16 04:15:21.000000000 -0500
++++ src/libcddb-1.3.1/libcddb.pc.in    2009-03-19 02:06:26.373125000 -0500
+@@ -6,5 +6,5 @@ includedir=@includedir@
+ Name: libcddb
+ Description: CDDB server access library
+ Version: @VERSION@
+-Libs: -L${libdir} -lcddb @LIBICONV@
++Libs: -L${libdir} -lcddb @LTLIBICONV@
+ Cflags: -I${includedir}
diff --git a/1.3.2-mingw-w64.patch b/1.3.2-mingw-w64.patch
new file mode 100644 (file)
index 0000000..ba10a83
--- /dev/null
@@ -0,0 +1,34 @@
+--- origsrc/libcddb-1.3.2/include/cddb/cddb_conn.h     2009-02-28 21:28:07.000000000 -0600
++++ src/libcddb-1.3.2/include/cddb/cddb_conn.h 2013-12-05 14:22:07.350420100 -0600
+@@ -65,6 +65,7 @@ typedef enum {
+     SEARCH_TITLE = 2,           /**< disc title field */
+     SEARCH_TRACK = 4,           /**< track title field */
+     SEARCH_OTHER = 8,           /**< other fields */
++#undef SEARCH_ALL     /* defined in winioctl.h */
+     SEARCH_ALL = ~0,            /**< all fields */
+ } cddb_search_t;
+--- origsrc/libcddb-1.3.2/include/cddb/cddb_ni.h       2009-02-28 21:28:07.000000000 -0600
++++ src/libcddb-1.3.2/include/cddb/cddb_ni.h   2013-12-05 14:19:50.959619000 -0600
+@@ -37,10 +37,6 @@
+    typedef void *iconv_t;       /* for code uniformity */
+ #endif
+-#ifdef HAVE_WINDOWS_H
+-#include <windows.h>
+-#endif
+-
+ #ifdef HAVE_WINSOCK2_H
+ #include <winsock2.h>
+ #ifndef ETIMEDOUT
+@@ -54,6 +50,10 @@
+ #endif
+ #endif
++#ifdef HAVE_WINDOWS_H
++#include <windows.h>
++#endif
++
+ #include "cddb/cddb_regex.h"
+ #include "cddb/cddb.h"
+ #include "cddb/cddb_conn_ni.h"
diff --git a/mingw64-i686-libcddb.cygport b/mingw64-i686-libcddb.cygport
new file mode 100644 (file)
index 0000000..f2f3ee4
--- /dev/null
@@ -0,0 +1,30 @@
+CROSS_HOST="i686-w64-mingw32"
+inherit cross
+
+NAME="mingw64-i686-libcddb"
+VERSION=1.3.2
+RELEASE=1
+CATEGORY="Devel"
+SUMMARY="CDDB library for Win32 toolchain"
+DESCRIPTION="Libcddb is a C library to access data on a CDDB server (freedb.org).
+It allows you to search the database for possible CD matches, retrieve detailed
+information about a specific CD, and submit new CD entries to the database."
+HOMEPAGE="http://libcddb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libcddb/libcddb-${VERSION}.tar.bz2"
+SRC_DIR="libcddb-${VERSION}"
+PATCH_URI="
+       1.3.1-libiconv.patch
+       1.3.2-mingw-w64.patch
+"
+
+DIFF_EXCLUDES="intl m4 po version.h"
+
+# alarm: code requires struct sigaction
+CYGCONF_ARGS="
+       ac_cv_func_alarm=no
+       ac_cv_func_malloc_0_nonnull=yes
+       ac_cv_func_realloc_0_nonnull=yes
+"
+MAKEOPTS+=" bin_PROGRAMS= "
+
+KEEP_LA_FILES="none"
This page took 0.023455 seconds and 5 git commands to generate.