mr_bones_    14/03/30 05:38:14

  Added:                vor-0.5.5-underlink.patch
  Log:
  add underlink patch from Ted Tanberry via bug #505794
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  games-arcade/vor/files/vor-0.5.5-underlink.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/vor/files/vor-0.5.5-underlink.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/vor/files/vor-0.5.5-underlink.patch?rev=1.1&content-type=text/plain

Index: vor-0.5.5-underlink.patch
===================================================================
--- Makefile.in
+++ Makefile.in
@@ -43,7 +43,7 @@
 SDL_CFLAGS := @SDL_CFLAGS@
 SDL_LIBS := @SDL_LIBS@
 
-ldflags := $(SDL_LIBS) -lSDL_image -lSDL_mixer $(LDFLAGS)
+ldflags := $(LIBS) $(SDL_LIBS) $(LDFLAGS)
 cflags := -I. $(SDL_CFLAGS) $(paths) $(CFLAGS)
 
 my_objects := args.@OBJEXT@ dust.@OBJEXT@ file.@OBJEXT@ mt.@OBJEXT@ 
rocks.@OBJEXT@ score.@OBJEXT@ sprite.@OBJEXT@ sound.@OBJEXT@ autopilot.@OBJEXT@

--- configure.ac
+++ configure.ac
@@ -12,6 +12,11 @@
 AC_PROG_MAKE_SET
 
 # Checks for libraries.
+dnl Check for libm for sqrt()
+AC_SEARCH_LIBS([sqrt], [m], [], [
+       AC_MSG_ERROR([unable to find the sqrt() function])
+])
+
 AC_CHECK_LIB([SDL_image], [IMG_LoadPNG_RW])
 AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio])
 




Reply via email to