From 700c8abc43766c61a35daa61eac12a9bb401b34f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 12 Feb 2009 21:19:31 +0000 Subject: [PATCH] * flac: patch for building on GCC 4.3. svn path=/nixpkgs/branches/stdenv-updates/; revision=14058 --- pkgs/applications/audio/flac/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/audio/flac/default.nix b/pkgs/applications/audio/flac/default.nix index ad9d3356cdaf..4eef90b575cc 100644 --- a/pkgs/applications/audio/flac/default.nix +++ b/pkgs/applications/audio/flac/default.nix @@ -9,6 +9,14 @@ stdenv.mkDerivation rec { }; buildInputs = [libogg]; + + patches = [ + # Fix for building on GCC 4.3. + (fetchurl { + url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-libs/flac/files/flac-1.2.1-gcc-4.3-includes.patch?rev=1.1"; + sha256 = "1m6ql5vyjb2jlp5qiqp6w0drq1m6x6y3i1dnl5ywywl3zd36k0mr"; + }) + ]; meta = { homepage = http://flac.sourceforge.net;