ddd: modify the previous libXt 1.2.0 fix by placing _X_NORETURN as a
declaration identifier. This fixes the build on !clang archs. OK naddy@
This commit is contained in:
parent
feba8d69f7
commit
cfcdd2a461
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.80 2019/07/12 20:44:07 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.81 2020/02/11 21:23:00 cwen Exp $
|
||||
|
||||
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/}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-ddd_exit_C,v 1.5 2020/01/17 13:34:54 naddy Exp $
|
||||
$OpenBSD: patch-ddd_exit_C,v 1.6 2020/02/11 21:23:01 cwen Exp $
|
||||
|
||||
Index: ddd/exit.C
|
||||
--- ddd/exit.C.orig
|
||||
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user