rpms/chipmunk/devel chipmunk-4.1.0-dsolink.patch, NONE, 1.1 chipmunk.spec, 1.8, 1.9

Jon Ciesla limb at fedoraproject.org
Thu Jul 1 18:33:40 UTC 2010


Author: limb

Update of /cvs/pkgs/rpms/chipmunk/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3643

Modified Files:
	chipmunk.spec 
Added Files:
	chipmunk-4.1.0-dsolink.patch 
Log Message:
FTBFS.


chipmunk-4.1.0-dsolink.patch:
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE chipmunk-4.1.0-dsolink.patch ---
--- Demo/CMakeLists.txt~	2010-07-01 13:24:34.000000000 -0500
+++ Demo/CMakeLists.txt	2010-07-01 13:27:23.044037625 -0500
@@ -47,7 +47,7 @@
 SET(CurrentExe "../chipmunk_demos")
 ADD_EXECUTABLE(${CurrentExe}  Demo1.c  Demo2.c  Demo3.c  Demo4.c  Demo5.c  Demo6.c  Demo7.c  main.c)
 
-TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries} chipmunk_static)
+TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries} chipmunk_static -lm)
 
 #the following line is an example of how to add a test to your project.
 #Testname is the title for this particular test.  ExecutableToRun is the


Index: chipmunk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/chipmunk/devel/chipmunk.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- chipmunk.spec	17 May 2010 00:15:56 -0000	1.8
+++ chipmunk.spec	1 Jul 2010 18:33:39 -0000	1.9
@@ -1,7 +1,7 @@
 %{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
 Name:           chipmunk
 Version:        4.1.0
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Physics engine for 2D games
 
 Group:          Development/Libraries
@@ -9,6 +9,7 @@ License:        MIT
 URL:            http://code.google.com/p/chipmunk-physics/
 Source0:        http://files.slembcke.net/chipmunk/release/Chipmunk-%{version}.tgz
 Patch0:         chipmunk-4.1.0-cmake.patch
+Patch1:         chipmunk-4.1.0-dsolink.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: cmake
@@ -58,6 +59,7 @@ You'll also need to install the chipmunk
 %prep
 %setup -qn Chipmunk-%{version}
 %patch0 -p1
+%patch1 -p0
 
 %build
 %if "%{?_lib}" == "lib64"
@@ -108,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jun 28 2010 Jon Ciesla <limb at jcomserv.net> - 4.1.0-9
+- Fix FTBFS, BZ 599950.
+
 * Thu Oct  1 2009 Hans de Goede <hdegoede at redhat.com> - 4.1.0-8
 - Fix FTBFS
 



More information about the scm-commits mailing list