diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-05-28 13:14:37 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-05-28 13:16:02 +0200 |
commit | 6cc8869f383a242c4c995e9c158cc03d5b2c5170 (patch) | |
tree | c7160ce87af3debe4f244185cf323f77c2175a2a /pkgs/development/libraries/fltk | |
parent | adea54614d848c8a85e700885ec95a93402bd72b (diff) | |
download | nixlib-6cc8869f383a242c4c995e9c158cc03d5b2c5170.tar nixlib-6cc8869f383a242c4c995e9c158cc03d5b2c5170.tar.gz nixlib-6cc8869f383a242c4c995e9c158cc03d5b2c5170.tar.bz2 nixlib-6cc8869f383a242c4c995e9c158cc03d5b2c5170.tar.lz nixlib-6cc8869f383a242c4c995e9c158cc03d5b2c5170.tar.xz nixlib-6cc8869f383a242c4c995e9c158cc03d5b2c5170.tar.zst nixlib-6cc8869f383a242c4c995e9c158cc03d5b2c5170.zip |
fltk13: fix a bug preventing use in octave
Fixes #8007 (together with the parent commit).
Diffstat (limited to 'pkgs/development/libraries/fltk')
-rw-r--r-- | pkgs/development/libraries/fltk/fltk13.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/fltk/fltk13.nix b/pkgs/development/libraries/fltk/fltk13.nix index 262ef8b865e1..a5b65f09e613 100644 --- a/pkgs/development/libraries/fltk/fltk13.nix +++ b/pkgs/development/libraries/fltk/fltk13.nix @@ -15,6 +15,12 @@ composableDerivation.composableDerivation {} { sha256 = "15qd7lkz5d5ynz70xhxhigpz3wns39v9xcf7ggkl0792syc8sfgq"; }; + # http://www.fltk.org/str.php?L3156 + postPatch = '' + substituteInPlace FL/x.H \ + --replace 'class Fl_XFont_On_Demand' 'class FL_EXPORT Fl_XFont_On_Demand' + ''; + propagatedBuildInputs = [ x11 inputproto libXi freeglut ]; enableParallelBilding = true; |