Files
buildroot/package/xscreensaver/0002-configure_allow_warnings.patch
Bernd Kuhls 34a03bdba4 package/xscreensaver: bump version to 6.12
Added two patches from Debian to fix configure errors.

Switched from libgtk2 to libgtk3 and adjusted dependencies.
Added dependency to libxcrypt.

Fixed broken include path for gl.h, inspired by Gentoo:
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-misc/xscreensaver/xscreensaver-6.12-r2.ebuild#n172

Removed dependency to gdk-pixbuf-xlib, not needed since version 6.05:
https://gitweb.gentoo.org/repo/gentoo.git/commit/x11-misc/xscreensaver?id=3d6bc3a216196c795de6e0932f74055548beb9bb

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: replace the sed substitute separator with '%']
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-11-09 18:18:58 +01:00

36 lines
1.1 KiB
Diff

Description: Allow warnings from configure
Since 6.03 the original configure script returns non-zero if a
warning about configuration options versus detected capabilities
has been issued, presumably to increase awareness of the warnings.
To allow building on all architectures, while relying on the
resulting HAVE_XX flags as usual, return with success at the end
of the script.
Forwarded: not-needed
Author: Tormod Volden <debian.tormod@gmail.com>
Downloaded from
https://sources.debian.org/src/xscreensaver/6.09%2Bdfsg1-1/debian/patches/100_configure_allow_warnings.patch
Upstream: not applicable
[Bernd: s/Debian/buildroot]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Index: xscreensaver-git/configure
===================================================================
--- xscreensaver-git.orig/configure
+++ xscreensaver-git/configure
@@ -23273,5 +23273,11 @@ echo " Extra Fonts: ${FONT
echo " App Defaults: ${APPDEFAULTS}/$addir_err"
echo ""
-exit $CONF_STATUS
+if test "$CONF_STATUS" != 0; then
+ echo ""
+ echo "Warning: Buildroot build will proceed regardless of above warnings"
+ echo ""
+fi
+
+exit 0