Bug#880917: cross-gcc-dev: gcc-8/0008-g-include-directories-functional-again.patch: broken patch

Wookey <[email protected]> Tue, 7 Nov 2017 04:32:54 +0000
Newsgroups gmane.linux.debian.devel.toolchain
Organization Wookware
Message-ID <20171107043254.bfmyzz5jgc4vhcxd__28737.6849832528$1510029378$gmane$org@mail.wookware.org>
On 2017-11-05 17:40 +0100, Helmut Grohne wrote:
> Package: cross-gcc-dev
> Version: 154
> Tags: patch
> User: [email protected]
> Usertags: rebootstrap
> 
> Hi Dima and Wookey,
> 
> gcc-8/0008-g-include-directories-functional-again.patch has two hunks.
> The first of the modifies a hunk header of g++-multiarch-incdir.diff.
> That modification turns g++-multiarch-incdir.diff into a broken patch.
> The first hunk should be removed.

OK. Done. Seems to build a cross-gcc-8 OK

The patch is attached. 

Not sure where the offical git repo is, so I've not attempted to
update that, just the actual package in the archive.


Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
cross-gcc-fix-880917.patch (text/x-diff, 1.3 KB)
diff -Nru cross-gcc-154/debian/changelog cross-gcc-155/debian/changelog
--- cross-gcc-154/debian/changelog	2017-10-27 06:54:25.000000000 +0100
+++ cross-gcc-155/debian/changelog	2017-11-07 03:54:51.000000000 +0000
@@ -1,3 +1,9 @@
+cross-gcc (155) unstable; urgency=medium
+
+  * Fix corrupting gcc8 patch-patch (Closes: #880917)
+
+ -- Wookey <[email protected]>  Tue, 07 Nov 2017 02:59:16 +0000
+
 cross-gcc (154) unstable; urgency=medium
 
   * rebuild for 8-20171023-1
diff -Nru cross-gcc-154/patches/gcc-8/0008-g-include-directories-functional-again.patch cross-gcc-155/patches/gcc-8/0008-g-include-directories-functional-again.patch
--- cross-gcc-154/patches/gcc-8/0008-g-include-directories-functional-again.patch	2017-10-27 06:54:25.000000000 +0100
+++ cross-gcc-155/patches/gcc-8/0008-g-include-directories-functional-again.patch	2017-11-07 03:51:40.000000000 +0000
@@ -19,15 +19,6 @@
 index dbd9b6e..583373a 100644
 --- a/debian/patches/g++-multiarch-incdir.diff
 +++ b/debian/patches/g++-multiarch-incdir.diff
-@@ -99,7 +99,7 @@ Index: b/src/gcc/incpath.c
-  		    }
-  		  add_path (str, INC_SYSTEM, p->cxx_aware, false);
-  		}
--@@ -223,7 +235,16 @@ add_standard_paths (const char *sysroot,
-+@@ -223,7 +235,45 @@ add_standard_paths (const char *sysroot,
-  		  free (str);
-  		  continue;
-  		}
 @@ -117,3 +117,32 @@ Index: b/src/gcc/incpath.c
   	    }
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEER4nvI8Pe/wVWh5yq+4YyUahvnkcFAloBN24ACgkQ+4YyUahv
nkcuXBAAl1oFkmWicCAV/+1FVmE25r7ugLlMPUv+XJcax3euOp+1XhOKnQnqGiSE
WkOoNBozbjZP1uePMj7byYwDFecmMpA842lszugt4+PMtPlPwXmQvYoCLiSV7OLM
3QGbMcns2LEftjiZNLiS0VfGlSYDM4b/lZzrFsDZUMEoGV8XL6rZRGqIymOIRqA5
a653BsBQkHpgRFyvtyTw1P7ZJMQh7QogR5TMHR7sa3z1CO7sN1NDZsMrmZ1vo7TJ
20UkV87bUSYuhT45boc2NsWFYX+mv8tp/YWKzpmbKUCOmjj3JFn7akqn/cJSdGFI
ZZLYwgltRxGkzpue5H+oXbMSu9bisv9p6j5OVZaPbpS8xQweh2RMZFW2EnByhHPw
nHTG7MwoeY61q3pxutz3dR7mhfFAZUlejJ9s9iZ1Su0ULeXteOA1i4r60Os8rFPe
UM/tkCgk3MmssB8Hbk1TDQcO7HCxujYNcRvjx1DhteaWltobj7sMzhl36vAvH/3k
CqA/YQIhb11r00NkQKN9wBagj4jEESG2uBZy6dPBvpGQMmVcMBcqt8BIgVvsTLtS
icQjNhscg9kAE77rhfRkQkkoV8E4U0GhrrlNYfneWozwt/pZAfCZqb1jr2WiwD6h
xdg8RMLmpDh67NA/HmL2pSXiHFN7WavD1fYhiCtLFLNKCZB8PDQ=
=u7I1
-----END PGP SIGNATURE-----