SOURCES: opencity-as-needed.patch - proper fix

qboosh qboosh at pld-linux.org
Thu Jan 3 16:30:43 CET 2008


Author: qboosh                       Date: Thu Jan  3 15:30:43 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- proper fix

---- Files affected:
SOURCES:
   opencity-as-needed.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/opencity-as-needed.patch
diff -u SOURCES/opencity-as-needed.patch:1.1 SOURCES/opencity-as-needed.patch:1.2
--- SOURCES/opencity-as-needed.patch:1.1	Sat Dec  8 17:04:24 2007
+++ SOURCES/opencity-as-needed.patch	Thu Jan  3 16:30:38 2008
@@ -5,15 +5,16 @@
  
  CXXFLAGS="$SDL_CFLAGS"
 -LDFLAGS="$LDFLAGS $SDL_LIBS"
-+LDFLAGS="$LDFLAGS"
++LIBS="$LIBS $SDL_LIBS"
  
  AC_PROG_CXX
  AC_LANG_CPLUSPLUS
-@@ -62,7 +62,6 @@
+@@ -62,7 +62,7 @@
  
          if test "x$SDL_mixer_h" = "xyes"; then
                  if test "x$SDL_mixer_lib" = "xyes"; then
 -                        LDFLAGS="$LDFLAGS -lSDL_mixer"
++                        LIBS="$LIBS -lSDL_mixer"
                          AC_DEFINE(AUDIO_SDL, 1, [SDL_Mixer support])
                          AC_MSG_RESULT(yes)
                  else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/opencity-as-needed.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list