git.iko.soy/typeable/nixpkgs
on master help sign in
mixxx: fix build
commit463f53906abe58f532edd3811e98ac3ceb85fb85 authorBart Brouns <bart@magnetophon.nl> dateSat 12 Aug 2017, 23:56 (9 years ago) parent1e25294
2 files changed+15
pkgs/applications/audio/mixxx/default.nix+2 pkgs/applications/audio/mixxx/sqlite.patch+13
pkgs/applications/audio/mixxx/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
1313 sha256 = "0vb71w1yq0xwwsclrn2jj9bk8w4n14rfv5c0aw46c11mp8xz7f71";
1414 };
1515
16+ patches = [ ./sqlite.patch ]; # from: https://bugs.gentoo.org/show_bug.cgi?id=622776
17+
1618 buildInputs = [
1719 chromaprint fftw flac libid3tag libmad libopus libshout libsndfile
1820 libusb1 libvorbis pkgconfig portaudio portmidi protobuf qt4
pkgs/applications/audio/mixxx/sqlite.patchnew file+13
@@ -0,0 +1,13 @@
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;