1 |
mrness 09/04/25 09:58:42 |
2 |
|
3 |
Added: squidguard-1.4-cross-compile.patch |
4 |
Removed: squidguard-1.3-gentoo.patch |
5 |
squidguard-1.3-nolog.patch |
6 |
squidguard-1.3-autoheader.patch |
7 |
Log: |
8 |
Fix cross compile issues, thanks to Bertrand Jacquin <beber at meleeweb dot net> (#266441). |
9 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 net-proxy/squidguard/files/squidguard-1.4-cross-compile.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/files/squidguard-1.4-cross-compile.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squidguard/files/squidguard-1.4-cross-compile.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: squidguard-1.4-cross-compile.patch |
18 |
=================================================================== |
19 |
diff -Nru squidGuard-1.4.orig/configure.in squidGuard-1.4/configure.in |
20 |
--- squidGuard-1.4.orig/configure.in 2009-01-03 20:04:30.000000000 +0000 |
21 |
+++ squidGuard-1.4/configure.in 2009-04-25 09:53:49.000000000 +0000 |
22 |
@@ -201,7 +201,9 @@ |
23 |
echo "Unable to link to LDAP library." |
24 |
echo |
25 |
exit 1 |
26 |
- ],) |
27 |
+ ],[ |
28 |
+ ac_status=0 |
29 |
+ ]) |
30 |
fi |
31 |
|
32 |
dnl |
33 |
@@ -314,7 +316,8 @@ |
34 |
exit (0); |
35 |
exit (1); |
36 |
} |
37 |
- ], db_ok_version=yes, db_ok_version=no, db_ok_version=no) |
38 |
+ ], db_ok_version=yes, db_ok_version=no, db_ok_version=yes) |
39 |
+ |
40 |
|
41 |
if test $db_ok_version = no; then |
42 |
echo |
43 |
@@ -345,7 +348,7 @@ |
44 |
exit (1); |
45 |
exit (0); |
46 |
} |
47 |
- ], db_ok_version=yes, db_ok_version=no, db_ok_version=no) |
48 |
+ ], db_ok_version=yes, db_ok_version=no, db_ok_version=yes) |
49 |
|
50 |
if test $db_ok_version = no; then |
51 |
echo |
52 |
@@ -377,7 +380,7 @@ |
53 |
exit (0); |
54 |
exit (1); |
55 |
} |
56 |
- ], dbg2_ok_version=yes, dbg2_ok_version=no, dbg2_ok_version=no) |
57 |
+ ], dbg2_ok_version=yes, dbg2_ok_version=no, dbg2_ok_version=yes) |
58 |
|
59 |
if test $dbg2_ok_version = yes; then |
60 |
AC_DEFINE(DB_VERSION_GT2) |
61 |
@@ -401,7 +404,7 @@ |
62 |
exit (0); |
63 |
exit (1); |
64 |
} |
65 |
- ], dbg3_ok_version=yes, dbg3_ok_version=no, dbg3_ok_version=no) |
66 |
+ ], dbg3_ok_version=yes, dbg3_ok_version=no, dbg3_ok_version=yes) |
67 |
|
68 |
if test $dbg3_ok_version = yes; then |
69 |
AC_DEFINE(DB_VERSION_GT3) |