[MacPorts] #36292: fluidsynth @1.1.5_0 Patch to allow successful build on Tiger
MacPorts
noreply at macports.org
Sun Sep 23 13:17:25 PDT 2012
#36292: fluidsynth @1.1.5_0 Patch to allow successful build on Tiger
----------------------------+--------------------------------
Reporter: ccarey@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: tiger haspatch | Port: fluidsynth
----------------------------+--------------------------------
The {{{fluidsynth @1.1.5_0}}} port does not successfully build on Tiger
because of
{{{
:info:build libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I.
-I../include -I../src -I../src/drivers -I../src/synth -I../src/rvoice
-I../src/midi -I../src/utils -I../src/sfloader -I../src/bindings
-I/opt/local/include -I/opt/local/include -D_REENTRANT
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I/opt/local/include -I/opt/local/include/dbus-1.0
-I/opt/local/lib/dbus-1.0/include -I/opt/local/include -pipe -O2 -arch ppc
-O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-
prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -MT drivers
/libfluidsynth_la-fluid_coreaudio.lo -MD -MP -MF drivers/.deps
/libfluidsynth_la-fluid_coreaudio.Tpo -c drivers/fluid_coreaudio.c -fno-
common -DPIC -o drivers/.libs/libfluidsynth_la-fluid_coreaudio.o
:info:build In file included from
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:46,
:info:build from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:25,
:info:build from drivers/fluid_coreaudio.c:36:
:info:build
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransportProviders.h:108:
error: parse error before numeric constant
:info:build
/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransportProviders.h:116:
error: parse error before numeric constant
:info:build make[2]: *** [drivers/libfluidsynth_la-fluid_coreaudio.lo]
Error 1
}}}
The attached patch fixes the problem by adapting the Tiger-specific
workaround in {{{src/drivers/fluid_coremidi.c}}} to
{{{src/drivers/fluid_coreaudio.c}}} also.
--
Ticket URL: <https://trac.macports.org/ticket/36292>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list