mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
gui-apps/wscreensaver: remove patch
Upstream has merged this patch, so patching in portage fails now Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
Clang 16 does not allow implicit function declarations by default.
|
||||
When xscreensaver is compiled normally for X11, the function gettimeofday()
|
||||
is included via the header file X11/Xos.h.
|
||||
However, if X11 is not used and HAVE_JXYZ is used instead, we end up with a missing
|
||||
declaration for that function. I think upstream forgot to include the file here, he
|
||||
has done it for string.h though, which is a similar case.
|
||||
|
||||
Pascal Jäger <pascal.jaeger@leimstift.de> (2023-12-13)
|
||||
|
||||
--- a/hacks/screenhackI.h
|
||||
+++ b/hacks/screenhackI.h
|
||||
@@ -71,6 +71,7 @@
|
||||
#ifdef HAVE_JWXYZ
|
||||
# include "jwxyz.h"
|
||||
# include <string.h> /* X11/Xos.h brings this in. */
|
||||
+# include <sys/time.h>
|
||||
#else /* real X11 */
|
||||
# include <X11/Xlib.h>
|
||||
# include <X11/Xutil.h>
|
||||
@@ -36,7 +36,6 @@ PATCHES=(
|
||||
"${FILESDIR}"/xscreensaver-5.31-pragma.patch
|
||||
"${FILESDIR}"/xscreensaver-6.01-gentoo.patch
|
||||
"${FILESDIR}"/xscreensaver-5.45-gcc.patch
|
||||
"${FILESDIR}"/wscreensaver-fix-implicit-function-decl-when-JWXYZ.patch
|
||||
)
|
||||
|
||||
# see https://bugs.gentoo.org/898328
|
||||
|
||||
Reference in New Issue
Block a user