diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2020-09-27 03:28:22 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2020-09-27 03:28:35 +0200 |
commit | b46f3a54378c7ddc015dfbf484a95ee83f0beb32 (patch) | |
tree | d57ecc36f75045bcc0f263759c85f110bf3fdbb6 /dev-util/ddd | |
parent | dev-util/ddd: fix clang compilation (diff) | |
download | gentoo-b46f3a54378c7ddc015dfbf484a95ee83f0beb32.tar.gz gentoo-b46f3a54378c7ddc015dfbf484a95ee83f0beb32.tar.bz2 gentoo-b46f3a54378c7ddc015dfbf484a95ee83f0beb32.zip |
dev-util/ddd: update clang patch to not fail with gcc
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
Diffstat (limited to 'dev-util/ddd')
-rw-r--r-- | dev-util/ddd/files/ddd-3.3.12-clang.patch | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-util/ddd/files/ddd-3.3.12-clang.patch b/dev-util/ddd/files/ddd-3.3.12-clang.patch index c8c016db4670..a1f8da27b116 100644 --- a/dev-util/ddd/files/ddd-3.3.12-clang.patch +++ b/dev-util/ddd/files/ddd-3.3.12-clang.patch @@ -1,12 +1,15 @@ diff -ruN ddd-3.3.12/ddd/exit.C ddd-my/ddd/exit.C --- ddd-3.3.12/ddd/exit.C 2009-02-11 18:25:07.000000000 +0100 -+++ ddd-my/ddd/exit.C 2020-09-27 03:02:53.734445711 +0200 -@@ -769,7 +769,7 @@ ++++ ddd-my/ddd/exit.C 2020-09-27 03:23:14.713650981 +0200 +@@ -769,7 +769,11 @@ static XtAppContext xt_error_app_context = 0; --static void ddd_xt_error(String message = 0) ++#ifdef __clang__ +static void ddd_xt_error(String message = 0) _X_NORETURN ++#else + static void ddd_xt_error(String message = 0) ++#endif { ddd_has_crashed = true; |