diff options
| -rw-r--r-- | meta/recipes-support/gnupg/gnupg-1.4.7/curl_typeof_fix_backport.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg-1.4.7/curl_typeof_fix_backport.patch b/meta/recipes-support/gnupg/gnupg-1.4.7/curl_typeof_fix_backport.patch new file mode 100644 index 0000000000..e5fb24aa63 --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg-1.4.7/curl_typeof_fix_backport.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | |||
| 2 | This has been discussed in a couple of different bug reported | ||
| 3 | upstream: | ||
| 4 | |||
| 5 | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486250 | ||
| 6 | http://bugs.sourcemage.org/show_bug.cgi?id=14446 | ||
| 7 | |||
| 8 | Fix: | ||
| 9 | http://lists.gnupg.org/pipermail/gnupg-devel/2008-April/024344.html | ||
| 10 | |||
| 11 | Upstream-Status: Backport [Debian] | ||
| 12 | |||
| 13 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
| 14 | |||
| 15 | Index: gnupg-1.4.7/keyserver/gpgkeys_curl.c | ||
| 16 | =================================================================== | ||
| 17 | --- gnupg-1.4.7.orig/keyserver/gpgkeys_curl.c | ||
| 18 | +++ gnupg-1.4.7/keyserver/gpgkeys_curl.c | ||
| 19 | @@ -286,7 +286,7 @@ main(int argc,char *argv[]) | ||
| 20 | curl_easy_setopt(curl,CURLOPT_VERBOSE,1); | ||
| 21 | } | ||
| 22 | |||
| 23 | - curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,opt->flags.check_cert); | ||
| 24 | + curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,(long)opt->flags.check_cert); | ||
| 25 | curl_easy_setopt(curl,CURLOPT_CAINFO,opt->ca_cert_file); | ||
| 26 | |||
| 27 | if(proxy) | ||
