Opened 12 years ago

Closed 12 years ago

#36292 closed defect (duplicate)

fluidsynth @1.1.5_0 Patch to allow successful build on Tiger

Reported by: ccarey@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: tiger haspatch Cc:
Port: fluidsynth

Description

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.

Attachments (2)

fluid_coremidi.c.diff (466 bytes) - added by ccarey@… 12 years ago.
patch to src/drivers/fluid_coremidi.c to more closely match <netinet/tcp.h>
fluid_coreaudio.c.diff (694 bytes) - added by ccarey@… 12 years ago.
patch to src/drivers/fluid_coreaudio.c to allow fluidsynth @1.1.5_0 to build successfully on Tiger

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by ccarey@…

Attachment: fluid_coremidi.c.diff added

patch to src/drivers/fluid_coremidi.c to more closely match <netinet/tcp.h>

Changed 12 years ago by ccarey@…

Attachment: fluid_coreaudio.c.diff added

patch to src/drivers/fluid_coreaudio.c to allow fluidsynth @1.1.5_0 to build successfully on Tiger

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Superseded by #36962.

Note: See TracTickets for help on using tickets.