summaryrefslogtreecommitdiff
path: root/community/slimevolley/link-libm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/slimevolley/link-libm.patch')
-rw-r--r--community/slimevolley/link-libm.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/slimevolley/link-libm.patch b/community/slimevolley/link-libm.patch
new file mode 100644
index 000000000..acbd21d37
--- /dev/null
+++ b/community/slimevolley/link-libm.patch
@@ -0,0 +1,14 @@
+Description: Link to libm to prevent FTBFS with --no-add-needed.
+Author: Evgeni Golov <evgeni@debian.org>
+Bug-Debian: http://bugs.debian.org/615775
+
+--- slimevolley-2.4.2.orig/CMakeLists.txt
++++ slimevolley-2.4.2/CMakeLists.txt
+@@ -42,6 +42,7 @@ LINK_LIBRARIES(
+ ${SDL_LIBRARY}
+ ${SDLTTF_LIBRARY}
+ ${SDLIMAGE_LIBRARY}
++ m
+ )
+
+ INCLUDE(FindGettext.cmake)