gnupg: build with gcc 4.3.
This commit is contained in:
parent
af771a3a02
commit
31e95fbece
@ -1 +1,2 @@
|
|||||||
b41f3f6716a74c46a609a71853e85c7b gnupg-2.0.9.tar.bz2
|
b41f3f6716a74c46a609a71853e85c7b gnupg-2.0.9.tar.bz2
|
||||||
|
9f05561bf1338f343a0e1b1b23ba8024 gnupg.diff
|
||||||
|
@ -6,12 +6,15 @@
|
|||||||
|
|
||||||
name=gnupg
|
name=gnupg
|
||||||
version=2.0.9
|
version=2.0.9
|
||||||
release=1
|
release=2
|
||||||
source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2)
|
source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.bz2
|
||||||
|
$name.diff)
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
patch -Np1 -i $SRC/$name.diff
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libexecdir=/usr/lib \
|
--libexecdir=/usr/lib \
|
||||||
|
13
gnupg/gnupg.diff
Normal file
13
gnupg/gnupg.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff -aur gnupg-2.0.9.orig/keyserver/gpgkeys_curl.c gnupg-2.0.9/keyserver/gpgkeys_curl.c
|
||||||
|
--- gnupg-2.0.9.orig/keyserver/gpgkeys_curl.c 2007-07-04 15:26:13.000000000 +0200
|
||||||
|
+++ gnupg-2.0.9/keyserver/gpgkeys_curl.c 2008-11-30 13:42:46.062587160 +0100
|
||||||
|
@@ -300,7 +300,8 @@
|
||||||
|
curl_easy_setopt(curl,CURLOPT_VERBOSE,1);
|
||||||
|
}
|
||||||
|
|
||||||
|
- curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,opt->flags.check_cert);
|
||||||
|
+ int check_cert = opt->flags.check_cert;
|
||||||
|
+ curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,check_cert);
|
||||||
|
curl_easy_setopt(curl,CURLOPT_CAINFO,opt->ca_cert_file);
|
||||||
|
|
||||||
|
if(proxy)
|
Loading…
x
Reference in New Issue
Block a user