From: Lars Wendler Date: Thu, 10 Aug 2017 23:55:26 +0000 (+0200) Subject: media-sound/mixxx: Fixed build with recent sqlite versions (bug #622776). X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a97286de5285e5dcb4f707c5fa3b24c5a5ed8c21;p=gentoo.git media-sound/mixxx: Fixed build with recent sqlite versions (bug #622776). Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- 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 index 000000000000..a8cb15e63c65 --- /dev/null +++ b/media-sound/mixxx/files/mixxx-2.0.0-sqlite3.patch @@ -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 + #endif + + class TrackInfoObject; diff --git a/media-sound/mixxx/mixxx-2.0.0-r4.ebuild b/media-sound/mixxx/mixxx-2.0.0-r4.ebuild index 3b71fc236f66..1d968f368e3e 100644 --- a/media-sound/mixxx/mixxx-2.0.0-r4.ebuild +++ b/media-sound/mixxx/mixxx-2.0.0-r4.ebuild @@ -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