This is essentially the same bug as bug 56328, as tetex includes the source for libwww. I've created a patch based on the patch for libwww, and tetex now builds fine. See below for the patch. Reproducible: Always Steps to Reproduce: 1.emerge mysql 4.1.3 2.emerge tetex Actual Results: the emerge fails (I don't have the compiler errors to hand) Expected Results: the emerge should succeed
Created attachment 34927 [details, diff] Patch to build against mysql 4.1.3 This patch replaces the old, unsupported calls to mysql in libwww.
Created attachment 34928 [details] Ebuild to include the above patch Trivial modification to the ebuild, to apply the above patch
Same as bug #56328.
simon: for your patch there, please make sure that libwww compiles and works with your patch applied and mysql-4.0 or 3.23 being used. this may require some fancy footwork with macros or #if trees. please also use snprintf instead of sprintf and make your code modifications secure. text-markup: the game-plan for mysql-4.1 is not for another few weeks at least before it's available hardmasked even, too much work going on with it.
text-markup: please see the patch used for net-libs/libwww-5.4.0-r3. This is important as the other method used here isn't so great after 4.1.3.
Finished now to install "app-text/tetex-2.0.2-r5" on x86 without problems . The packages currently in portage don't use the bundled libwww. Closing