Gentoo Archives: gentoo-commits

From: Maciej Mrozowski <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ddd/files/
Date: Sun, 27 Sep 2020 01:29:59
Message-Id: 1601170115.b46f3a54378c7ddc015dfbf484a95ee83f0beb32.reavertm@gentoo
1 commit: b46f3a54378c7ddc015dfbf484a95ee83f0beb32
2 Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 01:28:22 2020 +0000
4 Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 01:28:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46f3a54
7
8 dev-util/ddd: update clang patch to not fail with gcc
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>
12
13 dev-util/ddd/files/ddd-3.3.12-clang.patch | 9 ++++++---
14 1 file changed, 6 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-util/ddd/files/ddd-3.3.12-clang.patch b/dev-util/ddd/files/ddd-3.3.12-clang.patch
17 index c8c016db467..a1f8da27b11 100644
18 --- a/dev-util/ddd/files/ddd-3.3.12-clang.patch
19 +++ b/dev-util/ddd/files/ddd-3.3.12-clang.patch
20 @@ -1,12 +1,15 @@
21 diff -ruN ddd-3.3.12/ddd/exit.C ddd-my/ddd/exit.C
22 --- ddd-3.3.12/ddd/exit.C 2009-02-11 18:25:07.000000000 +0100
23 -+++ ddd-my/ddd/exit.C 2020-09-27 03:02:53.734445711 +0200
24 -@@ -769,7 +769,7 @@
25 ++++ ddd-my/ddd/exit.C 2020-09-27 03:23:14.713650981 +0200
26 +@@ -769,7 +769,11 @@
27
28 static XtAppContext xt_error_app_context = 0;
29
30 --static void ddd_xt_error(String message = 0)
31 ++#ifdef __clang__
32 +static void ddd_xt_error(String message = 0) _X_NORETURN
33 ++#else
34 + static void ddd_xt_error(String message = 0)
35 ++#endif
36 {
37 ddd_has_crashed = true;