[gnujump] Fixed implicit DSO linking

Vivek Shah bonii at fedoraproject.org
Fri Oct 8 15:20:50 UTC 2010


commit 4e2cb39ad402b3f0d3b9ab9624737c716db9435f
Author: Vivek Shah <boni.vivek at gmail.com>
Date:   Fri Oct 8 17:20:37 2010 +0200

    Fixed implicit DSO linking

 gnujump-Makefile.in.patch |   11 +++++++++++
 gnujump.spec              |    8 ++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/gnujump-Makefile.in.patch b/gnujump-Makefile.in.patch
new file mode 100644
index 0000000..df75ae8
--- /dev/null
+++ b/gnujump-Makefile.in.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	2010-03-27 15:32:44.000000000 -0500
++++ src/Makefile.in	2010-03-27 15:35:52.000000000 -0500
+@@ -221,7 +221,7 @@
+ INCLUDES = $(all_includes)
+ 
+ # the library search path.
+-gnujump_LDFLAGS = $(all_libraries) 
++gnujump_LDFLAGS = $(all_libraries) -lm
+ gnujump_SOURCES = \
+ 	game.h\
+ 	menu.h\
diff --git a/gnujump.spec b/gnujump.spec
index c91198c..0abf95b 100644
--- a/gnujump.spec
+++ b/gnujump.spec
@@ -1,6 +1,6 @@
 Name:		gnujump
 Version:	1.0.6
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	A jumping game which is a clone of xjump
 
 Group:		Amusements/Games
@@ -8,6 +8,7 @@ License:	GPLv3+
 URL:		http://gnu.org/software/%{name}
 Source0:	http://ftp.gnu.org/gnu/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source1:	%{name}.desktop
+Patch1:		%{name}-Makefile.in.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	SDL-devel >= 1.2, SDL_mixer-devel, SDL_image-devel
@@ -25,7 +26,7 @@ you'll realize how addictive this is.
 
 %prep
 %setup -q
-
+%patch1 -p0 -b .orig
 
 %build
 %configure
@@ -53,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct 8 2010 Vivek Shah <boni.vivek at gmail.com> - 1.0.6-4
+- Fixed ImplicitDSO bug #564630
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.6-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


More information about the scm-commits mailing list