components/opensp/patches/opensp-05-fix-gnu-build.patch
changeset 6933 e1fa2aa7bad7
equal deleted inserted replaced
6932:ae9e3811b2ec 6933:e1fa2aa7bad7
       
     1 Changes needed to successfully build opensp with the GNU compilers.
       
     2 
       
     3 Taken from the fix at:
       
     4 https://sourceforge.net/p/openjade/bugs/133/
       
     5 
       
     6 This change is already known upstream.
       
     7 
       
     8 --- OpenSP-1.5.1/include/InternalInputSource.h.orig	2016-09-19 12:19:35.766064218 +0000
       
     9 +++ OpenSP-1.5.1/include/InternalInputSource.h	2016-09-19 12:20:04.849794945 +0000
       
    10 @@ -34,7 +34,7 @@
       
    11    void pushCharRef(Char ch, const NamedCharRef &);
       
    12    Boolean rewind(Messenger &);
       
    13    const StringC *contents();
       
    14 -  InternalInputSource *InternalInputSource::asInternalInputSource();
       
    15 +  InternalInputSource *asInternalInputSource();
       
    16    ~InternalInputSource();
       
    17  private:
       
    18    InternalInputSource(const InternalInputSource &); // undefined