summaryrefslogtreecommitdiff
path: root/packages/glibc/2.20/0017-fix-GCC-10-detection.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-08-23 08:39:07 (GMT)
committerGitHub <noreply@github.com>2020-08-23 08:39:07 (GMT)
commit0c3426eaecc21397ed735894d8bfa0c21158615d (patch)
treeb56a1f3a34b10d981bc08e24c96f0ff773de493f /packages/glibc/2.20/0017-fix-GCC-10-detection.patch
parentd1a320d6cf55024bcb828a923f05583023366e2d (diff)
parent3a39186a4ba7f549e4297f77ca28d89ae6b615b7 (diff)
Merge pull request #1352 from jakublabenski/master
Allow glibc 2.12 - 2.20 to work with GCC 10+
Diffstat (limited to 'packages/glibc/2.20/0017-fix-GCC-10-detection.patch')
-rw-r--r--packages/glibc/2.20/0017-fix-GCC-10-detection.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/glibc/2.20/0017-fix-GCC-10-detection.patch b/packages/glibc/2.20/0017-fix-GCC-10-detection.patch
new file mode 100644
index 0000000..c2afc77
--- /dev/null
+++ b/packages/glibc/2.20/0017-fix-GCC-10-detection.patch
@@ -0,0 +1,25 @@
+From 0991846fc6d5d0ef3800391bd29f2759780a3041 Mon Sep 17 00:00:00 2001
+From: Jakub Labenski <kuba@parasoft.com>
+Date: Fri, 5 Jun 2020 09:11:40 +0200
+Subject: [PATCH] Fix GCC 10+ detection
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 86ba30774b..b22ad9cb07 100755
+--- a/configure
++++ b/configure
+@@ -4661,7 +4661,7 @@ $as_echo_n "checking version of $CC... " >&6; }
+ ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
+ case $ac_prog_version in
+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+- 4.[4-9].* | 4.[1-9][0-9].* | [5-9].* )
++ 4.[4-9].* | 4.[1-9][0-9].* | [5-9].* | [1-9][0-9].* )
+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
+
+--
+2.25.1
+