[maniadrive] Patch and rebuild for new ode.

Jon Ciesla limb at fedoraproject.org
Fri Aug 24 12:39:27 UTC 2012


commit dbde72ddc3a8c600152658682c1312f54da3eed7
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Fri Aug 24 07:38:44 2012 -0500

    Patch and rebuild for new ode.

 maniadrive-1.2-ode-0.12.patch |   10 ++++++++++
 maniadrive.spec               |    7 ++++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/maniadrive-1.2-ode-0.12.patch b/maniadrive-1.2-ode-0.12.patch
new file mode 100644
index 0000000..24a9dd2
--- /dev/null
+++ b/maniadrive-1.2-ode-0.12.patch
@@ -0,0 +1,10 @@
+--- raydium/index.h~	2006-07-22 05:52:04.000000000 -0500
++++ raydium/index.h	2012-08-20 16:08:51.198785200 -0500
+@@ -75,6 +75,7 @@
+ #include "headers/network.h"
+ #include "headers/init.h"
+ #ifdef ODE_SUPPORT
++#define dSINGLE
+ #include "headers/ode.h"
+ #endif
+ #include "headers/live.h"
diff --git a/maniadrive.spec b/maniadrive.spec
index 4fe0d43..0a34fda 100644
--- a/maniadrive.spec
+++ b/maniadrive.spec
@@ -1,6 +1,6 @@
 Name:           maniadrive
 Version:        1.2
-Release:        45%{?dist}
+Release:        46%{?dist}
 Summary:        3D stunt driving game
 Group:          Amusements/Games
 License:        GPLv2+
@@ -13,6 +13,7 @@ Patch0:         %{name}-1.2-fixes.patch
 Patch1:         %{name}-1.2-php-5.2.8-fix.patch
 Patch2:         %{name}-1.2-fix-ode-assert.h
 Patch3:         %{name}-1.2-fix-modifying-php-strings-inline.patch
+Patch4:         maniadrive-1.2-ode-0.12.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  glew-devel ode-devel php-devel php-embedded-devel
 BuildRequires:  libjpeg-devel libXinerama-devel libv4l-devel
@@ -74,6 +75,7 @@ developing applications that use raydium.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p0
 rm -r rayphp/r3s rayphp/README
 
 
@@ -168,6 +170,9 @@ fi
 
 
 %changelog
+* Mon Aug 20 2012 Jon Ciesla <limburgher at gmail.com> - 1.2-46
+- Patch and rebuild for new ode.
+
 * Fri Aug 17 2012 Remi Collet <remi at fedoraproject.org> - 1.2-45
 - rebuild against PHP 5.4.6
 


More information about the scm-commits mailing list