File egoboo-2.8.1-link-against-libm.patch of Package egoboo

--- egoboo-2.8.1/src/game/Makefile.libm~	2010-11-25 00:50:33.000000000 +0100
+++ egoboo-2.8.1/src/game/Makefile	2012-01-22 14:42:54.026361200 +0100
@@ -34,7 +34,7 @@ SDLCONF_L := $(shell ${SDL_CONF} --libs)
 
 CC      := gcc
 INC     := -I. -I.. -I../enet/include ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
-LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet
+LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet -lm
 
 # use different options if the environmental variable PREFIX is defined
 ifdef ($(PREFIX),"")
openSUSE Build Service is sponsored by