public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Mrozowski" <reavertm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ddd/files/, dev-util/ddd/
Date: Sun, 27 Sep 2020 01:17:34 +0000 (UTC)	[thread overview]
Message-ID: <1601169400.838a3e5d487ca2faeebfebf024abe3c387703251.reavertm@gentoo> (raw)

commit:     838a3e5d487ca2faeebfebf024abe3c387703251
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 27 01:16:40 2020 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 01:16:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=838a3e5d

dev-util/ddd: fix clang compilation

Closes: https://bugs.gentoo.org/730686
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>

 dev-util/ddd/ddd-3.3.12-r4.ebuild         |  1 +
 dev-util/ddd/files/ddd-3.3.12-clang.patch | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/dev-util/ddd/ddd-3.3.12-r4.ebuild b/dev-util/ddd/ddd-3.3.12-r4.ebuild
index 329b7ac91fe..5d5268c2c71 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 00000000000..c8c016db467
--- /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;
+ 


                 reply	other threads:[~2020-09-27  1:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601169400.838a3e5d487ca2faeebfebf024abe3c387703251.reavertm@gentoo \
    --to=reavertm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox