lol

Drop texinfo6_7 & texinfo6_5 (#415152)

authored by

7c6f434c and committed by
GitHub
3b2b9168 a5593382

+46 -148
-72
pkgs/by-name/gn/gnulib/gnulib-longdouble-redirect.patch
··· 1 - 2 - Below is the subset of gnulib commit 3 - 776af40e09b476a41073131a90022572f448c189 which deals with long double 4 - redirects. The rest of that commit has been removed. 5 - 6 - diff --git a/lib/cdefs.h b/lib/cdefs.h 7 - index fd72b7b..4383e70 100644 8 - --- a/lib/cdefs.h 9 - +++ b/lib/cdefs.h 10 - @@ -483,7 +493,37 @@ 11 - # include <bits/long-double.h> 12 - #endif 13 - 14 - -#if defined __LONG_DOUBLE_MATH_OPTIONAL && defined __NO_LONG_DOUBLE_MATH 15 - +#if __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1 16 - +# ifdef __REDIRECT 17 - + 18 - +/* Alias name defined automatically. */ 19 - +# define __LDBL_REDIR(name, proto) ... unused__ldbl_redir 20 - +# define __LDBL_REDIR_DECL(name) \ 21 - + extern __typeof (name) name __asm (__ASMNAME ("__" #name "ieee128")); 22 - + 23 - +/* Alias name defined automatically, with leading underscores. */ 24 - +# define __LDBL_REDIR2_DECL(name) \ 25 - + extern __typeof (__##name) __##name \ 26 - + __asm (__ASMNAME ("__" #name "ieee128")); 27 - + 28 - +/* Alias name defined manually. */ 29 - +# define __LDBL_REDIR1(name, proto, alias) ... unused__ldbl_redir1 30 - +# define __LDBL_REDIR1_DECL(name, alias) \ 31 - + extern __typeof (name) name __asm (__ASMNAME (#alias)); 32 - + 33 - +# define __LDBL_REDIR1_NTH(name, proto, alias) \ 34 - + __REDIRECT_NTH (name, proto, alias) 35 - +# define __REDIRECT_NTH_LDBL(name, proto, alias) \ 36 - + __LDBL_REDIR1_NTH (name, proto, __##alias##ieee128) 37 - + 38 - +/* Unused. */ 39 - +# define __REDIRECT_LDBL(name, proto, alias) ... unused__redirect_ldbl 40 - +# define __LDBL_REDIR_NTH(name, proto) ... unused__ldbl_redir_nth 41 - + 42 - +# else 43 - +_Static_assert (0, "IEEE 128-bits long double requires redirection on this platform"); 44 - +# endif 45 - +#elif defined __LONG_DOUBLE_MATH_OPTIONAL && defined __NO_LONG_DOUBLE_MATH 46 - # define __LDBL_COMPAT 1 47 - # ifdef __REDIRECT 48 - # define __LDBL_REDIR1(name, proto, alias) __REDIRECT (name, proto, alias) 49 - @@ -492,6 +532,8 @@ 50 - # define __LDBL_REDIR1_NTH(name, proto, alias) __REDIRECT_NTH (name, proto, alias) 51 - # define __LDBL_REDIR_NTH(name, proto) \ 52 - __LDBL_REDIR1_NTH (name, proto, __nldbl_##name) 53 - +# define __LDBL_REDIR2_DECL(name) \ 54 - + extern __typeof (__##name) __##name __asm (__ASMNAME ("__nldbl___" #name)); 55 - # define __LDBL_REDIR1_DECL(name, alias) \ 56 - extern __typeof (name) name __asm (__ASMNAME (#alias)); 57 - # define __LDBL_REDIR_DECL(name) \ 58 - @@ -502,11 +544,13 @@ 59 - __LDBL_REDIR1_NTH (name, proto, __nldbl_##alias) 60 - # endif 61 - #endif 62 - -#if !defined __LDBL_COMPAT || !defined __REDIRECT 63 - +#if (!defined __LDBL_COMPAT && __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 0) \ 64 - + || !defined __REDIRECT 65 - # define __LDBL_REDIR1(name, proto, alias) name proto 66 - # define __LDBL_REDIR(name, proto) name proto 67 - # define __LDBL_REDIR1_NTH(name, proto, alias) name proto __THROW 68 - # define __LDBL_REDIR_NTH(name, proto) name proto __THROW 69 - +# define __LDBL_REDIR2_DECL(name) 70 - # define __LDBL_REDIR_DECL(name) 71 - # ifdef __REDIRECT 72 - # define __REDIRECT_LDBL(name, proto, alias) __REDIRECT (name, proto, alias)
-11
pkgs/by-name/gn/gnulib/package.nix
··· 34 34 # do not change headers to not update all vendored build files 35 35 dontFixup = true; 36 36 37 - passthru = { 38 - # This patch is used by multiple other packages (currently: 39 - # gnused, gettext) which contain vendored copies of gnulib. 40 - # Without it, compilation will fail with error messages about 41 - # "__LDBL_REDIR1_DECL" or similar on platforms with longdouble 42 - # redirects (currently powerpc64). Once all of those other 43 - # packages make a release with a newer gnulib we can drop this 44 - # patch. 45 - longdouble-redirect-patch = ./gnulib-longdouble-redirect.patch; 46 - }; 47 - 48 37 meta = with lib; { 49 38 description = "Central location for code to be shared among GNU packages"; 50 39 homepage = "https://www.gnu.org/software/gnulib/";
+2 -2
pkgs/development/libraries/allegro/default.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchurl, 5 - texinfo6_5, 5 + texinfo6, 6 6 libXext, 7 7 xorgproto, 8 8 libX11, ··· 42 42 pkg-config 43 43 ]; 44 44 buildInputs = [ 45 - texinfo6_5 45 + texinfo6 46 46 libXext 47 47 xorgproto 48 48 libX11
+4
pkgs/development/libraries/iksemel/default.nix
··· 20 20 sha256 = "1xv302p344hnpxqcgs3z6wwxhrik39ckgfw5cjyrw0dkf316z9yh"; 21 21 }; 22 22 23 + patches = [ 24 + ./update-texinfo.diff 25 + ]; 26 + 23 27 nativeBuildInputs = [ 24 28 pkg-config 25 29 autoreconfHook
+28
pkgs/development/libraries/iksemel/update-texinfo.diff
··· 1 + diff --git a/doc/iksemel.texi b/doc/iksemel.texi 2 + index f57779c..2a7fb31 100644 3 + --- a/doc/iksemel.texi 4 + +++ b/doc/iksemel.texi 5 + @@ -1,7 +1,6 @@ 6 + \input texinfo @c -*-texinfo-*- 7 + @c %**start of header 8 + @setfilename iksemel 9 + -@setcontentsaftertitlepage 10 + @settitle Iksemel Programmers Manual 11 + @set VERSION 1.2 12 + @c %**end of header 13 + @@ -24,6 +23,8 @@ MA 02111-1307, USA. 14 + 15 + @end titlepage 16 + 17 + +@contents 18 + + 19 + @ifinfo 20 + @node Top, , , (dir) 21 + @top iksemel Programmers Manual 22 + @@ -1538,6 +1539,4 @@ Jabber Protocol Documents @url{http://www.jabber.org/protocol/} 23 + @unnumbered Function Index 24 + @printindex fn 25 + 26 + - 27 + -@contents 28 + @bye
+3 -14
pkgs/development/tools/misc/texinfo/common.nix
··· 7 7 libintl, 8 8 bashNonInteractive, 9 9 updateAutotoolsGnuConfigScriptsHook, 10 - gnulib, 11 10 gawk, 12 11 freebsd, 13 12 glibcLocales, 14 13 libiconv, 15 - xz, 16 14 17 15 # we are a dependency of gcc, this simplifies bootstrapping 18 16 interactive ? false, ··· 56 54 57 55 patches = patches ++ optional crossBuildTools ./cross-tools-flags.patch; 58 56 59 - postPatch = 60 - '' 61 - patchShebangs tp/maintain/regenerate_commands_perl_info.pl 62 - '' 63 - # This patch is needed for IEEE-standard long doubles on 64 - # powerpc64; it does not apply cleanly to texinfo 5.x or 65 - # earlier. It is merged upstream in texinfo 6.8. 66 - + optionalString (version == "6.7") '' 67 - patch -p1 -d gnulib < ${gnulib.passthru.longdouble-redirect-patch} 68 - ''; 57 + postPatch = '' 58 + patchShebangs tp/maintain/regenerate_commands_perl_info.pl 59 + ''; 69 60 70 61 env = 71 62 { ··· 147 138 148 139 meta = meta // { 149 140 branch = version; 150 - # see comment above in patches section 151 - broken = stdenv.hostPlatform.isPower64 && versionOlder version "6.0"; 152 141 }; 153 142 }
-12
pkgs/development/tools/misc/texinfo/packages.nix
··· 8 8 libintl, 9 9 bashNonInteractive, 10 10 updateAutotoolsGnuConfigScriptsHook, 11 - gnulib, 12 11 gawk, 13 12 freebsd, 14 13 libiconv, 15 - xz, 16 14 17 15 # we are a dependency of gcc, this simplifies bootstrapping 18 16 interactive ? false, ··· 54 52 updateAutotoolsGnuConfigScriptsHook 55 53 fetchurl 56 54 perl 57 - xz 58 55 libintl 59 56 libiconv 60 57 bashNonInteractive 61 - gnulib 62 58 gawk 63 59 freebsd 64 60 ncurses ··· 69 65 }; 70 66 in 71 67 { 72 - texinfo6_5 = buildTexinfo { 73 - version = "6.5"; 74 - hash = "sha256-d3dLP0oGwgcFzC7xyASGRCLjz5UjXpZbHwCkbffaX2I="; 75 - }; 76 - texinfo6_7 = buildTexinfo { 77 - version = "6.7"; 78 - hash = "sha256-mIQDwVQtFa0ERgC5CZl7owebEOAyJMYRiBF/NnawLKo="; 79 - }; 80 68 texinfo6 = buildTexinfo { 81 69 version = "6.8"; 82 70 hash = "sha256-jrdT7Si8oh+PVsGhgDYq7XiSKb1i//WL+DaOm+tZ/sQ=";
+7 -25
pkgs/tools/security/fwknop/default.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - fetchpatch, 6 5 autoreconfHook, 7 6 libpcap, 8 7 texinfo, ··· 18 17 19 18 stdenv.mkDerivation rec { 20 19 pname = "fwknop"; 21 - version = "2.6.10"; 20 + version = "2.6.11"; 22 21 23 22 src = fetchFromGitHub { 24 23 owner = "mrash"; 25 - repo = pname; 26 - rev = version; 27 - sha256 = "05kvqhmxj9p2y835w75f3jvhr38bb96cd58mvfd7xil9dhmhn9ra"; 24 + repo = "fwknop"; 25 + tag = version; 26 + hash = "sha256-jnEBRJCt7pAmXRIBVT2OwJqT5Zr/JaRgPDqccx0W/9o="; 28 27 }; 29 28 30 - patches = [ 31 - # Pull patch pending upstream inclusion for -fno-common tollchains: 32 - # https://github.com/mrash/fwknop/pull/319 33 - (fetchpatch { 34 - name = "fno-common.patch"; 35 - url = "https://github.com/mrash/fwknop/commit/a8214fd58bc46d23b64b3a55db023c7f5a5ea6af.patch"; 36 - sha256 = "0cp1350q66n455hpd3rdydb9anx66bcirza5gyyyy5232zgg58bi"; 37 - }) 38 - 39 - # Pull patch pending upstream inclusion for `autoconf-2.72` support: 40 - # https://github.com/mrash/fwknop/pull/357 41 - (fetchpatch { 42 - name = "autoconf-2.72.patch"; 43 - url = "https://github.com/mrash/fwknop/commit/bee7958532338499e35c19e75937891c8113f7de.patch"; 44 - hash = "sha256-lrro5dSDR0Zz9aO3bV5vFFADNJjoDR9z6P5lFYWyLW8="; 45 - }) 46 - ]; 29 + nativeBuildInputs = [ autoreconfHook ]; 47 30 48 - nativeBuildInputs = [ autoreconfHook ]; 49 31 buildInputs = 50 32 [ 51 33 libpcap ··· 76 58 # this'll probably be helpful until there's a NixOS module for that (feel free 77 59 # to ping me (@primeos) if you want to help). 78 60 preInstall = '' 79 - substituteInPlace Makefile --replace\ 61 + substituteInPlace Makefile --replace-fail \ 80 62 "sysconfdir = /etc"\ 81 63 "sysconfdir = $out/etc" 82 - substituteInPlace server/Makefile --replace\ 64 + substituteInPlace server/Makefile --replace-fail \ 83 65 "wknopddir = /etc/fwknop"\ 84 66 "wknopddir = $out/etc/fwknop" 85 67 '';
+2 -12
pkgs/top-level/all-packages.nix
··· 3010 3010 3011 3011 fstl = callPackage ../applications/graphics/fstl { }; 3012 3012 3013 - fwknop = callPackage ../tools/security/fwknop { 3014 - texinfo = texinfo6_7; # Uses @setcontentsaftertitlepage, removed in 6.8. 3015 - }; 3013 + fwknop = callPackage ../tools/security/fwknop { }; 3016 3014 3017 3015 uniscribe = callPackage ../tools/text/uniscribe { }; 3018 3016 ··· 7687 7685 7688 7686 texinfoPackages = callPackages ../development/tools/misc/texinfo/packages.nix { }; 7689 7687 inherit (texinfoPackages) 7690 - texinfo6_5 # needed for allegro 7691 - texinfo6_7 # needed for gpm, iksemel and fwknop 7692 7688 texinfo6 7693 7689 texinfo7 7694 7690 ; ··· 11083 11079 11084 11080 gpm = callPackage ../servers/gpm { 11085 11081 withNcurses = false; # Keep curses disabled for lack of value 11086 - 11087 - # latest 6.8 mysteriously fails to parse '@headings single': 11088 - # https://lists.gnu.org/archive/html/bug-texinfo/2021-09/msg00011.html 11089 - texinfo = buildPackages.texinfo6_7; 11090 11082 }; 11091 11083 11092 11084 gpm-ncurses = gpm.override { withNcurses = true; }; ··· 12834 12826 subversionSupport = true; 12835 12827 }; 12836 12828 12837 - iksemel = callPackage ../development/libraries/iksemel { 12838 - texinfo = buildPackages.texinfo6_7; # Uses @setcontentsaftertitlepage, removed in 6.8. 12839 - }; 12829 + iksemel = callPackage ../development/libraries/iksemel { }; 12840 12830 12841 12831 avalonia-ilspy = callPackage ../applications/misc/avalonia-ilspy { 12842 12832 inherit (darwin) autoSignDarwinBinariesHook;