Revision: 769
http://python-ogre.svn.sourceforge.net/python-ogre/?rev=769&view=rev
Author: andy_miller
Date: 2008-10-21 07:30:43 +0000 (Tue, 21 Oct 2008)
Log Message:
-----------
Fix patch file to work on Linux
Modified Paths:
--------------
trunk/python-ogre/patch/pygccxml.patch
Modified: trunk/python-ogre/patch/pygccxml.patch
===================================================================
--- trunk/python-ogre/patch/pygccxml.patch 2008-10-21 02:37:39 UTC (rev 768)
+++ trunk/python-ogre/patch/pygccxml.patch 2008-10-21 07:30:43 UTC (rev 769)
@@ -1,16 +1,19 @@
-Index: pygccxml/declarations/type_traits.py
-===================================================================
---- pygccxml/declarations/type_traits.py (revision 1441)
-+++ pygccxml/declarations/type_traits.py (working copy)
-@@ -990,10 +990,11 @@
+Index: pygccxml/declarations/type_traits.py
+===================================================================
+--- pygccxml/declarations/type_traits.py (revision 1441)
++++ pygccxml/declarations/type_traits.py (working copy)
+@@ -989,11 +989,12 @@
+ return False
return type.decl_string.startswith( '::boost::shared_ptr<' )
- @staticmethod
+- @staticmethod
- def value_type( type ):
-+ def value_type( type, check=True ):
- """returns reference to boost::shared_ptr value type"""
+- """returns reference to boost::shared_ptr value type"""
- if not smart_pointer_traits.is_smart_pointer( type ):
- raise TypeError( 'Type "%s" is not instantiation of boost::shared_ptr' % type.decl_string )
++ @staticmethod
++ def value_type( type, check=True ):
++ """returns reference to boost::shared_ptr value type"""
+ if check:
+ if not smart_pointer_traits.is_smart_pointer( type ):
+ raise TypeError( 'Type "%s" is not instantiation of boost::shared_ptr' % type.decl_string )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|