Merge pull request #28210 from magnetophon/mixxx

mixxx: fix build

authored by Frederik Rietdijk and committed by GitHub 651236d4 96dc15f2

+15
+2
pkgs/applications/audio/mixxx/default.nix
··· 13 13 sha256 = "0vb71w1yq0xwwsclrn2jj9bk8w4n14rfv5c0aw46c11mp8xz7f71"; 14 14 }; 15 15 16 + patches = [ ./sqlite.patch ]; # from: https://bugs.gentoo.org/show_bug.cgi?id=622776 17 + 16 18 buildInputs = [ 17 19 chromaprint fftw flac libid3tag libmad libopus libshout libsndfile 18 20 libusb1 libvorbis pkgconfig portaudio portmidi protobuf qt4
+13
pkgs/applications/audio/mixxx/sqlite.patch
··· 1 + diff -urN old/src/library/trackcollection.h mixxx-2.0.0/src/library/trackcollection.h 2 + --- old/src/library/trackcollection.h 2017-07-30 00:04:48.511029517 -0400 3 + +++ mixxx-2.0.0/src/library/trackcollection.h 2017-07-30 00:05:03.378699826 -0400 4 + @@ -34,8 +34,7 @@ 5 + #include "library/dao/libraryhashdao.h" 6 + 7 + #ifdef __SQLITE3__ 8 + -typedef struct sqlite3_context sqlite3_context; 9 + -typedef struct Mem sqlite3_value; 10 + +#include <sqlite3.h> 11 + #endif 12 + 13 + class TrackInfoObject;