File liquidwar-libs.patch of Package liquidwar

--- utils/Makefile.in.old	2011-12-06 11:01:10.000000000 +0000
+++ utils/Makefile.in	2011-12-06 11:01:26.000000000 +0000
@@ -42,7 +42,7 @@
 
 liquidwar%: liquidwar%.o $(SNPRINTF_FILES)
 	@echo "Building $@"
-	@$(CC) $(LDFLAGS) -o $@ $< $(SNPRINTF_FILES) $(ALLIBS)
+	@$(CC) $(LDFLAGS) -o $@ $< $(SNPRINTF_FILES) $(ALLIBS) -lm
 
 %.o: %.c
 	@echo "Compiling" $<
--- src/Makefile.in.old	2011-12-06 11:00:31.000000000 +0000
+++ src/Makefile.in	2011-12-06 11:00:43.000000000 +0000
@@ -223,7 +223,7 @@
     EXTERN_LIBS = `allegro-config --static $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY)
 else
     LINK_OPTIONS = 
-    EXTERN_LIBS = `allegro-config --libs $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY)
+    EXTERN_LIBS = `allegro-config --libs $(ALLEGRO_LIBRARY)` $(EFENCE_LIBRARY) -lm
 endif
 
 CONFIG_OPTIONS = \
openSUSE Build Service is sponsored by