aboutsummaryrefslogtreecommitdiffstats
path: root/package/cegui06/cegui06-stddef.h.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2012-12-16 06:56:12 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-16 21:00:56 +0100
commit303c922c62d2eb08ce3ffb02206b9bf959b305dc (patch)
treec3648b5da99dc0b9c0fab158811690a89b17cd52 /package/cegui06/cegui06-stddef.h.patch
parentdf07240d6fb4c60ecc65a54ea10dfc729773a803 (diff)
downloadbuildroot-novena-303c922c62d2eb08ce3ffb02206b9bf959b305dc.tar.gz
buildroot-novena-303c922c62d2eb08ce3ffb02206b9bf959b305dc.zip
package/cegui06: new package
Although there are more recent versions of CEGUI, we are stuck with 0.6.2b for use by spice. [Peter: add C++ dependency] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/cegui06/cegui06-stddef.h.patch')
-rw-r--r--package/cegui06/cegui06-stddef.h.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/cegui06/cegui06-stddef.h.patch b/package/cegui06/cegui06-stddef.h.patch
new file mode 100644
index 000000000..cc16effc2
--- /dev/null
+++ b/package/cegui06/cegui06-stddef.h.patch
@@ -0,0 +1,26 @@
+includes: ptrdiff_t is defined in stddef.h
+
+ptrdiff_t is defined in the stddef.h header, so this
+header must be included.
+
+Do the #include in a common header to avoid doing it
+all over the place.
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+
+---
+Patch not sent upstream, it's a no-longer-maintained branch.
+To be noted, however, is that the current devel branch is
+still missing that include.
+
+diff -durN cegui06-0.6.2.orig/include/CEGUIBase.h cegui06-0.6.2/include/CEGUIBase.h
+--- cegui06-0.6.2.orig//include/CEGUIBase.h 2008-02-11 15:38:27.000000000 +0100
++++ cegui06-0.6.2/include/CEGUIBase.h 2012-08-19 22:51:50.260385978 +0200
+@@ -34,6 +34,7 @@
+ #define _CEGUIBase_h_
+
+ #include <cassert>
++#include <stddef.h>
+
+ // bring in configuration options
+ #include "CEGUIConfig.h"