Accepting request 122844 from Base:System

- fix build with automake-1.12
  - add: automake-1.12.patch (forwarded request 122744 from puzel)

OBS-URL: https://build.opensuse.org/request/show/122844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnutls?expand=0&rev=48
This commit is contained in:
Stephan Kulow 2012-05-31 15:04:51 +00:00 committed by Git OBS Bridge
parent 39516d919c
commit f6968e4069
3 changed files with 22 additions and 1 deletions

12
automake-1.12.patch Normal file
View File

@ -0,0 +1,12 @@
Index: gnutls-3.0.19/configure.ac
===================================================================
--- gnutls-3.0.19.orig/configure.ac
+++ gnutls-3.0.19/configure.ac
@@ -37,6 +37,7 @@ dnl Checks for programs.
AC_PROG_CC
AM_PROG_AS
AC_PROG_CXX
+AM_PROG_AR
gl_EARLY
# For includes/gnutls/gnutls.h.in.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 29 12:51:59 UTC 2012 - puzel@suse.com
- fix build with automake-1.12
- add: automake-1.12.patch
-------------------------------------------------------------------
Thu May 24 07:45:31 UTC 2012 - lnussel@suse.de

View File

@ -34,11 +34,13 @@ Source1: baselibs.conf
Patch0: gnutls-introduce-gnutls_certificate_set_x509_system_trust.diff
# suse specific, add support for certificate directories -- lnussel
Patch1: gnutls-implement-trust-store-dir.diff
Patch2: automake-1.12.patch
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libidn-devel
BuildRequires: libnettle-devel >= 2.2
BuildRequires: libtasn1-devel
BuildRequires: libtool
BuildRequires: p11-kit-devel >= 0.11
BuildRequires: pkg-config
BuildRequires: xz
@ -126,10 +128,11 @@ Files needed for software development using gnutls.
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
echo %{_includedir}/%{name}/abstract.h
%build
autoreconf
autoreconf -i
%configure \
--disable-static \
--with-pic \