[pinball] Patch for cstddef.

Jon Ciesla limb at fedoraproject.org
Wed Feb 9 19:47:41 UTC 2011


commit efb661cd81cb66c41fb1e787f6166685030f3772
Author: Jon Ciesla <limb at jcomserv.net>
Date:   Wed Feb 9 13:43:24 2011 -0600

    Patch for cstddef.

 pinball-0.3.1-cstddef.patch |   30 ++++++++++++++++++++++++++++++
 pinball.spec                |    2 ++
 2 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/pinball-0.3.1-cstddef.patch b/pinball-0.3.1-cstddef.patch
new file mode 100644
index 0000000..0be44d1
--- /dev/null
+++ b/pinball-0.3.1-cstddef.patch
@@ -0,0 +1,30 @@
+--- base/Behavior.cpp~	2003-11-20 10:46:16.000000000 -0600
++++ base/Behavior.cpp	2011-02-09 13:19:13.651559002 -0600
+@@ -6,6 +6,7 @@
+     email                : henqvist at excite.com
+  ***************************************************************************/
+ 
++#include <cstddef>
+ #include "Private.h"
+ #include "Behavior.h"
+ #include "Group.h"
+--- base/BehaviorVisitor.cpp~	2003-11-20 10:46:16.000000000 -0600
++++ base/BehaviorVisitor.cpp	2011-02-09 13:26:17.561558995 -0600
+@@ -6,6 +6,7 @@
+     email                : henqvist at excite.com
+  ***************************************************************************/
+ 
++#include <cstddef>
+ #include "BehaviorVisitor.h"
+ #include "Behavior.h"
+ #include "Group.h"
+--- base/SignalSender.cpp~	2003-11-20 10:46:16.000000000 -0600
++++ base/SignalSender.cpp	2011-02-09 13:35:29.151558926 -0600
+@@ -7,6 +7,7 @@
+  ***************************************************************************/
+ 
+ 
++#include <cstddef>
+ #include "Private.h"
+ #include "SignalSender.h"
+ #include "Group.h"
diff --git a/pinball.spec b/pinball.spec
index 0c95c04..9205cc8 100644
--- a/pinball.spec
+++ b/pinball.spec
@@ -12,6 +12,7 @@ Patch0:         pinball-0.3.1-sys-ltdl.patch
 Patch1:         pinball-0.3.1-hiscore.patch
 Patch2:		pinball-0.3.1-strictproto.patch
 Patch3:		pinball-0.3.1-lacomment.patch
+Patch4:		pinball-0.3.1-cstddef.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libXt-devel freeglut-devel SDL_image-devel SDL_mixer-devel
 BuildRequires:  libpng-devel libvorbis-devel libtool-ltdl-devel
@@ -30,6 +31,7 @@ There is only one level to play with but it is however very addictive.
 %patch1 -p1 -z .hiscore
 %patch2 -p0
 %patch3 -p0
+%patch4 -p0
 rm -fr libltdl
 # sigh stop autoxxx from rerunning because of our patches above.
 touch aclocal.m4


More information about the scm-commits mailing list