summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Mounce <ryan@mounce.com.au>2017-08-06 14:22:18 +0930
committerFelix Fietkau <nbd@nbd.name>2017-10-05 21:38:54 +0200
commitf67c22e0c2431c0e152adc573bbf46a8607779c4 (patch)
tree87ba8c05526bed00a27bd6a30c5a350efa110222
parent067221360e87fe7bd66b194feb8a080a9dbdf17c (diff)
downloadmtk-20170518-f67c22e0c2431c0e152adc573bbf46a8607779c4.zip
mtk-20170518-f67c22e0c2431c0e152adc573bbf46a8607779c4.tar.gz
mtk-20170518-f67c22e0c2431c0e152adc573bbf46a8607779c4.tar.bz2
toolchain/gdb: update to version 8.0.1
Fixes CVE-2017-9778. Signed-off-by: Ryan Mounce <ryan@mounce.com.au> [reference fixed CVE] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
-rw-r--r--toolchain/gdb/Makefile4
-rw-r--r--toolchain/gdb/patches/110-no_testsuite.patch4
-rw-r--r--toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch2
3 files changed, 5 insertions, 5 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 8a18d3e..e6c845a 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -17,11 +17,11 @@ PKG_HASH:=6a91f86cc487c1548d3f5d4f29f7226d2019c0db8a63633aeabd5914a340f3f9
GDB_DIR:=binutils-$(PKG_NAME)-$(PKG_VERSION)
PATCH_DIR:=./patches-arc
else
-PKG_VERSION:=7.12.1
+PKG_VERSION:=8.0.1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/gdb
-PKG_HASH:=4607680b973d3ec92c30ad029f1b7dbde3876869e6b3a117d8a7e90081113186
+PKG_HASH:=3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3
GDB_DIR:=$(PKG_NAME)-$(PKG_VERSION)
endif
diff --git a/toolchain/gdb/patches/110-no_testsuite.patch b/toolchain/gdb/patches/110-no_testsuite.patch
index 68d1c90..e86ba6d 100644
--- a/toolchain/gdb/patches/110-no_testsuite.patch
+++ b/toolchain/gdb/patches/110-no_testsuite.patch
@@ -1,6 +1,6 @@
--- a/gdb/configure
+++ b/gdb/configure
-@@ -874,8 +874,7 @@ MAKEINFOFLAGS
+@@ -869,8 +869,7 @@ MAKEINFOFLAGS
YACC
YFLAGS
XMKMF'
@@ -10,7 +10,7 @@
multi-ice
gdbserver'
-@@ -5617,7 +5616,7 @@ $as_echo "$with_auto_load_safe_path" >&6
+@@ -6473,7 +6472,7 @@ $as_echo "$with_auto_load_safe_path" >&6
diff --git a/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
index 562902c..9ce91a0 100644
--- a/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
+++ b/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
@@ -1,6 +1,6 @@
--- a/gdb/gdbserver/configure
+++ b/gdb/gdbserver/configure
-@@ -2476,7 +2476,7 @@ $as_echo "$as_me: error: \`$ac_var' was
+@@ -2469,7 +2469,7 @@ $as_echo "$as_me: error: \`$ac_var' was
ac_cache_corrupted=: ;;
,);;
*)