aboutsummaryrefslogtreecommitdiff
path: root/audio/sdl_sound
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-04-18 06:13:39 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-04-18 06:13:39 +0000
commitb7b264819c2b6f82785230048c0286f5f4959b59 (patch)
treed752d5c894998d9042687ab890a2bac2d08216df /audio/sdl_sound
parent924ed3b05867fb18584cfda371ff6c7399c5966d (diff)
downloadports-b7b264819c2b6f82785230048c0286f5f4959b59.tar.gz
ports-b7b264819c2b6f82785230048c0286f5f4959b59.zip
audio/sdl_sound: Fix build on FreeBSD 13.0
ld: error: ../.libs/libSDL_sound.so: undefined reference to log ld: error: ../.libs/libSDL_sound.so: undefined reference to exp2 ld: error: ../.libs/libSDL_sound.so: undefined reference to sin http://beefy11.nyi.freebsd.org/data/head-i386-default/p499228_s346255/logs/errors/sdl_sound-1.0.3_14.log
Notes
Notes: svn path=/head/; revision=499236
Diffstat (limited to 'audio/sdl_sound')
-rw-r--r--audio/sdl_sound/files/patch-Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/sdl_sound/files/patch-Makefile.in b/audio/sdl_sound/files/patch-Makefile.in
new file mode 100644
index 000000000000..6cf2aa8ca688
--- /dev/null
+++ b/audio/sdl_sound/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+ld: error: ../.libs/libSDL_sound.so: undefined reference to log
+ld: error: ../.libs/libSDL_sound.so: undefined reference to exp2
+ld: error: ../.libs/libSDL_sound.so: undefined reference to sin
+
+--- Makefile.in.orig 2019-04-18 06:08:16 UTC
++++ Makefile.in
+@@ -256,7 +256,7 @@ libSDL_sound_la_LDFLAGS = \
+
+ libSDL_sound_la_LIBADD = \
+ decoders/libdecoders.la \
+- $(TIMIDITY_LIB) $(MPGLIB_LIB)
++ $(TIMIDITY_LIB) $(MPGLIB_LIB) -lm
+
+ EXTRA_DIST = \
+ CREDITS \