SOURCES: mpg123-audio_sdl.patch (NEW) - fix SDL configure and incl...

shadzik shadzik at pld-linux.org
Wed Oct 25 14:03:59 CEST 2006


Author: shadzik                      Date: Wed Oct 25 12:03:59 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix SDL configure and includes

---- Files affected:
SOURCES:
   mpg123-audio_sdl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mpg123-audio_sdl.patch
diff -u /dev/null SOURCES/mpg123-audio_sdl.patch:1.1
--- /dev/null	Wed Oct 25 14:03:59 2006
+++ SOURCES/mpg123-audio_sdl.patch	Wed Oct 25 14:03:54 2006
@@ -0,0 +1,27 @@
+--- configure.ac	2006-10-21 00:08:34.000000000 +0200
++++ configure.ac-new	2006-10-25 02:45:07.530865360 +0200
+@@ -144,7 +144,12 @@
+ PKG_CHECK_MODULES(ESOUND, esound, HAVE_ESOUND=yes, HAVE_ESOUND=no)
+ 
+ # Check for SDL
+-PKG_CHECK_MODULES(SDL, sdl, HAVE_SDL=yes, HAVE_SDL=no)
++AC_CHECK_LIB( [SDL], [SDL_OpenAudio],
++		[ AC_CHECK_HEADER( [SDL/SDL.h],
++		[ HAVE_SDL="yes" ],
++		[ AC_MSG_WARN([Found SDL library but NOT header files on your system]) ] )
++	]
++)
+ 
+ # Check for NAS
+ AC_CHECK_LIB( [audio], [AuOpenServer],
+--- src/audio_sdl.c	2006-10-21 00:08:33.000000000 +0200
++++ src/audio_sdl.c-new	2006-10-25 02:46:06.681873040 +0200
+@@ -10,7 +10,7 @@
+ #include <stdio.h>
+ #include <math.h>
+ 
+-#include <SDL.h>
++#include <SDL/SDL.h>
+ 
+ #include "config.h"
+ #include "debug.h"
================================================================


More information about the pld-cvs-commit mailing list