media-sound/mixxx: Fixed build with recent sqlite versions (bug #622776).
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 10 Aug 2017 23:55:26 +0000 (01:55 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 10 Aug 2017 23:55:43 +0000 (01:55 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

media-sound/mixxx/files/mixxx-2.0.0-sqlite3.patch [new file with mode: 0644]
media-sound/mixxx/mixxx-2.0.0-r4.ebuild

diff --git a/media-sound/mixxx/files/mixxx-2.0.0-sqlite3.patch b/media-sound/mixxx/files/mixxx-2.0.0-sqlite3.patch
new file mode 100644 (file)
index 0000000..a8cb15e
--- /dev/null
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/622776
+
+--- mixxx-2.0.0/src/library/trackcollection.h
++++ mixxx-2.0.0/src/library/trackcollection.h
+@@ -34,8 +34,7 @@
+ #include "library/dao/libraryhashdao.h"
+ #ifdef __SQLITE3__
+-typedef struct sqlite3_context sqlite3_context;
+-typedef struct Mem sqlite3_value;
++#include <sqlite3.h>
+ #endif
+ class TrackInfoObject;
index 3b71fc236f6632b36bca79d9806a9ba0db89be6a..1d968f368e3e67c611e2c82300736b7b62d29502 100644 (file)
@@ -77,6 +77,8 @@ PATCHES=(
        "${FILESDIR}"/${P}-chromaprint-1.4.patch #604528
        "${FILESDIR}"/${P}-gcc62.patch #595090
 
+       "${FILESDIR}"/${PN}-2.0.0-sqlite3.patch #622776
+
        # The following patches were taken from sunny-overlay (bug #608430)
        "${FILESDIR}"/${P}-fix-formatting-of-time-durations.patch
        "${FILESDIR}"/${P}-eliminate-unnecessary-heap-allocation-of-qtime.patch