updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nurbs++ / fixGL.patch
blob8e03c52079a072541f4bf838edbd922c3389d135
1 --- nurbs++-3.0.11/nurbs/nurbsGL.cpp 2007-06-22 02:55:52.000000000 +0300
2 +++ src/nurbs++-3.0.11/nurbs/nurbsGL.cpp 2009-02-21 18:42:26.000000000 +0200
3 @@ -26,7 +26,7 @@
4 #include <nurbsGL.h>
5 #include <string.h>
6 #include <stdio.h>
7 -#include <iostream.h>
8 +#include <iostream>
10 #ifdef WITH_OPENGL
12 @@ -2590,7 +2590,7 @@ int ObjectListGL::read(const char* filen
13 if(!fin)
14 return 0 ;
15 fin.clear() ;
16 - fin.seekg(0,ios::beg) ;
17 + fin.seekg(0,std::ios::beg) ;
19 char *type ;
20 type = new char[3] ;
21 @@ -3925,11 +3925,11 @@ template void std::_List_base<PLib::Nur
23 //template void std::list<PLib::NurbsCurve_2Df*>::clear(void); <-------- redifination
25 -/*template void std::list<PLib::NurbsCurve<float, 2> *, std::allocator<PLib::NurbsCurve<float, 2> *> >::_M_insert_dispatch<std::_List_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *const &, PLib::NurbsCurve<float, 2> *const *> >(std::_List_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *&, PLib::NurbsCurve<float, 2> **>, std::_List_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float,
26 +/*//template void std::list<PLib::NurbsCurve<float, 2> *, std::allocator<PLib::NurbsCurve<float, 2> *> >::_M_insert_dispatch<std::_List_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *const &, PLib::NurbsCurve<float, 2> *const *> >(std::_List_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *&, PLib::NurbsCurve<float, 2> **>, std::_List_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float,
27 2> *const &, PLib::NurbsCurve<float, 2> *const *>, std::_List_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *const &, PLib::NurbsCurve<float, 2> *const *>, __false_type);*/
30 -template void std::list<PLib::NurbsCurve<float, 2> *, std::allocator<PLib::NurbsCurve<float, 2> *> >::_M_insert_dispatch<std::_List_iterator<PLib::NurbsCurve<float, 2> *> >(std::_List_iterator<PLib::NurbsCurve<float, 2> *>, std::_List_iterator<PLib::NurbsCurve<float, 2> *>, std::_List_iterator<PLib::NurbsCurve<float, 2> *>, __false_type);
31 +//template void std::list<PLib::NurbsCurve<float, 2> *, std::allocator<PLib::NurbsCurve<float, 2> *> >::_M_insert_dispatch<std::_List_iterator<PLib::NurbsCurve<float, 2> *> >(std::_List_iterator<PLib::NurbsCurve<float, 2> *>, std::_List_iterator<PLib::NurbsCurve<float, 2> *>, std::_List_iterator<PLib::NurbsCurve<float, 2> *>, __false_type);
34 template void list<PLib::NurbsCurve<float, 2> *, __default_alloc_template<0, 0> >::insert<__list_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *const &, PLib::NurbsCurve<float, 2> *const *> >(__list_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *&, PLib::NurbsCurve<float, 2> **>, __list_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *const &, PLib::NurbsCurve<float, 2> *const *>, __list_iterator<PLib::NurbsCurve<float, 2> *, PLib::NurbsCurve<float, 2> *const &, PLib::NurbsCurve<float, 2> *const *>) ;