[cegui] Attempted cstddef fix.

Jon Ciesla limb at fedoraproject.org
Thu Feb 10 16:13:43 UTC 2011


commit 241c7db20cc19416de03339d2b1e02adb93b7bae
Author: Jon Ciesla <limb at jcomserv.net>
Date:   Thu Feb 10 10:09:23 2011 -0600

    Attempted cstddef fix.

 cegui-0.7.5-cstddef.patch |   10 ++++++++++
 cegui.spec                |    2 ++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/cegui-0.7.5-cstddef.patch b/cegui-0.7.5-cstddef.patch
new file mode 100644
index 0000000..34c92d5
--- /dev/null
+++ b/cegui-0.7.5-cstddef.patch
@@ -0,0 +1,10 @@
+--- cegui/include/CEGUIString.h~	2010-11-19 05:19:03.000000000 -0600
++++ cegui/include/CEGUIString.h	2011-02-10 09:53:52.363813000 -0600
+@@ -34,6 +34,7 @@
+ #include <string>
+ #include <string.h>
+ #include <stdexcept>
++#include <cstddef>
+ 
+ // Start of CEGUI namespace section
+ namespace CEGUI
diff --git a/cegui.spec b/cegui.spec
index 3c6a127..49503ab 100644
--- a/cegui.spec
+++ b/cegui.spec
@@ -8,6 +8,7 @@ URL:            http://www.cegui.org.uk
 Source0:        http://downloads.sourceforge.net/crayzedsgui/CEGUI-%{version}.tar.gz
 # TODO: submit upstream
 Patch4:         cegui-0.6.2-new-tinyxml.patch
+Patch5:		cegui-0.7.5-cstddef.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  DevIL-devel
 BuildRequires:  freeimage-devel
@@ -130,6 +131,7 @@ Alternative xml parsing library for CEGUI using xerces.
 %prep
 %setup -q -n CEGUI-%{version}
 %patch4 -p1
+%patch5 -p0
 
 # Permission fixes for debuginfo RPM
 chmod -x cegui/include/falagard/*.h


More information about the scm-commits mailing list