components/opensp/patches/opensp-05-fix-gnu-build.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 20 Sep 2016 08:35:58 -0700
changeset 6933 e1fa2aa7bad7
permissions -rw-r--r--
24691894 Adjust opensp for upcoming libtool 2.4.6 changes 24692105 Adjust openjade for upcoming libtool 2.4.6 changes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6933
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
Changes needed to successfully build opensp with the GNU compilers.
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
Taken from the fix at:
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
https://sourceforge.net/p/openjade/bugs/133/
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
This change is already known upstream.
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
--- OpenSP-1.5.1/include/InternalInputSource.h.orig	2016-09-19 12:19:35.766064218 +0000
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
+++ OpenSP-1.5.1/include/InternalInputSource.h	2016-09-19 12:20:04.849794945 +0000
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
@@ -34,7 +34,7 @@
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
   void pushCharRef(Char ch, const NamedCharRef &);
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
   Boolean rewind(Messenger &);
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
   const StringC *contents();
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
-  InternalInputSource *InternalInputSource::asInternalInputSource();
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
+  InternalInputSource *asInternalInputSource();
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
   ~InternalInputSource();
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
 private:
e1fa2aa7bad7 24691894 Adjust opensp for upcoming libtool 2.4.6 changes
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
   InternalInputSource(const InternalInputSource &); // undefined