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:
Pascal Jäger
2023-12-31 08:06:59 +01:00
parent b92c19d88f
commit 99d6f132fc
2 changed files with 0 additions and 20 deletions

View File

@@ -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>

View File

@@ -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