Hi,

> http://build-failures.rhaalovely.net/sparc64/2020-02-05/devel/ddd.log
(not yet on powerpc)

This is happening since the libXt update and the subsequent fix of ddd.
Putting _X_NORETURN as a declaration identifier [0] fixes the issue on
powerpc [1] and does not break the build with clang on amd64.


Comments/feedback are welcome,

Charlène.


[0] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60625
[1] https://bin.charlenew.xyz/ddd.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/ddd/Makefile,v
retrieving revision 1.80
diff -u -p -u -p -r1.80 Makefile
--- Makefile    12 Jul 2019 20:44:07 -0000      1.80
+++ Makefile    10 Feb 2020 12:31:25 -0000
@@ -3,7 +3,7 @@
 COMMENT=       Data Display Debugger, graphical front-end for GDB, etc
 
 DISTNAME=      ddd-3.3.12
-REVISION =     15
+REVISION =     16
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=ddd/}
 
Index: patches/patch-ddd_exit_C
===================================================================
RCS file: /cvs/ports/devel/ddd/patches/patch-ddd_exit_C,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-ddd_exit_C
--- patches/patch-ddd_exit_C    17 Jan 2020 13:34:54 -0000      1.5
+++ patches/patch-ddd_exit_C    10 Feb 2020 12:31:25 -0000
@@ -8,7 +8,7 @@ Index: ddd/exit.C
  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
++_X_NORETURN static void ddd_xt_error(String message = 0)
  {
      ddd_has_crashed = true;
  



Reply via email to