The following commit has been merged in the master branch:
commit 9e2f752019a9d913d98ebddb2bdea3e23f3bcc52
Author: Ansgar Burchardt <[email protected]>
Date: Sun Jan 3 03:22:23 2010 +0900
link with -lm again
jumpnbump uses atan2 so it must be linked with -lm. This fixes building
with binutils-gold.
Closes: #554929
Signed-off-by: Ansgar Burchardt <[email protected]>
diff --git a/debian/patches/do-not-link-libm.patch
b/debian/patches/do-not-link-libm.patch
index bbf2c25..1c8f4d7 100644
--- a/debian/patches/do-not-link-libm.patch
+++ b/debian/patches/do-not-link-libm.patch
@@ -1,16 +1,5 @@
Subject: Do not link libm
---- jumpnbump.orig/Makefile
-+++ jumpnbump/Makefile
-@@ -2,7 +2,7 @@
- SDL_LIBS = `sdl-config --libs`
- CFLAGS = -Wall -O2 -ffast-math -funroll-loops -Dstricmp=strcasecmp \
- -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -I. $(SDL_CFLAGS) -DUSE_NET
--LIBS = -lm $(SDL_LIBS) -lSDL_mixer -lSDL_net
-+LIBS = $(SDL_LIBS) -lSDL_mixer -lSDL_net
- SDL_TARGET = sdl.a
- MODIFY_TARGET = gobpack jnbpack jnbunpack
- OBJS = fireworks.o main.o menu.o filter.o
--- jumpnbump.orig/modify/Makefile
+++ jumpnbump/modify/Makefile
@@ -1,7 +1,7 @@
--
cute multiplayer platform game with bunnies
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits