diff options
Diffstat (limited to 'meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch')
-rw-r--r-- | meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch b/meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch deleted file mode 100644 index 618b4cc7a7..0000000000 --- a/meta-gnome/recipes-gimp/gimp/gimp/0001-configure-Keep-first-line-of-compiler-version-string.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 5711ccfab40e304ced7f5be39a4083e3fcecff91 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 24 May 2023 22:22:41 -0700 | ||
4 | Subject: [PATCH] configure: Keep first line of compiler version string | ||
5 | |||
6 | Full output of cc -v may contain additional information which could | ||
7 | contain build path information, which is unnessasary | ||
8 | |||
9 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/926] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | configure.ac | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index c25415d..68707a0 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -599,7 +599,7 @@ fi | ||
20 | for CC_VERSION_OPT in $CC_VERSION_OPTS; do | ||
21 | # We run $CC, and escape and format its output, in a single step, | ||
22 | # since some shells expand escape sequences in "echo" arguments. | ||
23 | - CC_VERSION="`$CC $CC_VERSION_OPT 2>&1 | sed -e 's/\\\\/\\\\\\\\\\\\\\\\/g;s/^/\\\\t/;s/$/\\\\n/' | tr -d '\n'`" | ||
24 | + CC_VERSION="`$CC $CC_VERSION_OPT 2>&1 | head -1 | sed -e 's/\\\\/\\\\\\\\\\\\\\\\/g;s/^/\\\\t/;s/$/\\\\n/' | tr -d '\n'`" | ||
25 | if test $? -eq 0; then | ||
26 | break | ||
27 | fi | ||
28 | -- | ||
29 | 2.40.1 | ||
30 | |||