Package: xscreensaver / 6.09+dfsg1-1

100_configure_allow_warnings.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>

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: Debian build will proceed regardless of above warnings"
+	echo ""
+fi
+
+exit 0