Unverified Commit b8e9a541 authored by Pavol Rusnak's avatar Pavol Rusnak Committed by GitHub
Browse files

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

parents 2d5408fd 771daa9b
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
--- 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
+6 −0
Original line number Diff line number Diff line
@@ -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;
+12 −0
Original line number Diff line number Diff line
--- 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
+6 −0
Original line number Diff line number Diff line
@@ -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;