Accepting request 79286 from Base:System
- libcurl.m4 tests were broken, resulting in the usage of a "fake" internal libcurl. (forwarded request 79279 from elvigia) OBS-URL: https://build.opensuse.org/request/show/79286 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpg2?expand=0&rev=55
This commit is contained in:
commit
50c013e141
25
gnupg-broken-curl-test.patch
Normal file
25
gnupg-broken-curl-test.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
--- m4/libcurl.m4.orig
|
||||||
|
+++ m4/libcurl.m4
|
||||||
|
@@ -68,13 +68,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
|
||||||
|
|
||||||
|
_libcurl_try_link=yes
|
||||||
|
|
||||||
|
- if test -d "$_libcurl_with" ; then
|
||||||
|
- LIBCURL_CPPFLAGS="-I$withval/include"
|
||||||
|
- _libcurl_ldflags="-L$withval/lib"
|
||||||
|
- AC_PATH_PROG([_libcurl_config],["$withval/bin/curl-config"])
|
||||||
|
- else
|
||||||
|
AC_PATH_PROG([_libcurl_config],[curl-config])
|
||||||
|
- fi
|
||||||
|
|
||||||
|
if test x$_libcurl_config != "x" ; then
|
||||||
|
AC_CACHE_CHECK([for the version of libcurl],
|
||||||
|
@@ -141,7 +135,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
|
||||||
|
_libcurl_save_libs=$LIBS
|
||||||
|
LIBS="$LIBCURL $LIBS"
|
||||||
|
|
||||||
|
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[include <curl/curl.h>]],[[
|
||||||
|
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <curl/curl.h>]],[[
|
||||||
|
/* Try and use a few common options to force a failure if we are
|
||||||
|
missing symbols or cannot link. */
|
||||||
|
int x;
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 19 01:11:42 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- libcurl.m4 tests were broken, resulting in the usage
|
||||||
|
of a "fake" internal libcurl.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 6 20:19:09 UTC 2011 - andreas.stieger@gmx.de
|
Sat Aug 6 20:19:09 UTC 2011 - andreas.stieger@gmx.de
|
||||||
|
|
||||||
|
10
gpg2.spec
10
gpg2.spec
@ -57,6 +57,7 @@ Patch3: gnupg-2.0.9-RSA_ES.patch
|
|||||||
Patch4: gnupg-2.0.9-langinfo.patch
|
Patch4: gnupg-2.0.9-langinfo.patch
|
||||||
Patch5: gnupg-2.0.18-files-are-digests.patch
|
Patch5: gnupg-2.0.18-files-are-digests.patch
|
||||||
Patch6: gnupg-dont-fail-with-seahorse-agent.patch
|
Patch6: gnupg-dont-fail-with-seahorse-agent.patch
|
||||||
|
Patch7: gnupg-broken-curl-test.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -72,6 +73,7 @@ gpg-agent, and a keybox library.
|
|||||||
%patch4
|
%patch4
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%patch7
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
@ -82,12 +84,7 @@ CFLAGS="%{optflags} -fPIE" LDFLAGS=-pie \
|
|||||||
%else
|
%else
|
||||||
CFLAGS="%{optflags} -fpie" LDFLAGS=-pie \
|
CFLAGS="%{optflags} -fpie" LDFLAGS=-pie \
|
||||||
%endif
|
%endif
|
||||||
./configure \
|
%configure \
|
||||||
--prefix=%{_prefix} \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--infodir=%{_infodir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--libexecdir=%{_libdir} \
|
--libexecdir=%{_libdir} \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--with-agent-pgm=%{_prefix}/bin/gpg-agent \
|
--with-agent-pgm=%{_prefix}/bin/gpg-agent \
|
||||||
@ -98,6 +95,7 @@ CFLAGS="%{optflags} -fpie" LDFLAGS=-pie \
|
|||||||
--enable-gpgsm=yes \
|
--enable-gpgsm=yes \
|
||||||
--enable-gpg \
|
--enable-gpg \
|
||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user