Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35817 - fluidsynth-1.0.3 must be patched for noni386
Summary: fluidsynth-1.0.3 must be patched for noni386
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PPC Porters
Depends on:
Reported: 2003-12-14 11:43 UTC by Axxackall
Modified: 2006-02-04 06:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Axxackall 2003-12-14 11:43:27 UTC
fluidsynth-1.0.3 has a piece of 386 asm which should not be included if the platform is not i386. However developers check only for DARWIN. The proposed patch was found in the project mail-list to check for all non-i386 platforms.

Reproducible: Always
Steps to Reproduce:

--- fluidsynth-1.0.3.orig/src/fluid_sys.c
+++ fluidsynth-1.0.3/src/fluid_sys.c
@@ -704,7 +704,7 @@
   return (rdtsc() / fluid_cpu_frequency);

-#if defined(DARWIN)
+#if !defined(__i386__)

 double rdtsc(void)
Comment 1 David Holm (RETIRED) gentoo-dev 2004-02-15 05:20:05 UTC
Thanks for the patch. I have commited it and keyworded it ~ppc.
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2004-04-02 21:56:47 UTC
I keyworded it stable.  Closing this bug.