summaryrefslogtreecommitdiff
path: root/x11-misc/xscreensaver/files/xscreensaver-6.05-r2-configure-exit-codes.patch
blob: d69e5965ca2fe1f0de2a25e35267b1402b87b9db (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
The configure scripts exits on a non zero exit code even with a warning. Even
though for upstream this is just a warning, for portage this means failure and
it will exit.
We therefore alter the exit codes where neccesary.

Bug: https://bugs.gentoo.org/885441

Pascal Jäger <pascal.jaeger@leimstift.de> (2022-12-15)

--- a/configure.ac
+++ b/configure.ac
@@ -4588,7 +4588,6 @@ if test "$have_motif" = no -a "$have_gtk" = no; then
   else
     warnL "The GTK libraries do not seem to be available; the"
     warn2 "\`xscreensaver-settings' program requires them."
-    CONF_STATUS=1
 #   echo ''
 #   warn2 'You can use Motif or Lesstif instead of GTK (use the'
 #   warn2 "\`--with-motif' option) but that is NOT recommended."
@@ -4615,7 +4614,6 @@ if test "$have_gtk" = yes -a "$have_gdk_pixbuf" = no ; then
   warn  "GTK is being used, but the GDK-Pixbuf library and/or"
   warn2 "headers were not found.  That can't be good.  Please"
   warn2 "install the GDK-Pixbuf development kit and re-configure."
-  CONF_STATUS=1
 fi
 
 if test "$have_motif" = yes -a "$have_lesstif" = yes ; then
@@ -4714,7 +4712,6 @@ if test "$have_jpeg" = no ; then
     warn2 "This means that it won't be possible for the image-manipulating"
     warn2 "display modes to load files from disk; and it also means that"
     warn2 "the \`webcollage' program will be much slower."
-    CONF_STATUS=1
   else
     warn2 "This means the \`webcollage' program will be much slower."
   fi
@@ -4733,7 +4730,6 @@ if test "$have_png" = no ; then
 
   if test "$png_halfassed" = yes ; then halfassery ; fi
   warn2 "Many things aren't going to work right."
-  CONF_STATUS=1
 fi