rpms/sturmbahnfahrer/devel sturmbahnfahrer-1.2-fix-ode-assert.patch, NONE, 1.1 sturmbahnfahrer.spec, 1.4, 1.5

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Feb 14 16:09:38 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/sturmbahnfahrer/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1294

Modified Files:
	sturmbahnfahrer.spec 
Added Files:
	sturmbahnfahrer-1.2-fix-ode-assert.patch 
Log Message:
* Wed Feb 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-3
- Fix a bug triggering an assert in ode-0.8


sturmbahnfahrer-1.2-fix-ode-assert.patch:

--- NEW FILE sturmbahnfahrer-1.2-fix-ode-assert.patch ---
--- sturmbahnfahrer-1.2/doorstand.h~	2007-02-14 16:59:48.000000000 +0100
+++ sturmbahnfahrer-1.2/doorstand.h	2007-02-14 16:59:48.000000000 +0100
@@ -61,6 +61,7 @@
         dGeomSetPosition(trf_geom[i], initialpos[0],initialpos[1],initialpos[2]);
         dGeomSetPosition(box_geom[i], xlats[i][0], xlats[i][1], xlats[i][2]);
       }
+      dMassTranslate( &m_total, -m_total.c[0], -m_total.c[1], -m_total.c[2] );
       dBodySetMass (chassis_body, &m_total);
 
 


Index: sturmbahnfahrer.spec
===================================================================
RCS file: /cvs/extras/rpms/sturmbahnfahrer/devel/sturmbahnfahrer.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sturmbahnfahrer.spec	29 Aug 2006 06:05:36 -0000	1.4
+++ sturmbahnfahrer.spec	14 Feb 2007 16:09:06 -0000	1.5
@@ -9,6 +9,7 @@
 Source1:        %{name}.desktop
 Source2:        %{name}.png
 Patch0:         sturmbahnfahrer-1.1-de-keyb.patch
+Patch1:         sturmbahnfahrer-1.2-fix-ode-assert.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  plib-devel ode-devel freeglut-devel desktop-file-utils
 BuildRequires:  alsa-lib-devel
@@ -21,6 +22,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 sed -i 's|$(ODEPREFIX)/lib/libode.a|-lode|' Makefile
 sed -i 's|/usr/share/games/sturmbahnfahrer|%{_datadir}/%{name}|' main.cxx
 
@@ -73,6 +75,9 @@
 
 
 %changelog
+* Wed Feb 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-3
+- Fix a bug triggering an assert in ode-0.8
+
 * Tue Aug 29 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-2
 - FE6 Rebuild
 




More information about the scm-commits mailing list