audacity: fix build with gcc-5
It would be probably better to actually update the package. /cc maintainer @the-kenny.
This commit is contained in:
parent
4a571ba0dd
commit
a3c07f5e9e
|
@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0y9bvc3a3zxsk31yg7bha029mzkjiw5i9m86kbyj7x8ps0fm91z2";
|
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 */ ''
|
preConfigure = /* we prefer system-wide libs */ ''
|
||||||
mv lib-src lib-src-rm
|
mv lib-src lib-src-rm
|
||||||
mkdir lib-src
|
mkdir lib-src
|
||||||
|
@ -30,11 +36,11 @@ stdenv.mkDerivation rec {
|
||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Sound editor with graphical UI";
|
description = "Sound editor with graphical UI";
|
||||||
homepage = http://audacity.sourceforge.net;
|
homepage = http://audacity.sourceforge.net;
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
maintainers = [ maintainers.the-kenny ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue