1 |
eva 09/04/27 22:00:10 |
2 |
|
3 |
Added: gnome-keyring-2.22.3-pkg-libtasn1.patch |
4 |
Log: |
5 |
Fix configure with recent libtasn1, bug #266554. Clean up old revisions. |
6 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 gnome-base/gnome-keyring/files/gnome-keyring-2.22.3-pkg-libtasn1.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-keyring/files/gnome-keyring-2.22.3-pkg-libtasn1.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-keyring/files/gnome-keyring-2.22.3-pkg-libtasn1.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gnome-keyring-2.22.3-pkg-libtasn1.patch |
15 |
=================================================================== |
16 |
# Allow configure to succeed with recent versions of libtasn1 |
17 |
# Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=266554 |
18 |
# Gnome: https://bugzilla.gnome.org/show_bug.cgi?id=560869 |
19 |
--- a/configure.in 2008-06-30 17:29:13.000000000 +0200 |
20 |
+++ b/configure.in 2009-04-18 12:16:56.000000000 +0200 |
21 |
@@ -381,17 +381,19 @@ |
22 |
|
23 |
GKR_LIBTASN1_VERSION=0.3.4 |
24 |
|
25 |
-AM_PATH_LIBTASN1($GKR_LIBTASN1_VERSION,, |
26 |
- AC_MSG_ERROR([[ |
27 |
-*** |
28 |
-*** LibtASN1 ${GKR_LIBTASN1_VERSION} was not found. |
29 |
-]])) |
30 |
-libtasn=yes |
31 |
-AC_DEFINE_UNQUOTED(GKR_LIBGCRYPT_VERSION, "$GKR_LIBTASN1_VERSION", [Version of libtasn1 we expect]) |
32 |
+PKG_CHECK_MODULES(LIBTASN1,libtasn1 >= 1.0) |
33 |
+AC_SUBST([LIBTASN1_LIBS]) |
34 |
+AC_SUBST([LIBTASN1_CFLAGS]) |
35 |
|
36 |
DAEMON_CFLAGS="$DAEMON_CFLAGS $LIBTASN1_CFLAGS" |
37 |
DAEMON_LIBS="$DAEMON_LIBS $LIBTASN1_LIBS" |
38 |
|
39 |
+AC_PATH_PROG(ASN1PARSER, asn1Parser, no) |
40 |
+if test "$ASN1PARSER" = "no" ; then |
41 |
+ AC_MSG_ERROR(asn1Parser tool is not installed) |
42 |
+fi |
43 |
+ |
44 |
+ |
45 |
dnl ========================================================================== |
46 |
|
47 |
dnl Turn on the additional warnings last, so -Werror doesn't affect other tests. |