summaryrefslogtreecommitdiff
path: root/libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-09 15:18:36 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-09 15:42:00 -0300
commit83c0d8576cc90e9fe8fba83b974a9ab965ff892c (patch)
tree242a481435f9823fbd32ea7979b62684bbb64226 /libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch
parentb03089f7a4056a33b49d7a7a16a44512c4b04940 (diff)
downloadabslibre-83c0d8576cc90e9fe8fba83b974a9ab965ff892c.tar.gz
abslibre-83c0d8576cc90e9fe8fba83b974a9ab965ff892c.tar.bz2
abslibre-83c0d8576cc90e9fe8fba83b974a9ab965ff892c.zip
pcsx2-1.4.0-1.parabola1: updating version
Diffstat (limited to 'libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch')
-rw-r--r--libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch89
1 files changed, 0 insertions, 89 deletions
diff --git a/libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch b/libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch
deleted file mode 100644
index 706fd722c..000000000
--- a/libre-multilib/pcsx2/0001-common-fix-gcc-5.0-issue.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 87bcb465c6c2238137dbf99890e9032930a5f6cd Mon Sep 17 00:00:00 2001
-From: Gregory Hainaut <gregory.hainaut@gmail.com>
-Date: Wed, 27 May 2015 18:20:06 +0200
-Subject: [PATCH] common: fix gcc 5.0 issue
-
-Don't use const for variable object
-
-Close issue #560
----
- common/include/Utilities/Console.h | 8 ++++----
- common/src/Utilities/Console.cpp | 14 +++++++-------
- 2 files changed, 11 insertions(+), 11 deletions(-)
-
-diff --git a/common/include/Utilities/Console.h b/common/include/Utilities/Console.h
-index a4fb75f..3cec159 100644
---- a/common/include/Utilities/Console.h
-+++ b/common/include/Utilities/Console.h
-@@ -236,7 +236,7 @@ public:
- virtual ~ConsoleAttrScope() throw();
- };
-
--extern const IConsoleWriter Console;
-+extern IConsoleWriter Console;
-
- extern void Console_SetActiveHandler( const IConsoleWriter& writer, FILE* flushfp=NULL );
- extern const wxString& ConsoleBuffer_Get();
-@@ -249,9 +249,9 @@ extern const IConsoleWriter ConsoleWriter_Assert;
- extern const IConsoleWriter ConsoleWriter_Buffered;
- extern const IConsoleWriter ConsoleWriter_wxError;
-
--extern const NullConsoleWriter NullCon;
-+extern NullConsoleWriter NullCon;
-
--extern const IConsoleWriter DevConWriter;
-+extern IConsoleWriter DevConWriter;
- extern bool DevConWriterEnabled;
-
- #ifdef PCSX2_DEVBUILD
-@@ -261,7 +261,7 @@ extern bool DevConWriterEnabled;
- #endif
-
- #ifdef PCSX2_DEBUG
--extern const IConsoleWriter DbgConWriter;
-+extern IConsoleWriter DbgConWriter;
- # define DbgCon DbgConWriter
- #else
- # define DbgCon 0&&NullCon
-diff --git a/common/src/Utilities/Console.cpp b/common/src/Utilities/Console.cpp
-index 956a295..3ff0469 100644
---- a/common/src/Utilities/Console.cpp
-+++ b/common/src/Utilities/Console.cpp
-@@ -55,11 +55,11 @@ void Console_SetActiveHandler( const IConsoleWriter& writer, FILE* flushfp )
- writer.DoWriteLn( ConsoleBuffer_Get() );
- }
-
-- const_cast<IConsoleWriter&>(Console) = writer;
-- const_cast<IConsoleWriter&>(DevConWriter) = writer;
-+ Console = writer;
-+ DevConWriter = writer;
-
- #ifdef PCSX2_DEBUG
-- const_cast<IConsoleWriter&>(DbgCon) = writer;
-+ DbgCon = writer;
- #endif
- }
-
-@@ -597,15 +597,15 @@ ConsoleAttrScope::~ConsoleAttrScope() throw()
- //
- #define _DefaultWriter_ ConsoleWriter_Stdout
-
--const IConsoleWriter Console = _DefaultWriter_;
--const IConsoleWriter DevConWriter = _DefaultWriter_;
-+IConsoleWriter Console = _DefaultWriter_;
-+IConsoleWriter DevConWriter = _DefaultWriter_;
- bool DevConWriterEnabled = false;
-
- #ifdef PCSX2_DEBUG
--const IConsoleWriter DbgConWriter = _DefaultWriter_;
-+IConsoleWriter DbgConWriter = _DefaultWriter_;
- #endif
-
--const NullConsoleWriter NullCon = {};
-+NullConsoleWriter NullCon = {};
-
- // --------------------------------------------------------------------------------------
- // ConsoleLogSource (implementations)
---
-2.5.3
-