Skip to content

Commit

Permalink
Contrib: fix fluidsynth compilation for all OS
Browse files Browse the repository at this point in the history
This mostly reverts commit f0380ff and
fixes it for Win32, but also Linux
  • Loading branch information
jbkempf committed Apr 14, 2015
1 parent 0f2b6a0 commit d521bd3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions contrib/src/fluid/fluid-pkg-static.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
--- fluidsynth-1.1.6/fluidsynth.pc.in.orig 2015-04-14 14:38:13.724365611 +0200
+++ fluidsynth-1.1.6/fluidsynth.pc.in 2015-04-14 14:38:12.737681738 +0200
diff -ru fluidsynth.orig/fluidsynth.pc.in fluidsynth/fluidsynth.pc.in
--- fluidsynth.orig/fluidsynth.pc.in 2011-08-03 10:45:08.000000000 +0300
+++ fluidsynth/fluidsynth.pc.in 2011-08-03 10:45:51.000000000 +0300
@@ -6,5 +6,5 @@
Name: FluidSynth
Description: Software SoundFont synth
Version: @VERSION@
-Libs: -L${libdir} -lfluidsynth -ldsound -lwinmm
+Libs: -L${libdir} -lfluidsynth -ldsound -lwinmm -lgthread-2.0 -lglib-2.0 -lm
-Libs: -L${libdir} -lfluidsynth
+Libs: -L${libdir} -lfluidsynth -lgthread-2.0 -lglib-2.0 -lm
Cflags: -I${includedir}
8 changes: 4 additions & 4 deletions contrib/src/fluid/fluid-static-win32.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--- fluidsynth/fluidsynth.pc.in 2007-08-18 23:55:32.000000000 +0200
+++ fluidsynth.new/fluidsynth.pc.in 2009-07-28 23:41:05.000000000 +0200
--- fluidsynth-1.1.6/fluidsynth.pc.in.orig 2015-04-14 15:06:24.867271101 +0200
+++ fluidsynth-1.1.6/fluidsynth.pc.in 2015-04-14 15:07:23.088291727 +0200
@@ -6,5 +6,5 @@
Name: FluidSynth
Description: Software SoundFont synth
Version: @VERSION@
-Libs: -L${libdir} -lfluidsynth
+Libs: -L${libdir} -lfluidsynth -ldsound -lwinmm
-Libs: -L${libdir} -lfluidsynth -lgthread-2.0 -lglib-2.0 -lm
+Libs: -L${libdir} -lfluidsynth -lgthread-2.0 -lglib-2.0 -ldsound -lwinmm -lm
Cflags: -I${includedir}
2 changes: 1 addition & 1 deletion contrib/src/fluid/rules.mak
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ $(TARBALLS)/fluidsynth-$(FLUID_VERSION).tar.bz2:
fluidsynth: fluidsynth-$(FLUID_VERSION).tar.bz2 .sum-fluid
$(UNPACK)
$(APPLY) $(SRC)/fluid/fluid-no-bin.patch
$(APPLY) $(SRC)/fluid/fluid-pkg-static.patch
ifdef HAVE_WIN32
$(APPLY) $(SRC)/fluid/fluid-static-win32.patch
endif
$(APPLY) $(SRC)/fluid/fluid-pkg-static.patch
# Remove symbolic links to /usr/share/aclocal
cd $(UNPACK_DIR)/m4/ && rm -f libtool.m4 lt*m4
$(MOVE)
Expand Down

0 comments on commit d521bd3

Please sign in to comment.