lol

audacity: apply Arch patch to avoid vulnerable ffmpeg

Now it builds with the latest branch. /cc #12437.

+8 -4
+7 -1
pkgs/applications/audio/audacity/default.nix
··· 1 1 { stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool, 2 - libogg, libvorbis, libmad, alsaLib, libsndfile, soxr, flac, lame, 2 + libogg, libvorbis, libmad, alsaLib, libsndfile, soxr, flac, lame, fetchpatch, 3 3 expat, libid3tag, ffmpeg, soundtouch /*, portaudio - given up fighting their portaudio.patch */ 4 4 }: 5 5 ··· 11 11 url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz"; 12 12 sha256 = "15c5ff7ac1c0b19b08f4bdcb0f4988743da2f9ed3fab41d6f07600e67cb9ddb6"; 13 13 }; 14 + patches = [(fetchpatch { 15 + name = "new-ffmpeg.patch"; 16 + url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk" 17 + + "/audacity-ffmpeg.patch?h=packages/audacity&id=0c1e35798d4d70692"; 18 + sha256 = "19fr674mw844zmkp1476yigkcnmb6zyn78av64ccdwi3p68i00rf"; 19 + })]; 14 20 15 21 preConfigure = /* we prefer system-wide libs */ '' 16 22 mv lib-src lib-src-rm
+1 -3
pkgs/top-level/all-packages.nix
··· 11099 11099 11100 11100 audacious = callPackage ../applications/audio/audacious { }; 11101 11101 11102 - audacity = callPackage ../applications/audio/audacity { 11103 - ffmpeg = ffmpeg_2_2; 11104 - }; 11102 + audacity = callPackage ../applications/audio/audacity { }; 11105 11103 11106 11104 audio-recorder = callPackage ../applications/audio/audio-recorder { }; 11107 11105