cuneiform: Fix build against glibc 2.26
Since glibc 2.26 the string.h file includes <strings.h>, which in case
of cuneiform will include the strings.h found in Kern/hhh/tigerh/h,
because of the search path order.
Fortunately for us the strings.h in cuneiform are completely unused and
no files reference or include it. I even checked various references to
types within strings.h and the only occurences are in cf_strings.h,
which is also included by other files.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @7c6f434c
commit63a47699f7a5358c0c4dac045d04ca0ae5a92424
authoraszlig <aszlig@nix.build>
dateThu 9 Nov 2017, 06:01 (9 years ago)
parente824c93
pkgs/tools/graphics/cuneiform/default.nix+4
@@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
1616 })
1717 ];
1818
19+ postPatch = ''
20+ rm cuneiform_src/Kern/hhh/tigerh/h/strings.h
21+ '';
22+
1923 buildInputs = [ imagemagick ];
2024
2125 nativeBuildInputs = [ cmake ];