From ec321939a77843497c860196ea06d7776d94b755 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 2 Sep 2022 22:17:13 +0100 Subject: gentoo auto-resync : 02:09:2022 - 22:17:13 --- sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch | 48 --------------------- .../dtc-1.5.0-fdt_check_full-visibility.patch | 12 ------ sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch | 50 ---------------------- 3 files changed, 110 deletions(-) delete mode 100644 sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch delete mode 100644 sys-apps/dtc/files/dtc-1.5.0-fdt_check_full-visibility.patch delete mode 100644 sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch (limited to 'sys-apps/dtc/files') diff --git a/sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch b/sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch deleted file mode 100644 index b9b0175c0bd3..000000000000 --- a/sys-apps/dtc/files/dtc-1.4.4-posix-shell.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 4d9522764985462741c7bb4af1ab231b9251476b Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Wed, 10 Jan 2018 00:41:43 -0500 -Subject: [PATCH] dtdiff: change to POSIX shell - -This changes from the bash-specific process substitution feature to -reading with pipes. It relies on /dev/fd or /proc/self/fd existing. - -URL: https://crbug.com/756559 -Signed-off-by: Mike Frysinger ---- - dtdiff | 19 +++++++++++++------ - 1 file changed, 13 insertions(+), 6 deletions(-) - -diff --git a/dtdiff b/dtdiff -index 5fa772b0ab62..4d1b71756c2f 100644 ---- a/dtdiff -+++ b/dtdiff -@@ -1,8 +1,4 @@ --#! /bin/bash -- --# This script uses the bash <(...) extension. --# If you want to change this to work with a generic /bin/sh, make sure --# you fix that. -+#! /bin/sh - - - DTC=dtc -@@ -35,4 +31,15 @@ if [ $# != 2 ]; then - exit 1 - fi - --diff -u <(source_and_sort "$1") <(source_and_sort "$2") -+for dir in /dev/fd /proc/self/fd; do -+ if [ -d "${dir}" ]; then -+ break -+ fi -+done -+ -+source_and_sort "$1" | ( -+ # Duplicate current stdin from the first file to fd 3 so we can change fd 0 -+ # to the second file. -+ exec 3<&0 -+ source_and_sort "$2" | diff -u "${dir}/3" "${dir}/0" -+) --- -2.15.1 - diff --git a/sys-apps/dtc/files/dtc-1.5.0-fdt_check_full-visibility.patch b/sys-apps/dtc/files/dtc-1.5.0-fdt_check_full-visibility.patch deleted file mode 100644 index a5a3d7524c45..000000000000 --- a/sys-apps/dtc/files/dtc-1.5.0-fdt_check_full-visibility.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/libfdt/version.lds b/libfdt/version.lds -index 9f5d708..6b0f6d8 100644 ---- a/libfdt/version.lds -+++ b/libfdt/version.lds -@@ -1,6 +1,7 @@ - LIBFDT_1.2 { - global: - fdt_next_node; -+ fdt_check_full; - fdt_check_header; - fdt_move; - fdt_string; diff --git a/sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch b/sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch deleted file mode 100644 index 80773bfaebbc..000000000000 --- a/sys-apps/dtc/files/dtc-1.5.0-gcc-10.patch +++ /dev/null @@ -1,50 +0,0 @@ -https://bugs.gentoo.org/706660 -https://git.kernel.org/pub/scm/utils/dtc/dtc.git/patch/?id=0e9225eb0dfec51def612b928d2f1836b092bc7e - -From 0e9225eb0dfec51def612b928d2f1836b092bc7e Mon Sep 17 00:00:00 2001 -From: Dirk Mueller -Date: Tue, 14 Jan 2020 18:53:41 +0100 -Subject: Remove redundant YYLOC global declaration - -gcc 10 will default to -fno-common, which causes this error at link -time: - - (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here - -This is because both dtc-lexer as well as dtc-parser define the same -global symbol yyloc. Before with -fcommon those were merged into one -defintion. The proper solution would be to to mark this as "extern", -however that leads to: - - dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls] - 26 | extern YYLTYPE yylloc; - | ^~~~~~ -In file included from dtc-lexer.l:24: -dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here - 127 | extern YYLTYPE yylloc; - | ^~~~~~ -cc1: all warnings being treated as errors - -which means the declaration is completely redundant and can just be -dropped. - -Signed-off-by: Dirk Mueller -Message-Id: <20200114175341.2994-1-dmueller@suse.com> -Signed-off-by: David Gibson ---- - dtc-lexer.l | 1 - - 1 file changed, 1 deletion(-) - ---- a/dtc-lexer.l -+++ b/dtc-lexer.l -@@ -23,7 +23,6 @@ LINECOMMENT "//".*\n - #include "srcpos.h" - #include "dtc-parser.tab.h" - --YYLTYPE yylloc; - extern bool treesource_error; - - /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ --- -cgit 1.2-0.3.lf.el7 - -- cgit v1.2.3