packages: SDL/SDL.spec, SDL/SDL-config.patch (NEW)=?UTF-8?Q?=20?=- added config patch (re...

qboosh qboosh at pld-linux.org
Sat Jun 16 13:12:04 CEST 2012


Author: qboosh                       Date: Sat Jun 16 11:12:04 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added config patch (removes -L/usr/%{_lib} from sdl-config --libs output, which broke
  building of some packages against newly built libraries instead of old system versions)
- release 2

---- Files affected:
packages/SDL:
   SDL.spec (1.182 -> 1.183) , SDL-config.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/SDL/SDL.spec
diff -u packages/SDL/SDL.spec:1.182 packages/SDL/SDL.spec:1.183
--- packages/SDL/SDL.spec:1.182	Sun Jan 22 22:08:13 2012
+++ packages/SDL/SDL.spec	Sat Jun 16 13:11:59 2012
@@ -28,7 +28,7 @@
 Summary(zh_CN.UTF-8):	SDL (Simple DirectMedia Layer) Generic APIs - 游戏/多媒体库
 Name:		SDL
 Version:	1.2.15
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.libsdl.org/release/%{name}-%{version}.tar.gz
@@ -36,6 +36,7 @@
 Patch0:		%{name}-acfix.patch
 Patch1:		%{name}-new_gamma_ramp_support.patch
 Patch2:		fix-mouse-click.patch
+Patch3:		%{name}-config.patch
 URL:		http://www.libsdl.org/
 %{?with_directfb:BuildRequires:	DirectFB-devel >= 0.9.15}
 BuildRequires:	OpenGL-GLU-devel
@@ -172,6 +173,7 @@
 %patch0 -p1
 %{?with_new_gamma_ramp:%patch1 -p1}
 %patch2 -p1
+%patch3 -p1
 
 : > acinclude.m4
 %{!?with_alsa:echo 'AC_DEFUN([AM_PATH_ALSA],[$3])' >> acinclude.m4}
@@ -267,6 +269,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.183  2012/06/16 11:11:59  qboosh
+- added config patch (removes -L/usr/%{_lib} from sdl-config --libs output, which broke
+  building of some packages against newly built libraries instead of old system versions)
+- release 2
+
 Revision 1.182  2012/01/22 21:08:13  arekm
 - up to 1.2.15
 

================================================================
Index: packages/SDL/SDL-config.patch
diff -u /dev/null packages/SDL/SDL-config.patch:1.1
--- /dev/null	Sat Jun 16 13:12:04 2012
+++ packages/SDL/SDL-config.patch	Sat Jun 16 13:11:59 2012
@@ -0,0 +1,16 @@
+--- SDL-1.2.15/sdl-config.in.orig	2012-01-19 07:30:06.000000000 +0100
++++ SDL-1.2.15/sdl-config.in	2012-06-16 13:05:43.265925020 +0200
+@@ -45,11 +45,11 @@
+       echo -I at includedir@/SDL @SDL_CFLAGS@
+       ;;
+ @ENABLE_SHARED_TRUE@    --libs)
+- at ENABLE_SHARED_TRUE@      echo -L at libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
++ at ENABLE_SHARED_TRUE@      echo @SDL_RLD_FLAGS@ @SDL_LIBS@
+ @ENABLE_SHARED_TRUE@      ;;
+ @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@    --static-libs)
+ @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@    --libs|--static-libs)
+- at ENABLE_STATIC_TRUE@      echo -L at libdir@ @SDL_RLD_FLAGS@ @SDL_STATIC_LIBS@
++ at ENABLE_STATIC_TRUE@      echo @SDL_RLD_FLAGS@ @SDL_STATIC_LIBS@
+ @ENABLE_STATIC_TRUE@      ;;
+     *)
+       echo "${usage}" 1>&2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/SDL/SDL.spec?r1=1.182&r2=1.183



More information about the pld-cvs-commit mailing list