summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-11-26 14:32:48 +0100
committerUlrich Müller <ulm@gentoo.org>2022-11-26 14:32:48 +0100
commit4ef04b81b4723e339bd9eeabaa7133c1164b1a5d (patch)
tree6c492b18cc4b92208b6ed86ca7c293bd205599d5
parentmotif: Fix some function declarations (diff)
downloadulm-4ef04b81b4723e339bd9eeabaa7133c1164b1a5d.tar.gz
ulm-4ef04b81b4723e339bd9eeabaa7133c1164b1a5d.tar.bz2
ulm-4ef04b81b4723e339bd9eeabaa7133c1164b1a5d.zip
motif: More clang stupiditymotif-2.3.8-patches-4
Bug: https://bugs.gentoo.org/883075 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--patchsets/motif/2.3.8/12_all_noreturn.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patchsets/motif/2.3.8/12_all_noreturn.patch b/patchsets/motif/2.3.8/12_all_noreturn.patch
new file mode 100644
index 0000000..3a7428b
--- /dev/null
+++ b/patchsets/motif/2.3.8/12_all_noreturn.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/883075
+
+--- motif-2.3.8/clients/mwm/WmError.c
++++ motif-2.3.8/clients/mwm/WmError.c
+@@ -131,7 +131,7 @@
+ XSetIOErrorHandler (WmXIOErrorHandler);
+
+ XtSetWarningHandler (WmXtWarningHandler);
+- XtSetErrorHandler (WmXtErrorHandler);
++ XtSetErrorHandler ((XtErrorHandler _X_NORETURN)WmXtErrorHandler);
+
+ } /* END OF FUNCTION WmInitErrorHandler */
+