gcc-arm-embedded-{13,14}: fix info file causing rebuild error

https://github.com/NixOS/nixpkgs/issues/363902
This commit is contained in:
Pavol Rusnak 2025-04-14 18:58:20 +02:00
parent f6b299d777
commit 771daa9bf5
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
4 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--- a/share/info/porting.info
+++ b/share/info/porting.info
@@ -16,9 +16,7 @@ a permission notice identical to this one.
manual into another language, under the above conditions for modified
versions.
START-INFO-DIR-ENTRY
-START-INFO-DIR-ENTRY
* Embed with GNU: (porting-). Embed with GNU
-END-INFO-DIR-ENTRY
END-INFO-DIR-ENTRY
Copyright (C) 1993, 1994, 1995 Cygnus Support

View file

@ -32,6 +32,12 @@ stdenv.mkDerivation rec {
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};
patches = [
# fix double entry in share/info/porting.info
# https://github.com/NixOS/nixpkgs/issues/363902
./info-fix.patch
];
dontConfigure = true;
dontBuild = true;
dontPatchELF = true;

View file

@ -0,0 +1,12 @@
--- a/share/info/porting.info
+++ b/share/info/porting.info
@@ -16,9 +16,7 @@ a permission notice identical to this one.
manual into another language, under the above conditions for modified
versions.
START-INFO-DIR-ENTRY
-START-INFO-DIR-ENTRY
* Embed with GNU: (porting-). Embed with GNU
-END-INFO-DIR-ENTRY
END-INFO-DIR-ENTRY
Copyright (C) 1993, 1994, 1995 Cygnus Support

View file

@ -34,6 +34,12 @@ stdenv.mkDerivation rec {
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};
patches = [
# fix double entry in share/info/porting.info
# https://github.com/NixOS/nixpkgs/issues/363902
./info-fix.patch
];
dontConfigure = true;
dontBuild = true;
dontPatchELF = true;