Summary: | net-analyzer/postal-0.62 fails w/ gcc-4.3.0; bump and patch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Alfredsen (RETIRED) <loki_val> |
Component: | [OLD] GCC Porting | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: |
01_postal-0.69-gcc43.patch
02_postal-0.69-nossl.patch 03_postal-0.69-c++0x-integrated.patch 04_postal-0.69-warnings.patch 05_postal-0.69-fix-version.patch postal-0.62--0.69.ebuild.patch |
Description
Peter Alfredsen (RETIRED)
![]() Created attachment 150767 [details, diff]
01_postal-0.69-gcc43.patch
Fixes the basic error. Though the changelog for postal 0.69 claims gcc-4.3.0 compatibility, that's not true when you play around with the configure options.
Created attachment 150769 [details, diff]
02_postal-0.69-nossl.patch
The configure.in was badly borked before. Excessive use of negative logic was the cause. Making a wrapper around that logic and fixing the build errors that were blocking a ssl-free build.
Created attachment 150770 [details, diff]
03_postal-0.69-c++0x-integrated.patch
When compiling the source resulting from the last two patches with gcc-4.3.0, gcc was spitting out errors about postal's use of hash_map. Fix up with stdc++0x code and put some autoconf magic in place to switch it on and off. Tested with both gcc-4.3.0 and gcc-4.2.3.
Created attachment 150771 [details, diff]
04_postal-0.69-warnings.patch
Fixup a warning. Now compiles with -Werror, if one is so inclined.
Created attachment 150772 [details, diff]
05_postal-0.69-fix-version.patch
Fixup for version being incorrect.
Created attachment 150773 [details, diff]
postal-0.62--0.69.ebuild.patch
Diff from 0.62 to 0.69. Licence ->gpl-3, logic for using gnutls and openssl consistent with autoconf magic, simplified ebuild due to QA improvements.
I believe these patches to be incremental from 01-->05, so any features can be punted by punting a patch. I'll be sending upstream a note about this bug. Fixed in CVS, bumped to postal-0.70. Thanks for your patches, Peter! |