diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-11-26 14:32:48 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-11-26 14:32:48 +0100 |
commit | 4ef04b81b4723e339bd9eeabaa7133c1164b1a5d (patch) | |
tree | 6c492b18cc4b92208b6ed86ca7c293bd205599d5 | |
parent | motif: Fix some function declarations (diff) | |
download | ulm-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.patch | 13 |
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 */ + |