LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File neverball-add-needed.patch of Package neverball (Project games)

--- Makefile.orig
+++ Makefile
@@ -98,7 +98,7 @@ ALL_CPPFLAGS += $(CPPFLAGS)
 
 SDL_LIBS := $(shell sdl-config --libs)
 PNG_LIBS := $(shell libpng-config --libs)
-FS_LIBS := -lphysfs
+FS_LIBS := -lphysfs -lm
 
 # The  non-conditionalised values  below  are specific  to the  native
 # system. The native system of this Makefile is Linux (or GNU+Linux if
@@ -138,7 +138,7 @@ ifdef DARWIN
 endif
 
 ALL_LIBS := $(SDL_LIBS) $(BASE_LIBS) $(TILT_LIBS) $(INTL_LIBS) -lSDL_ttf \
-    -lvorbisfile $(OGL_LIBS)
+    -lvorbisfile $(OGL_LIBS) -lX11
 
 #------------------------------------------------------------------------------