texinfo: apply gnulib.passthru.longdouble-redirect-patch

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

+9
+9
pkgs/development/tools/misc/texinfo/common.nix
··· 1 1 { version, sha256, patches ? [] }: 2 2 3 3 { lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash 4 + , gnulib 4 5 5 6 # we are a dependency of gcc, this simplifies bootstraping 6 7 , interactive ? false, ncurses, procps ··· 30 31 31 32 postPatch = '' 32 33 patchShebangs tp/maintain 34 + '' 35 + # This patch is needed for IEEE-standard long doubles on 36 + # powerpc64; it does not apply cleanly to texinfo 5.x or 37 + # earlier. It is merged upstream in texinfo 6.8. 38 + + lib.optionalString (with lib.strings; versionAtLeast version "6.0" && versionOlder version "6.8") '' 39 + patch -p1 -d gnulib < ${gnulib.passthru.longdouble-redirect-patch} 33 40 ''; 34 41 35 42 # ncurses is required to build `makedoc' ··· 82 89 license = licenses.gpl3Plus; 83 90 platforms = platforms.all; 84 91 maintainers = with maintainers; [ vrthra oxij ]; 92 + # see comment above in patches section 93 + broken = stdenv.hostPlatform.isPower64 && lib.strings.versionOlder version "6.0"; 85 94 86 95 longDescription = '' 87 96 Texinfo is the official documentation format of the GNU project.