summaryrefslogtreecommitdiffstats
path: root/extra/gnupg1/buildfix.patch
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-14 20:27:32 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-14 20:27:32 +0200
commit046c0f7e9a12fa2377ce041865040cb446986b3e (patch)
treeddc037c2355bf9edf994991c781e53d35de7e4ce /extra/gnupg1/buildfix.patch
parentd240fe9079b371ee99c621861fd5f07e547b8644 (diff)
downloadnutyx-pakxe-046c0f7e9a12fa2377ce041865040cb446986b3e.tar.gz
nutyx-pakxe-046c0f7e9a12fa2377ce041865040cb446986b3e.tar.bz2
nutyx-pakxe-046c0f7e9a12fa2377ce041865040cb446986b3e.tar.xz
nutyx-pakxe-046c0f7e9a12fa2377ce041865040cb446986b3e.zip
Ajout de buildfix.patch
Diffstat (limited to 'extra/gnupg1/buildfix.patch')
-rw-r--r--extra/gnupg1/buildfix.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/extra/gnupg1/buildfix.patch b/extra/gnupg1/buildfix.patch
new file mode 100644
index 000000000..bf165d09c
--- /dev/null
+++ b/extra/gnupg1/buildfix.patch
@@ -0,0 +1,51 @@
+Index: gpgkeys_curl.c
+===================================================================
+--- keyserver/gpgkeys_curl.c (revision 4741)
++++ keyserver/gpgkeys_curl.c (working copy)
+@@ -286,7 +286,7 @@
+
+ if(follow_redirects)
+ {
+- curl_easy_setopt(curl,CURLOPT_FOLLOWLOCATION,1);
++ curl_easy_setopt(curl,CURLOPT_FOLLOWLOCATION,1L);
+ if(follow_redirects>0)
+ curl_easy_setopt(curl,CURLOPT_MAXREDIRS,follow_redirects);
+ }
+@@ -298,10 +298,10 @@
+ {
+ fprintf(console,"gpgkeys: curl version = %s\n",curl_version());
+ curl_easy_setopt(curl,CURLOPT_STDERR,console);
+- curl_easy_setopt(curl,CURLOPT_VERBOSE,1);
++ curl_easy_setopt(curl,CURLOPT_VERBOSE,1L);
+ }
+
+- curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,opt->flags.check_cert);
++ curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,(long)opt->flags.check_cert);
+ curl_easy_setopt(curl,CURLOPT_CAINFO,opt->ca_cert_file);
+
+ if(proxy)
+Index: gpgkeys_hkp.c
+===================================================================
+--- keyserver/gpgkeys_hkp.c (revision 4741)
++++ keyserver/gpgkeys_hkp.c (working copy)
+@@ -202,9 +202,9 @@
+ fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
+
+ curl_easy_setopt(curl,CURLOPT_URL,request);
+- curl_easy_setopt(curl,CURLOPT_POST,1);
++ curl_easy_setopt(curl,CURLOPT_POST,1L);
+ curl_easy_setopt(curl,CURLOPT_POSTFIELDS,key);
+- curl_easy_setopt(curl,CURLOPT_FAILONERROR,1);
++ curl_easy_setopt(curl,CURLOPT_FAILONERROR,1L);
+
+ res=curl_easy_perform(curl);
+ if(res!=0)
+@@ -661,7 +661,7 @@
+ {
+ fprintf(console,"gpgkeys: curl version = %s\n",curl_version());
+ curl_easy_setopt(curl,CURLOPT_STDERR,console);
+- curl_easy_setopt(curl,CURLOPT_VERBOSE,1);
++ curl_easy_setopt(curl,CURLOPT_VERBOSE,1L);
+ }
+
+ if(proxy) \ No newline at end of file