diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-10-11 17:09:12 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-10-13 20:18:57 +0200 |
commit | a3c07f5e9e46db0414be383f2680b9cc6eb5d31c (patch) | |
tree | aac7ff7545801e04afc8444f1bdaf4fb90a08475 | |
parent | 4a571ba0dd489cf2eec01d070d9752d2ebd3262d (diff) | |
download | nixlib-a3c07f5e9e46db0414be383f2680b9cc6eb5d31c.tar nixlib-a3c07f5e9e46db0414be383f2680b9cc6eb5d31c.tar.gz nixlib-a3c07f5e9e46db0414be383f2680b9cc6eb5d31c.tar.bz2 nixlib-a3c07f5e9e46db0414be383f2680b9cc6eb5d31c.tar.lz nixlib-a3c07f5e9e46db0414be383f2680b9cc6eb5d31c.tar.xz nixlib-a3c07f5e9e46db0414be383f2680b9cc6eb5d31c.tar.zst nixlib-a3c07f5e9e46db0414be383f2680b9cc6eb5d31c.zip |
audacity: fix build with gcc-5
It would be probably better to actually update the package. /cc maintainer @the-kenny.
-rw-r--r-- | pkgs/applications/audio/audacity/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix index 67ec6b5a419e..221955e2bf94 100644 --- a/pkgs/applications/audio/audacity/default.nix +++ b/pkgs/applications/audio/audacity/default.nix @@ -12,6 +12,12 @@ stdenv.mkDerivation rec { sha256 = "0y9bvc3a3zxsk31yg7bha029mzkjiw5i9m86kbyj7x8ps0fm91z2"; }; + # fix with gcc-5 from http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2012-December/245884.html + postPatch = '' + substituteInPlace lib-src/libnyquist/nyquist/ffts/src/fftlib.c \ + --replace 'inline void' 'static inline void' + ''; + preConfigure = /* we prefer system-wide libs */ '' mv lib-src lib-src-rm mkdir lib-src @@ -30,11 +36,11 @@ stdenv.mkDerivation rec { dontDisableStatic = true; doCheck = true; - meta = { + meta = with stdenv.lib; { description = "Sound editor with graphical UI"; homepage = http://audacity.sourceforge.net; - license = stdenv.lib.licenses.gpl2Plus; - platforms = with stdenv.lib.platforms; linux; - maintainers = with stdenv.lib.maintainers; [ the-kenny ]; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = [ maintainers.the-kenny ]; }; } |