diff options
author | Bart Brouns <bart@magnetophon.nl> | 2017-08-12 23:56:21 +0200 |
---|---|---|
committer | Bart Brouns <bart@magnetophon.nl> | 2017-08-12 23:58:17 +0200 |
commit | 463f53906abe58f532edd3811e98ac3ceb85fb85 (patch) | |
tree | 74ea075b06df14081abcdc2bc3ebf90015396c6a /pkgs/applications/audio | |
parent | 1e2529498db2367ac886ab68c7388dfbecc67a3d (diff) | |
download | nixpkgs-463f53906abe58f532edd3811e98ac3ceb85fb85.tar nixpkgs-463f53906abe58f532edd3811e98ac3ceb85fb85.tar.gz nixpkgs-463f53906abe58f532edd3811e98ac3ceb85fb85.tar.bz2 nixpkgs-463f53906abe58f532edd3811e98ac3ceb85fb85.tar.lz nixpkgs-463f53906abe58f532edd3811e98ac3ceb85fb85.tar.xz nixpkgs-463f53906abe58f532edd3811e98ac3ceb85fb85.tar.zst nixpkgs-463f53906abe58f532edd3811e98ac3ceb85fb85.zip |
mixxx: fix build
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/mixxx/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/mixxx/sqlite.patch | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/audio/mixxx/default.nix b/pkgs/applications/audio/mixxx/default.nix index 33265e1b3e8..0bf7472ea11 100644 --- a/pkgs/applications/audio/mixxx/default.nix +++ b/pkgs/applications/audio/mixxx/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { sha256 = "0vb71w1yq0xwwsclrn2jj9bk8w4n14rfv5c0aw46c11mp8xz7f71"; }; + patches = [ ./sqlite.patch ]; # from: https://bugs.gentoo.org/show_bug.cgi?id=622776 + buildInputs = [ chromaprint fftw flac libid3tag libmad libopus libshout libsndfile libusb1 libvorbis pkgconfig portaudio portmidi protobuf qt4 diff --git a/pkgs/applications/audio/mixxx/sqlite.patch b/pkgs/applications/audio/mixxx/sqlite.patch new file mode 100644 index 00000000000..ed9f4ee5143 --- /dev/null +++ b/pkgs/applications/audio/mixxx/sqlite.patch @@ -0,0 +1,13 @@ +diff -urN old/src/library/trackcollection.h mixxx-2.0.0/src/library/trackcollection.h +--- old/src/library/trackcollection.h 2017-07-30 00:04:48.511029517 -0400 ++++ mixxx-2.0.0/src/library/trackcollection.h 2017-07-30 00:05:03.378699826 -0400 +@@ -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; |