summaryrefslogtreecommitdiffstats
path: root/audio/mixxx/patches/mixxx-remove-sqlite-typedef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mixxx/patches/mixxx-remove-sqlite-typedef.patch')
-rw-r--r--audio/mixxx/patches/mixxx-remove-sqlite-typedef.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/mixxx/patches/mixxx-remove-sqlite-typedef.patch b/audio/mixxx/patches/mixxx-remove-sqlite-typedef.patch
new file mode 100644
index 0000000000..b29b255595
--- /dev/null
+++ b/audio/mixxx/patches/mixxx-remove-sqlite-typedef.patch
@@ -0,0 +1,27 @@
+--- a/src/library/trackcollection.cpp
++++ b/src/library/trackcollection.cpp
+@@ -2,10 +2,6 @@
+ #include <QtDebug>
+
+ #include "library/trackcollection.h"
+-
+-#ifdef __SQLITE3__
+-#include <sqlite3.h>
+-#endif
+
+ #include "library/librarytablemodel.h"
+ #include "library/schemamanager.h"
+
+--- a/src/library/trackcollection.h
++++ b/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;
+