Summary: | gnupg-2.0.7 + curl-7.18.1 + gcc-4.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | [OLD] GCC Porting | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | bkohler, dragonheart, ganguin, ingmar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: |
Gnupg patch for curl/gcc 4.3
Ebuild patch for gnupg-2.0.9 |
Description
Ryan Hill (RETIRED)
2008-04-08 02:33:02 UTC
Strange error!!! GCC error? since the third param of curl_easy_setopt is boolean in this case (according to "man curl_easy_setopt") you can put a double not (!) to fix the compilation error. gpgkeys_curl.c:303: -curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,opt->flags.check_cert); +curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,!!opt->flags.check_cert); (In reply to comment #1) > gpgkeys_curl.c:303: > -curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,opt->flags.check_cert); > +curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER,!!opt->flags.check_cert); Better solution would be: +curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER, opt->flags.check_cert != 0); Created attachment 149978 [details, diff]
Gnupg patch for curl/gcc 4.3
Patch to correct gcc 4.3 compile error
Created attachment 149979 [details]
Ebuild patch for gnupg-2.0.9
Ebuild patch
Fixed, thanks! Just FYI, this is fixed upstream. http://lists.gnupg.org/pipermail/gnupg-devel/2008-April/024344.html |