[gtk-osx] Fix namespace error in ragel-6.8.



commit 255cf784a3fc4d0720f6d8578547dd4a053b58e2
Author: John Ralls <jralls ceridwen us>
Date:   Mon Feb 24 13:22:41 2014 -0800

    Fix namespace error in ragel-6.8.

 modulesets-unstable/gtk-osx.modules |    1 +
 patches/ragel-6.8-setiosflags.patch |   11 +++++++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/modulesets-unstable/gtk-osx.modules b/modulesets-unstable/gtk-osx.modules
index fd9a427..a9c01cf 100644
--- a/modulesets-unstable/gtk-osx.modules
+++ b/modulesets-unstable/gtk-osx.modules
@@ -185,6 +185,7 @@
 <!-- Ragel, like Vala, isn't bootstrappable from git, so we might as well just use the tarball. -->
   <autotools id="ragel" autogen-sh='autoreconf'>
     <branch repo="complang" module="ragel/ragel-6.8.tar.gz" version="6.8">
+      <patch file="http://git.gnome.org/browse/gtk-osx/plain/patches/ragel-6.8-setiosflags.patch""; 
strip="1"/>
     </branch>
   </autotools>
 
diff --git a/patches/ragel-6.8-setiosflags.patch b/patches/ragel-6.8-setiosflags.patch
new file mode 100644
index 0000000..9b3fdf4
--- /dev/null
+++ b/patches/ragel-6.8-setiosflags.patch
@@ -0,0 +1,11 @@
+--- a/ragel/javacodegen.cpp    2013-02-10 17:57:45.000000000 -0800
++++ b/ragel/javacodegen.cpp    2014-02-16 12:09:23.000000000 -0800
+@@ -1184,7 +1184,7 @@
+ {
+       item_count++;
+
+-      out << setw(5) << setiosflags(ios::right) << item;
++      out << setw(5) << std::setiosflags(ios::right) << item;
+
+       if ( !last ) {
+               if ( item_count % SAIIC == 0 ) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]