diff options
-rw-r--r-- | dev-util/ddd/ddd-3.3.12-r4.ebuild | 1 | ||||
-rw-r--r-- | dev-util/ddd/files/ddd-3.3.12-clang.patch | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/ddd/ddd-3.3.12-r4.ebuild b/dev-util/ddd/ddd-3.3.12-r4.ebuild index 329b7ac91fe9..5d5268c2c714 100644 --- a/dev-util/ddd/ddd-3.3.12-r4.ebuild +++ b/dev-util/ddd/ddd-3.3.12-r4.ebuild @@ -43,6 +43,7 @@ PATCHES=( "${FILESDIR}/${PN}-3.3.12-tinfo.patch" "${FILESDIR}/${PN}-3.3.12-gcc9.patch" "${FILESDIR}/${PN}-3.3.12-parallel.patch" + "${FILESDIR}/${PN}-3.3.12-clang.patch" ) DOCS=( diff --git a/dev-util/ddd/files/ddd-3.3.12-clang.patch b/dev-util/ddd/files/ddd-3.3.12-clang.patch new file mode 100644 index 000000000000..c8c016db4670 --- /dev/null +++ b/dev-util/ddd/files/ddd-3.3.12-clang.patch @@ -0,0 +1,12 @@ +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 @@ + + static XtAppContext xt_error_app_context = 0; + +-static void ddd_xt_error(String message = 0) ++static void ddd_xt_error(String message = 0) _X_NORETURN + { + ddd_has_crashed = true; + |