rpms/alienarena/F-12 alienarena.spec,1.15,1.16

Tom Callaway spot at fedoraproject.org
Mon Nov 9 07:37:28 UTC 2009


Author: spot

Update of /cvs/pkgs/rpms/alienarena/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16491/F-12

Modified Files:
	alienarena.spec 
Log Message:
bring hans fixes back to F-12 too


Index: alienarena.spec
===================================================================
RCS file: /cvs/pkgs/rpms/alienarena/F-12/alienarena.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- alienarena.spec	3 Nov 2009 03:15:14 -0000	1.15
+++ alienarena.spec	9 Nov 2009 07:37:27 -0000	1.16
@@ -1,7 +1,7 @@
 Name:		alienarena
 Summary: 	Multiplayer retro sci-fi deathmatch game
 Version:	7.32
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPLv2+
 Group:		Amusements/Games
 # Subversion:  https://svn.icculus.org/alienarena/trunk/?sortby=date
@@ -20,6 +20,7 @@ Source3:	alienarena.png
 Patch0:		alienarena-7.20-currentdir-option.patch
 Patch1:		alienarena-7.10-dont-search-dll-in-data-path.patch
 Patch3:		alienarena-7.21-show-search-paths.patch
+Patch4:		alienarena-7.32-dga-compile-fix.patch
 URL:		http://red.planetarena.org/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libX11-devel, libXext-devel, libXxf86dga-devel, libXxf86vm-devel, libjpeg-devel
@@ -56,6 +57,7 @@ This is the dedicated server.
 %patch0 -p0
 %patch1 -p1
 %patch3 -p1
+%patch4 -p1
 
 # Copy license clarification for acebot
 cp -p %{SOURCE2} .
@@ -68,7 +70,7 @@ cp -p %{SOURCE2} .
 
 # So, AlienArena now "uses" openal by dlopening the library, which is hardcoded to 
 # "libopenal.so". That file only lives in openal-devel, so we need to adjust the hardcoding.
-LIBOPENAL=`ls %{_libdir}/libopenal.so.*.* | cut -d "/" -f 4`
+LIBOPENAL=`ls %{_libdir}/libopenal.so.? | cut -d "/" -f 4`
 sed -i "s|\"libopenal.so\"|\"$LIBOPENAL\"|g" source/unix/qal_unix.c
 
 %build
@@ -151,6 +153,11 @@ gtk-update-icon-cache -qf %{_datadir}/ic
 
 
 %changelog
+* Sat Nov  7 2009 Hans de Goede <hdgoede at redhat.com> - 7.32-2
+- dlopen openal.so.x, not openal.so.x.y. this fixes a crash on startup when
+  the openal minor version has changed
+- fix deprecation warning with latest libXxf86dga-devel
+
 * Mon Nov  2 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 7.32-1
 - update to 7.32
 - fix CVE-2009-3637 (bugzilla 530514)




More information about the fedora-extras-commits mailing list