pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/crack-attack Pass $SDL_LIBS when checking SDL_mi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d83fc3d8549
branches:  trunk
changeset: 543210:7d83fc3d8549
user:      snj <snj%pkgsrc.org@localhost>
date:      Mon Jun 09 05:57:35 2008 +0000

description:
Pass $SDL_LIBS when checking SDL_mixer in configure.  Fixes build on
DragonFly.  Fix from Hasso Tepper in PR pkg/38853.

diffstat:

 games/crack-attack/distinfo         |   4 ++--
 games/crack-attack/patches/patch-aa |  15 ++++++++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 7aa43dfeb875 -r 7d83fc3d8549 games/crack-attack/distinfo
--- a/games/crack-attack/distinfo       Sun Jun 08 21:04:30 2008 +0000
+++ b/games/crack-attack/distinfo       Mon Jun 09 05:57:35 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/10/10 20:05:09 rillig Exp $
+$NetBSD: distinfo,v 1.5 2008/06/09 05:57:35 snj Exp $
 
 SHA1 (crack-attack-1.1.14.tar.gz) = fbf445f95d77267d23a766a485fd55edbd333bb4
 RMD160 (crack-attack-1.1.14.tar.gz) = 81ff2e601455362e1106cf5ef4b735cbd4497081
 Size (crack-attack-1.1.14.tar.gz) = 975066 bytes
-SHA1 (patch-aa) = 7d5ad43d9312d417dd28fb8903fc544e6f8b9539
+SHA1 (patch-aa) = 8fdb551045cbeb6789f8bb6c6c3f40bab0668500
diff -r 7aa43dfeb875 -r 7d83fc3d8549 games/crack-attack/patches/patch-aa
--- a/games/crack-attack/patches/patch-aa       Sun Jun 08 21:04:30 2008 +0000
+++ b/games/crack-attack/patches/patch-aa       Mon Jun 09 05:57:35 2008 +0000
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.3 2006/10/10 20:05:10 rillig Exp $
+$NetBSD: patch-aa,v 1.4 2008/06/09 05:57:35 snj Exp $
 
---- configure.orig     2006-10-10 22:02:41.000000000 +0200
-+++ configure  2006-10-10 22:04:28.000000000 +0200
+--- configure.orig     2005-05-13 22:29:09 +0300
++++ configure  2008-06-03 15:42:38 +0300
+@@ -5088,7 +5088,7 @@ if test "${ac_cv_lib_SDL_mixer_Mix_OpenA
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lSDL_mixer  $LIBS"
++LIBS="-lSDL_mixer $SDL_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
 @@ -5248,12 +5248,12 @@ rm -f conftest.err conftest.$ac_objext \
    rm -f conf.sdltest
  



Home | Main Index | Thread Index | Old Index