summary refs log tree commit diff
path: root/gnu/packages/patches/pinball-cstddef.patch
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2016-01-31 23:22:38 -0600
committerEric Bavier <bavier@member.fsf.org>2016-01-31 23:46:30 -0600
commite3f755f44c257093c26eab1e7f839808edd57973 (patch)
treef33aa3f3b7bc17f0e80b33c66a9a69993ee0d391 /gnu/packages/patches/pinball-cstddef.patch
parent917708c276b0583a60b34084e1bb23219b1272bf (diff)
downloadguix-e3f755f44c257093c26eab1e7f839808edd57973.tar.gz
gnu: Add pinball.
* gnu/packages/games.scm (pinball): New variable.
* gnu/packages/patches/pinball-const-fix.patch,
  gnu/packages/patches/pinball-cstddef.patch,
  gnu/packages/patches/pinball-missing-separators.patch,
  gnu/packages/patches/pinball-src-deps.patch,
  gnu/packages/patches/pinball-system-ltdl.patch: New patches.
* gnu-system.am (dist_patch_DATA): Add them.
Diffstat (limited to 'gnu/packages/patches/pinball-cstddef.patch')
-rw-r--r--gnu/packages/patches/pinball-cstddef.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/patches/pinball-cstddef.patch b/gnu/packages/patches/pinball-cstddef.patch
new file mode 100644
index 0000000000..e43a132d84
--- /dev/null
+++ b/gnu/packages/patches/pinball-cstddef.patch
@@ -0,0 +1,38 @@
+Description: Add missing inlcudes of cstddef, fixing FTBFS13.1
+Author: Regis Boudin <regis@debian.org>
+Bug-Debian: http://bugs.debian.org/624953
+Bug-Debian: http://bugs.debian.org/640726
+
+--- pinball-0.3.1/base/Behavior.cpp
++++ pinball-0.3.1/base/Behavior.cpp
+@@ -10,6 +10,8 @@
+ #include "Behavior.h"
+ #include "Group.h"
+ 
++#include <cstddef>
++
+ Behavior::Behavior() {
+ 	//EM_COUT("Behavior::Behavior", 1);
+ 	p_Light = NULL;
+--- pinball-0.3.1/base/SignalSender.cpp
++++ pinball-0.3.1/base/SignalSender.cpp
+@@ -12,6 +12,8 @@
+ #include "Group.h"
+ #include "Behavior.h"
+ 
++#include <cstddef>
++
+ SignalSender * SignalSender::p_SignalSender = NULL;
+ 
+ SignalSender::SignalSender() {
+--- pinball-0.3.1/base/BehaviorVisitor.cpp
++++ pinball-0.3.1/base/BehaviorVisitor.cpp
+@@ -10,6 +10,8 @@
+ #include "Behavior.h"
+ #include "Group.h"
+ 
++#include <cstddef>
++
+ BehaviorVisitor * BehaviorVisitor::p_BehaviorVisitor = NULL;
+ 
+ BehaviorVisitor::BehaviorVisitor() {