Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix patch 03_headers_order. #97

Merged
merged 1 commit into from
Apr 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions debian/patches/03_headers_order.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
With gcc 4.4, compilation of libgag/src/TextStream.cpp fails with the error:
'class GAGCore::StreamBackend' has no member named 'getc'. Reordering
#include's solves the problem.
Index: b/libgag/src/TextStream.cpp
===================================================================
--- a/libgag/src/TextStream.cpp 2010-02-28 10:09:41.977348783 +0300
+++ b/libgag/src/TextStream.cpp 2010-02-28 16:50:09.257348091 +0300
diff --git a/libgag/src/TextStream.cpp b/libgag/src/TextStream.cpp
index 6847f18a..cc49181b 100644
--- a/libgag/src/TextStream.cpp
+++ b/libgag/src/TextStream.cpp
@@ -17,11 +17,11 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
Expand All @@ -15,6 +15,6 @@ Index: b/libgag/src/TextStream.cpp
#include <iostream>
#include <stack>
+#include <TextStream.h>
#ifdef WIN32
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#define vsnprintf _vsnprintf