summaryrefslogtreecommitdiff
path: root/dev-util/nemiver/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/nemiver/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/nemiver/files')
-rw-r--r--dev-util/nemiver/files/nemiver-0.9.6-bool-build.patch36
-rw-r--r--dev-util/nemiver/files/nemiver-0.9.6-fix-build.patch39
-rw-r--r--dev-util/nemiver/files/nemiver-0.9.6-gcc6-throw-in-dtors.patch73
3 files changed, 148 insertions, 0 deletions
diff --git a/dev-util/nemiver/files/nemiver-0.9.6-bool-build.patch b/dev-util/nemiver/files/nemiver-0.9.6-bool-build.patch
new file mode 100644
index 000000000000..dac65a8a4cc0
--- /dev/null
+++ b/dev-util/nemiver/files/nemiver-0.9.6-bool-build.patch
@@ -0,0 +1,36 @@
+From 262cf9657f9c2727a816972b348692adcc666008 Mon Sep 17 00:00:00 2001
+From: Marcin Kolny <marcin.kolny@gmail.com>
+Date: Fri, 1 Jul 2016 19:45:05 +0200
+Subject: Use RefPtr::bool() operator in the conditions
+
+Since bool() operator in RefPtr class is explicit,
+comparision with integer doesn't compile.
+---
+ src/persp/dbgperspective/nmv-dbg-perspective.cc | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
+index be652db..ac207e4 100644
+--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
++++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
+@@ -5672,7 +5672,7 @@ DBGPerspective::switch_to_asm (const common::DisassembleInfo &a_info,
+ a_source_editor->clear_decorations ();
+
+ Glib::RefPtr<Gsv::Buffer> asm_buf;
+- if ((asm_buf = a_source_editor->get_assembly_source_buffer ()) == 0) {
++ if (!(asm_buf = a_source_editor->get_assembly_source_buffer ())) {
+ SourceEditor::setup_buffer_mime_and_lang (asm_buf, "text/x-asm");
+ a_source_editor->register_assembly_source_buffer (asm_buf);
+ asm_buf = a_source_editor->get_assembly_source_buffer ();
+@@ -5720,7 +5720,7 @@ DBGPerspective::switch_to_source_code ()
+
+ Glib::RefPtr<Gsv::Buffer> source_buf;
+ UString source_path;
+- if ((source_buf = source_editor->get_non_assembly_source_buffer ()) == 0) {
++ if (!(source_buf = source_editor->get_non_assembly_source_buffer ())) {
+ // Woops!
+ // We don't have any source code buffer. Let's try hard to get
+ // the source code corresponding to the current frame. For that,
+--
+cgit v0.12
+
diff --git a/dev-util/nemiver/files/nemiver-0.9.6-fix-build.patch b/dev-util/nemiver/files/nemiver-0.9.6-fix-build.patch
new file mode 100644
index 000000000000..59a893ad003a
--- /dev/null
+++ b/dev-util/nemiver/files/nemiver-0.9.6-fix-build.patch
@@ -0,0 +1,39 @@
+From e0e42221ceb77d88be64fac1c09792dc5c9e2f43 Mon Sep 17 00:00:00 2001
+From: Ben Iofel <iofelben@gmail.com>
+Date: Thu, 17 Mar 2016 18:28:02 -0400
+Subject: Fix compiliation warnings & errors
+
+---
+ src/dbgengine/nmv-dbg-common.h | 2 +-
+ src/dbgengine/nmv-i-var-list-walker.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/dbgengine/nmv-dbg-common.h b/src/dbgengine/nmv-dbg-common.h
+index ad3cc00..0edac7c 100644
+--- a/src/dbgengine/nmv-dbg-common.h
++++ b/src/dbgengine/nmv-dbg-common.h
+@@ -171,7 +171,7 @@ public:
+
+ bool has_slot () const
+ {
+- return m_slot;
++ return static_cast<bool> (m_slot);
+ }
+
+ template<class T>
+diff --git a/src/dbgengine/nmv-i-var-list-walker.h b/src/dbgengine/nmv-i-var-list-walker.h
+index b719c0d..f2f3229 100644
+--- a/src/dbgengine/nmv-i-var-list-walker.h
++++ b/src/dbgengine/nmv-i-var-list-walker.h
+@@ -22,7 +22,7 @@
+ *
+ *See COPYRIGHT file copyright information.
+ */
+-#ifndef __NMV_VAR_LIST_WALKER_H__
++#ifndef __NMV_I_VAR_LIST_WALKER_H__
+ #define __NMV_I_VAR_LIST_WALKER_H__
+
+ #include "nmv-i-var-walker.h"
+--
+cgit v0.12
+
diff --git a/dev-util/nemiver/files/nemiver-0.9.6-gcc6-throw-in-dtors.patch b/dev-util/nemiver/files/nemiver-0.9.6-gcc6-throw-in-dtors.patch
new file mode 100644
index 000000000000..91d90961cb4a
--- /dev/null
+++ b/dev-util/nemiver/files/nemiver-0.9.6-gcc6-throw-in-dtors.patch
@@ -0,0 +1,73 @@
+Bug: https://bugs.gentoo.org/602436
+Upstream PR: https://github.com/GNOME/nemiver/pull/3
+
+--- a/src/common/nmv-api-macros.h
++++ b/src/common/nmv-api-macros.h
+@@ -52,5 +52,12 @@
+ # define NEMIVER_PURE_IFACE
+ # define NEMIVER_API
+ # endif //HAS_GCC_VISIBILITY_SUPPORT
++
++# if __cplusplus >= 201103L
++# define DTOR_NOEXCEPT noexcept(false)
++# else
++# define DTOR_NOEXCEPT
++# endif //__cplusplus >= 201103L
++
+ #endif
+
+--- a/src/common/nmv-log-stream.cc
++++ b/src/common/nmv-log-stream.cc
+@@ -393,7 +393,7 @@
+ }
+ }
+
+-LogStream::~LogStream ()
++LogStream::~LogStream () DTOR_NOEXCEPT
+ {
+ LOG_D ("delete", "destructor-domain");
+ if (!m_priv) throw runtime_error ("double free in LogStrea::~LogStream");
+--- a/src/common/nmv-log-stream.h
++++ b/src/common/nmv-log-stream.h
+@@ -151,7 +151,7 @@
+ const string &a_default_domain=NMV_GENERAL_DOMAIN);
+
+ /// \brief destructor of the log stream class
+- virtual ~LogStream ();
++ virtual ~LogStream () DTOR_NOEXCEPT;
+
+ /// \brief enable or disable logging for a domain
+ /// \param a_domain the domain to enable logging for
+--- a/src/common/nmv-object.cc
++++ b/src/common/nmv-object.cc
+@@ -68,7 +68,7 @@
+ return *this;
+ }
+
+-Object::~Object ()
++Object::~Object () DTOR_NOEXCEPT
+ {
+ }
+
+--- a/src/common/nmv-object.h
++++ b/src/common/nmv-object.h
+@@ -54,7 +54,7 @@
+
+ Object& operator= (Object const&);
+
+- virtual ~Object ();
++ virtual ~Object () DTOR_NOEXCEPT;
+
+ void ref ();
+
+--- a/src/common/nmv-transaction.h
++++ b/src/common/nmv-transaction.h
+@@ -116,7 +116,7 @@
+ return m_trans;
+ }
+
+- ~TransactionAutoHelper ()
++ ~TransactionAutoHelper () DTOR_NOEXCEPT
+ {
+ if (m_ignore) {
+ return;