xap_Draw_Symbol.cpp:156: error: reinterpret_cast from `const void*' to ` UT_uint32' loses precision... Reproducible: Always Steps to Reproduce: 1. emerge abiword 2. 3. Actual Results: !!! ERROR: app-office/abiword-2.0.3-r1 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! (no error message) Expected Results: "successful build" The fix changes: reinterpret_cast<UT_uint32> to reinterpret_cast<unsigned long> and reinterpret_cast<UT_sint32> to reinterpret_cast<signed long>
Created attachment 26561 [details, diff] patch 1
Created attachment 26562 [details, diff] patch 2
Created attachment 26563 [details, diff] patch 3
Created attachment 26564 [details, diff] patch 4
Created attachment 26565 [details, diff] patch 5 (last)
AbiWord 2.0.3-r1
Merged all the patches into one patch and added to 2.0.3-r1. Marked ~amd64.
Please send these upstream to abiword. They need to make a more elegant cross-platform patch.
We definitely need to address this issue, differently from what you do because it is quick and dirty :-/ Thanks for the patch and for handling the issue in Gentoo. BTW, don't expect the patch to appear in 2.0.x tree.
alpha needs this patch too. Could someone please add it to the 2.0.5 ebuild? I had to add this to get abiword to work: if [ $ARCH = "alpha" ] ; then epatch ${FILESDIR}/${PN}-2.0.3-amd64.patch || die fi
alpha team check comment #10 i wonder why this would be needed now, while abi always worked on alpha (?)
Created attachment 27476 [details] ALPHA fix Allen, Try this ebuild out. If it works, I will commit it. From now on, you should file something like this as a new bug report for the ALPHA team but I'll take it this time. ;-)
Kris, ooh. C'est bon. The amended ebuild is good. Do I signal the "alpha" team by just indicating the hardware type as alpha or is there some other field to set as well? I was debating about whether I should create a new bug or not. Sorry bout that -- I'm new to gentoo.
Any word from the alpha team before I commit this?