diff options
author | Pascal Jäger <pascal.jaeger@leimstift.de> | 2023-09-22 12:42:15 +0200 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-12-25 10:07:24 +0200 |
commit | 91a66474b005dae230f22c3c223ad550b338083c (patch) | |
tree | a016ea4a4efc91c54f228ac916999e7f3023fab8 /media-gfx/xloadimage/files | |
parent | package.mask: Last rite x11-libs/libtinynotify-systemwide & rdep (diff) | |
download | gentoo-91a66474b005dae230f22c3c223ad550b338083c.tar.gz gentoo-91a66474b005dae230f22c3c223ad550b338083c.tar.bz2 gentoo-91a66474b005dae230f22c3c223ad550b338083c.zip |
media-gfx/xloadimage: fix incomp. func. pointer
Closes: https://bugs.gentoo.org/896232
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/32988
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'media-gfx/xloadimage/files')
-rw-r--r-- | media-gfx/xloadimage/files/xloadimage-4.1-fix-incomp-function-pointer-types.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-gfx/xloadimage/files/xloadimage-4.1-fix-incomp-function-pointer-types.patch b/media-gfx/xloadimage/files/xloadimage-4.1-fix-incomp-function-pointer-types.patch new file mode 100644 index 000000000000..0ddd2da0f65f --- /dev/null +++ b/media-gfx/xloadimage/files/xloadimage-4.1-fix-incomp-function-pointer-types.patch @@ -0,0 +1,17 @@ +Inpompatible function pointers are an error instead of a warning by default since clang16 + +Bug: https://bugs.gentoo.org/896232 + +Pascal Jäger <pascal.jaeger@leimstift.de> (2023-09-22) + +--- a/window.c ++++ b/window.c +@@ -833,7 +833,7 @@ char imageInWindow (Display *disp, int scrn, Image *image, OptionSet *global_opt + /* reset alarm to -delay seconds after every event */ + #ifdef ENABLE_TIMEOUT + AlarmWentOff = 0; +- signal(SIGALRM, delayAlarmHandler); ++ signal(SIGALRM, (__sighandler_t)delayAlarmHandler); + alarm(delay); + #endif /* ENABLE_TIMEOUT */ + } |