gcc: Dont escape backslash in deps

This commit is contained in:
Alexey Pavlov
2020-05-11 20:08:01 +03:00
parent bf28c694fc
commit 9b7f67c5f6
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
--- gcc-10.1.0/libcpp/mkdeps.c.orig 2020-05-10 20:37:27.263933600 +0300
+++ gcc-10.1.0/libcpp/mkdeps.c 2020-05-10 20:42:00.700896900 +0300
@@ -156,7 +156,6 @@
/* FALLTHROUGH */
case '#':
- case ':':
buf[dst++] = '\\';
/* FALLTHROUGH */

View File

@@ -21,7 +21,7 @@ pkgver=10.1.0
#_majorver=${pkgver:0:1}
#_sourcedir=${_realname}-${_majorver}-${_snapshot}
_sourcedir=${_realname}-${pkgver}
pkgrel=1
pkgrel=2
pkgdesc="GCC for the MinGW-w64"
arch=('any')
url="https://gcc.gnu.org"
@@ -59,6 +59,7 @@ source=("https://ftp.gnu.org/gnu/gcc/${_realname}-${pkgver%%+*}/${_realname}-${p
0011-Enable-shared-gnat-implib.patch
0012-Handle-spaces-in-path-for-default-manifest.patch
0014-gcc-9-branch-clone_function_name_1-Retain-any-stdcall-suffix.patch
0015-makedeps-properly-handle-win-paths.patch
0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
0130-libstdc++-in-out.patch
0140-gcc-8.2.0-diagnostic-color.patch)
@@ -77,6 +78,7 @@ sha256sums=('b6898a23844b656f1b68691c5c012036c2e694ac4b53a8918d4712ad876e7ea2'
'3402f11c3edb3a2b0f27f7159c476879e1e6cddb05ac0327968d89ea245044c7'
'11dd5388a1e1c0a2bc8bc3824726598784b9b9e0896a3d77950ba6a4569f1128'
'21e31addcf13bc6fa6650b02ed0f2e195a1226260ae48c536840cc9230de2cfc'
'4233a8d893787413b316de3ac320fd65c46844d463b98c0a98fdc17100cca505'
'276ecc392c777d4b17d771a987e80dca50ff25d8f65671d5de139be73997064b'
'441d63d95622ffcc2fa5dd688aecad20d2ab16d7d275c567865a754e1d3d4b7a'
'5240a9e731b45c17a164066c7eb193c1fbee9fd8d9a2a5afa2edbcde9510da47')
@@ -119,6 +121,7 @@ prepare() {
0011-Enable-shared-gnat-implib.patch \
0012-Handle-spaces-in-path-for-default-manifest.patch \
0014-gcc-9-branch-clone_function_name_1-Retain-any-stdcall-suffix.patch \
0015-makedeps-properly-handle-win-paths.patch \
0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
apply_patch_with_msg \