[packages/shishi] - fix building with libtasn1 3.0

baggins baggins at pld-linux.org
Wed Nov 21 14:26:38 CET 2012


commit 72c707386dc4bae8133bce2e00c05d90d2f85ff5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Nov 21 14:26:27 2012 +0100

    - fix building with libtasn1 3.0

 shishi-libtasn1-3.patch | 13 +++++++++++++
 shishi.spec             |  2 ++
 2 files changed, 15 insertions(+)
---
diff --git a/shishi.spec b/shishi.spec
index c907c99..c4889d3 100644
--- a/shishi.spec
+++ b/shishi.spec
@@ -13,6 +13,7 @@ Source2:	%{name}-shishid.sysconfig
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-am.patch
 Patch2:		%{name}-glibc2.16.patch
+Patch3:		%{name}-glibc2.16.patch
 URL:		http://josefsson.org/shishi/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake >= 1:1.10
@@ -133,6 +134,7 @@ Moduł PAM do uwierzytelniania RFC 1510 (Kerberos V5).
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # doesn't build on sparc (too few B* constants) and wasn't packaged anyway
 %{__perl} -pi -e 's/^(SUBDIRS.*) rsh-redone/$1/' extra/Makefile.am
diff --git a/shishi-libtasn1-3.patch b/shishi-libtasn1-3.patch
new file mode 100644
index 0000000..8d5e039
--- /dev/null
+++ b/shishi-libtasn1-3.patch
@@ -0,0 +1,13 @@
+--- shishi-1.0.1/lib/asn1.c~	2012-02-08 13:17:44.000000000 +0100
++++ shishi-1.0.1/lib/asn1.c	2012-11-21 14:25:44.413593428 +0100
+@@ -32,6 +32,10 @@
+ 
+ #define ASN1NAME "KerberosV5Spec2."
+ 
++#ifndef MAX_ERROR_DESCRIPTION_SIZE
++#define MAX_ERROR_DESCRIPTION_SIZE 128
++#endif
++
+ /* Generated by asn1Parser from ASN.1 module. */
+ extern const ASN1_ARRAY_TYPE shishi_asn1_tab[];
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/shishi.git/commitdiff/72c707386dc4bae8133bce2e00c05d90d2f85ff5



More information about the pld-cvs-commit mailing list