summaryrefslogtreecommitdiff
path: root/x11/xscreensaver/patches/patch-ac
blob: f73605a120b246e9b30f130d6871fe5e0f6de135 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
$NetBSD: patch-ac,v 1.23 2010/05/17 16:35:03 drochner Exp $

--- configure.orig	2010-04-13 20:37:06.000000000 +0000
+++ configure
@@ -3651,6 +3651,9 @@ $as_echo "$ac_cv_gcc_accepts_no_cpp_prec
    ac_gcc_accepts_no_cpp_precomp="$ac_cv_gcc_accepts_no_cpp_precomp"
   fi
 
+# Disable c89 options, since these trigger more errors than expected and
+# cause build failures.
+if false; then
 if test -n "$GCC"; then
 
   case "$host" in
@@ -3711,6 +3714,7 @@ $as_echo "Disabling C++ comments in ANSI
 #     CC="$CC -Wp,-lang-c89"
    fi
   fi
+fi
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
@@ -8329,7 +8333,7 @@ _ACEOF
 
 
 
-ALL_LINGUAS="ca da de es et fi fr hu it ja ko nb nl pl pt pt_BR ru sk sv vi wa zh_CN zh_TW"
+ALL_LINGUAS="da de es et fi fr hu it ja ko nb nl pl pt ru sk sv vi wa zh_CN zh_TW"
 if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
@@ -14227,7 +14231,7 @@ if test "${ac_cv_lib_krb4_krb_get_tf_rea
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lkrb4  $LIBS"
+LIBS="-lkrb -lcrypto -lroken -lcom_err  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -14318,7 +14322,7 @@ $as_echo "$as_me: WARNING: Cannot find c
     # from Matt Knopp <mhat@infocalypse.netlag.com>
     # (who got it from amu@mit.edu)
 
-    PASSWD_LIBS="$PASSWD_LIBS -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"
+    PASSWD_LIBS="$PASSWD_LIBS -lkrb5 -lasn1 -lkrb -lcrypto -lroken -lcom_err"
 
     # jwz: MacOS X uses -lkrb5, but not -lcrypt
 
@@ -15524,7 +15528,7 @@ fi
 #
 if test "$enable_locking" = yes ; then
   case "$host" in
-    *-hpux* | *-aix* | *-netbsd* | *-freebsd* | *-openbsd* )
+    *-hpux* | *-aix* | *-freebsd* | *-openbsd* )
       need_setuid=yes
     ;;
   esac
@@ -15958,11 +15962,7 @@ $as_echo "$ac_cv_gtk_config_libs" >&6; }
   ac_gtk_config_libs=$ac_cv_gtk_config_libs
 
   GTK_EXTRA_OBJS=""
-  GTK_DATADIR=""
-  if test "$have_gtk" = yes; then
-    GTK_DATADIR=`$pkg_config --variable=prefix gtk+-2.0`
-    GTK_DATADIR="$GTK_DATADIR/share"
-  fi
+  GTK_DATADIR="$datadir"
 
   if test "$have_gtk" = yes; then
     INCLUDES="$INCLUDES $ac_gtk_config_cflags"