Skip to content

Commit

Permalink
media-sound/mixxx: Fixed build with recent sqlite versions (bug #6227…
Browse files Browse the repository at this point in the history
…76).

Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
Lars Wendler committed Aug 10, 2017
1 parent 817bbc1 commit a97286d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions media-sound/mixxx/files/mixxx-2.0.0-sqlite3.patch
Original file line number Diff line number Diff line change
@@ -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;
2 changes: 2 additions & 0 deletions media-sound/mixxx/mixxx-2.0.0-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a97286d

Please sign in to comment.