summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */
+