diff options
author | marius851000 <mariusdavid@laposte.net> | 2019-11-21 08:25:51 +0100 |
---|---|---|
committer | marius851000 <mariusdavid@laposte.net> | 2019-11-21 08:25:51 +0100 |
commit | 13c781d445a43b73dca823c1d8c9a8879cdbdf65 (patch) | |
tree | a174c669abbb4362f1ce5434d144179b0cb9bef3 /pkgs/misc/gnash | |
parent | f2503c14e534c2d6f9d4df224bbc70ad850ea3c0 (diff) |
gnash: fix compilation due to misdetection of the libgif version
Diffstat (limited to 'pkgs/misc/gnash')
-rw-r--r-- | pkgs/misc/gnash/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/misc/gnash/default.nix b/pkgs/misc/gnash/default.nix index e866a1937d69d..2efaa98d67b08 100644 --- a/pkgs/misc/gnash/default.nix +++ b/pkgs/misc/gnash/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, autoreconfHook +{ stdenv, fetchgit, fetchpatch, autoreconfHook , pkgconfig, libtool, boost, SDL , glib, pango, gettext, curl, xorg , libpng, libjpeg, giflib, speex, atk @@ -93,6 +93,13 @@ stdenv.mkDerivation { ++ optionals enablePlugins [ xulrunner npapi_sdk ] ++ optionals enableGTK [ gtk2 gnome2.gtkglext gnome2.GConf ]; + patches = [ + (fetchpatch { # fix compilation due to bad detection of libgif version: https://savannah.gnu.org/patch/index.php?9873 + url = "https://savannah.gnu.org/patch/download.php?file_id=47859"; + sha256 = "0aimayzgi5065gkcfcr8d5lkd9c0471q7dqmln42hjzq847n6d5y"; + }) + ]; + configureFlags = with stdenv.lib; [ "--with-boost-incl=${boost.dev}/include" "--with-boost-lib=${boost.out}/lib" |