Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 13.1.0/gentoo/, /
Date: Tue, 08 Nov 2022 07:47:55
Message-Id: 1667893664.b1233aa9eb60cd10edb89ec24af8106d8d8df85f.sam@gentoo
1 commit: b1233aa9eb60cd10edb89ec24af8106d8d8df85f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 8 07:00:27 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 8 07:47:44 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=b1233aa9
7
8 make-tarball.sh: tweak again for 13
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 13.1.0/gentoo/README.history | 24 ++++++++++++++++++++++++
13 make-tarball.sh | 15 +++++++++++++--
14 2 files changed, 37 insertions(+), 2 deletions(-)
15
16 diff --git a/13.1.0/gentoo/README.history b/13.1.0/gentoo/README.history
17 index e69de29..6c79f5f 100644
18 --- a/13.1.0/gentoo/README.history
19 +++ b/13.1.0/gentoo/README.history
20 @@ -0,0 +1,24 @@
21 +2 8 November 2022
22 + - 12_all_disable-systemtap-switch.patch
23 +
24 +1 7 August 2022
25 +
26 + + 01_all_default-fortify-source.patch
27 + + 02_all_default-warn-format-security.patch
28 + + 03_all_default-warn-trampolines.patch
29 + + 04_all_nossp-on-nostdlib.patch
30 + + 05_all_alpha-mieee-default.patch
31 + + 06_all_ia64_note.GNU-stack.patch
32 + + 07_all_libiberty-asprintf.patch
33 + + 08_all_libiberty-pic.patch
34 + + 09_all_nopie-all-flags.patch
35 + + 10_all_sh-drop-sysroot-suffix.patch
36 + + 11_all_ia64-TEXTREL.patch
37 + + 12_all_disable-systemtap-switch.patch
38 + + 14_all_respect-build-cxxflags.patch
39 + + 20_all_libstdcxx-no-vtv.patch
40 + + 22_all_default_ssp-buffer-size.patch
41 + + 23_all_EXTRA_OPTIONS-z-now.patch
42 + + 24_all_EXTRA_OPTIONS-fstack-clash-protection.patch
43 + + 25_all_lto-intl-workaround-PR95194.patch
44 + + 26_all_enable-cet.patch
45
46 diff --git a/make-tarball.sh b/make-tarball.sh
47 index 7ded1f1..79fc348 100755
48 --- a/make-tarball.sh
49 +++ b/make-tarball.sh
50 @@ -1,7 +1,6 @@
51 #!/usr/bin/env bash
52 -#set -x
53
54 -XZ_OPT=${XZ_OPT-"-T0 -9"}
55 +XZ_OPT=${XZ_OPT-"-T0"}
56 export XZ_OPT
57
58 find_ebuild() {
59 @@ -41,6 +40,7 @@ ebuild=$(find_ebuild ${ver})
60 # For such cases, use 11.3 as ver.)
61 had_pre=0
62 had_p=0
63 +
64 if [[ -z ${ebuild} ]] ; then
65 ver=${ver%%_pre*}
66
67 @@ -52,6 +52,17 @@ if [[ -z ${ebuild} ]] ; then
68 [[ -n ${ebuild} ]] && had_pre=1
69 fi
70
71 +if [[ -z ${ebuild} ]] ; then
72 + ver=${orig_ver%%_p*}
73 +
74 + ver_major=$(echo ${ver} | cut -d'.' -f1)
75 + ver_minor=$(($(echo ${ver} | cut -d'.' -f2) - 1))
76 + ver="${ver_major}.${ver_minor}.0_pre*"
77 + ebuild=$(find_ebuild ${ver})
78 +
79 + [[ -n ${ebuild} ]] && had_p=1
80 +fi
81 +
82 if [[ -z ${ebuild} ]] ; then
83 ver=${orig_ver}
84 ver=${ver%%_p*}