[nemiver: 57/70] Fix FTBFS with gcc-4.5 (Closes: #565093)



commit 34bf187839ded55f83597890daeef367482c7bb9
Author: Luca Bruno <lucab debian org>
Date:   Sun Mar 7 19:47:59 2010 +0100

    Fix FTBFS with gcc-4.5 (Closes: #565093)

 debian/patches/gcc-4.5.diff |   26 ++++++++++++++++++++++++++
 debian/patches/series       |    3 +--
 2 files changed, 27 insertions(+), 2 deletions(-)
---
diff --git a/debian/patches/gcc-4.5.diff b/debian/patches/gcc-4.5.diff
new file mode 100644
index 0000000..96c066d
--- /dev/null
+++ b/debian/patches/gcc-4.5.diff
@@ -0,0 +1,26 @@
+Index: nemiver-0.7.3/src/common/nmv-object.cc
+===================================================================
+--- nemiver-0.7.3.orig/src/common/nmv-object.cc	2010-03-04 18:31:26.349484063 +0100
++++ nemiver-0.7.3/src/common/nmv-object.cc	2010-03-04 18:34:16.273732730 +0100
+@@ -59,7 +59,7 @@
+     *m_priv = *a_object.m_priv;
+ }
+ 
+-Object::Object&
++Object&
+ Object::operator= (Object const &a_object)
+ {
+     if (this == &a_object)
+Index: nemiver-0.7.3/src/langs/nmv-cpp-ast.cc
+===================================================================
+--- nemiver-0.7.3.orig/src/langs/nmv-cpp-ast.cc	2010-03-04 18:37:20.733483290 +0100
++++ nemiver-0.7.3/src/langs/nmv-cpp-ast.cc	2010-03-04 18:37:27.744982512 +0100
+@@ -64,7 +64,7 @@
+     m_int_value = a_t.get_int_value ();
+ }
+ 
+-Token::Token&
++Token&
+ Token::operator= (const Token &a_t)
+ {
+     m_kind = a_t.get_kind ();
diff --git a/debian/patches/series b/debian/patches/series
index 139597f..d04f278 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-
-
+gcc-4.5.diff



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]