diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-01-17 09:51:55 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-06-17 07:25:59 +0200 |
commit | a5e803c14b6eb6e7f4169531c6b4c9b17fabac0d (patch) | |
tree | c1853eedbd98d05167c24b4a0f69ad2658fae0dc /pkgs/development/libraries/agg | |
parent | 9b99fa86c1631081764375712b33fadfc100457e (diff) |
agg: fix build with gcc8
Diffstat (limited to 'pkgs/development/libraries/agg')
-rw-r--r-- | pkgs/development/libraries/agg/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/agg/default.nix b/pkgs/development/libraries/agg/default.nix index c0539aeed4764..69517817b5961 100644 --- a/pkgs/development/libraries/agg/default.nix +++ b/pkgs/development/libraries/agg/default.nix @@ -10,6 +10,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ autoconf automake libtool freetype SDL libX11 ]; + postPatch = '' + substituteInPlace include/agg_renderer_outline_aa.h \ + --replace 'line_profile_aa& profile() {' 'const line_profile_aa& profile() {' + ''; + # fix build with new automake, from Gentoo ebuild preConfigure = '' sed -i '/^AM_C_PROTOTYPES/d' configure.in |