tags 554320 patch
stop

Attached patch to fix this ftbfs
-- 
[ Mahyuddin Susanto ] - http://udienz.web.id
GPG: 4096R/90B36C5B
Debian Maintainer - www.debian.org
## Description: Fix FTBFS binutils-gold by adding -lm to Makefile
## Author: Mahyuddin Susanto <udi...@ubuntu.com>
## Bug-Ubuntu: https://launchpad.net/bugs/715735
Index: egoboo-2.7.7/game/Makefile
===================================================================
--- egoboo-2.7.7.orig/game/Makefile	2011-02-12 18:45:46.144494470 +0700
+++ egoboo-2.7.7/game/Makefile	2011-02-12 18:45:35.696991859 +0700
@@ -40,7 +40,7 @@
 OBJECTS=$(SOURCES:%.c=%.o)
 
 CFLAGS=`sdl-config --cflags` -I../enet/include
-LDFLAGS=`sdl-config --libs` -L../enet -lopengl32 -lglu32 -lenet -lSDL_ttf -lws2_32 -lshlwapi -lshfolder -lshell32
+LDFLAGS=`sdl-config --libs` -L../enet -lopengl32 -lglu32 -lenet -lSDL_ttf -lws2_32 -lshlwapi -lshfolder -lshell32 -lm
 
 $(TARGET): $(OBJECTS)
 	$(CC) -o $(TARGET) $(OBJECTS) $(CFLAGS) $(LDFLAGS)
Index: egoboo-2.7.7/game/Makefile.unix
===================================================================
--- egoboo-2.7.7.orig/game/Makefile.unix	2011-02-12 18:45:46.320480665 +0700
+++ egoboo-2.7.7/game/Makefile.unix	2011-02-12 18:45:44.728504385 +0700
@@ -20,7 +20,7 @@
 OPT     := -Os
 INC     := -I. -I.. ${SDLCONF_I}
 CFLAGS  := ${OPT} ${INC}
-LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lSDL_image -lGL -lGLU
+LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lSDL_image -lGL -lGLU -lm
 
 EGO_BIN := egoboo
 

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to