Hello community,

here is the log from the commit of package anjuta for openSUSE:Factory checked 
in at 2017-06-08 15:03:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/anjuta (Old)
 and      /work/SRC/openSUSE:Factory/.anjuta.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "anjuta"

Thu Jun  8 15:03:38 2017 rev:107 rq:501755 version:3.22.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/anjuta/anjuta.changes    2017-03-22 
22:57:33.100021485 +0100
+++ /work/SRC/openSUSE:Factory/.anjuta.new/anjuta.changes       2017-06-08 
15:03:39.341497562 +0200
@@ -1,0 +2,5 @@
+Sat Jun  3 19:31:17 UTC 2017 - [email protected]
+
+- Add anjuta-fix-gcc7-build.patch: Fix build with gcc7.
+
+-------------------------------------------------------------------

New:
----
  anjuta-fix-gcc7-build.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ anjuta.spec ++++++
--- /var/tmp/diff_new_pack.VUPR14/_old  2017-06-08 15:03:39.957410639 +0200
+++ /var/tmp/diff_new_pack.VUPR14/_new  2017-06-08 15:03:39.961410074 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package anjuta
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 Source99:       %{name}-rpmlintrc
 # PATCH-FIX-UPSTREAM anjuta-vala-0.34.patch [email protected] -- Enable 
building with vala 0.34 and 0.36
 Patch0:         anjuta-vala-0.34.patch
+# PATCH-FIX-UPSTREAM anjuta-fix-gcc7-build.patch [email protected] -- Fix 
build with gcc7
+Patch1:         anjuta-fix-gcc7-build.patch
 BuildRequires:  autogen
 BuildRequires:  binutils-devel
 BuildRequires:  bison
@@ -153,6 +155,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 translation-update-upstream
 
 %build

++++++ anjuta-fix-gcc7-build.patch ++++++
>From ae460ed1c2512875032a641dbe157b7a7144c09b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Granjoux?= <[email protected]>
Date: Sat, 3 Jun 2017 13:43:48 +0200
Subject: Avoid errors with recent version of gcc

---
 plugins/build-basic-autotools/Makefile.am | 3 +++
 plugins/cvs-plugin/Makefile.am            | 3 +++
 plugins/debug-manager/Makefile.am         | 3 +++
 plugins/file-manager/Makefile.am          | 3 +++
 plugins/git/Makefile.am                   | 3 +++
 5 files changed, 15 insertions(+)

diff --git a/plugins/build-basic-autotools/Makefile.am 
b/plugins/build-basic-autotools/Makefile.am
index b91dda2..0858303 100644
--- a/plugins/build-basic-autotools/Makefile.am
+++ b/plugins/build-basic-autotools/Makefile.am
@@ -32,6 +32,9 @@ AM_CPPFLAGS = \
        $(DEPRECATED_FLAGS) \
        $(LIBANJUTA_CFLAGS)
 
+AM_CFLAGS += \
+       -Wno-error=format-nonliteral
+
 # Where to install the plugin
 plugindir = $(anjuta_plugin_dir)
 
diff --git a/plugins/cvs-plugin/Makefile.am b/plugins/cvs-plugin/Makefile.am
index b6d4f0e..dd83f4e 100644
--- a/plugins/cvs-plugin/Makefile.am
+++ b/plugins/cvs-plugin/Makefile.am
@@ -2,6 +2,9 @@
 cvs_plugin_gladedir = $(anjuta_glade_dir)
 dist_cvs_plugin_glade_DATA = anjuta-cvs-plugin.ui
 
+AM_CFLAGS += \
+       -Wno-error=format-nonliteral
+
 cvs_plugin_pixmapsdir = $(anjuta_image_dir)
 dist_cvs_plugin_pixmaps_DATA = \
        anjuta-cvs-plugin.svg \
diff --git a/plugins/debug-manager/Makefile.am 
b/plugins/debug-manager/Makefile.am
index 751d63a..abe048f 100644
--- a/plugins/debug-manager/Makefile.am
+++ b/plugins/debug-manager/Makefile.am
@@ -21,6 +21,9 @@ AM_CPPFLAGS= \
        $(GIO_CFLAGS) \
        $(LIBANJUTA_CFLAGS)
 
+AM_CFLAGS += \
+       -Wno-error=format-nonliteral
+
 plugindir = $(anjuta_plugin_dir)
 plugin_LTLIBRARIES = libanjuta-debug-manager.la
 
diff --git a/plugins/file-manager/Makefile.am b/plugins/file-manager/Makefile.am
index 1d86aeb..eecb6f5 100644
--- a/plugins/file-manager/Makefile.am
+++ b/plugins/file-manager/Makefile.am
@@ -33,6 +33,9 @@ AM_CPPFLAGS = \
        $(GDL_CFLAGS) \
        $(GIO_CFLAGS)
 
+AM_CFLAGS += \
+       -Wno-error=format-y2k
+
 # Where to install the plugin
 plugindir = $(anjuta_plugin_dir)
 
diff --git a/plugins/git/Makefile.am b/plugins/git/Makefile.am
index 21889d0..45ab84c 100644
--- a/plugins/git/Makefile.am
+++ b/plugins/git/Makefile.am
@@ -29,6 +29,9 @@ AM_CPPFLAGS = \
        $(DEPRECATED_FLAGS) \
        $(LIBANJUTA_CFLAGS)
 
+AM_CFLAGS += \
+       -Wno-error=format-nonliteral
+
 # Where to install the plugin
 plugindir = $(anjuta_plugin_dir)
 
-- 
cgit v0.12


>From a10b1b33ee89de8c86dc56f5b7a88c452ea246ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Granjoux?= <[email protected]>
Date: Sat, 3 Jun 2017 13:52:24 +0200
Subject: gdb: bgo #783380 Unable to debug executable compiled with -pie option

---
 plugins/gdb/anjuta-gdb.plugin.in | 2 +-
 plugins/gdb/plugin.c             | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/gdb/anjuta-gdb.plugin.in b/plugins/gdb/anjuta-gdb.plugin.in
index fb90b69..782c202 100644
--- a/plugins/gdb/anjuta-gdb.plugin.in
+++ b/plugins/gdb/anjuta-gdb.plugin.in
@@ -7,4 +7,4 @@ UserActivatable=yes
 Interfaces=IAnjutaDebugger
 
 [File Loader]
-SupportedMimeTypes=application/x-executable,application/octet-stream,application/x-core,application/x-shellscript
+SupportedMimeTypes=application/x-executable,application/octet-stream,application/x-core,application/x-shellscript,application/x-sharedlib
diff --git a/plugins/gdb/plugin.c b/plugins/gdb/plugin.c
index 526ec40..396000c 100644
--- a/plugins/gdb/plugin.c
+++ b/plugins/gdb/plugin.c
@@ -429,6 +429,7 @@ idebugger_load (IAnjutaDebugger *plugin, const gchar *file, 
const gchar* mime_ty
                /* Hope that the target is supported */
        }
        else if ((strcmp (mime_type, "application/x-executable") == 0) ||
+               (strcmp (mime_type, "application/x-sharedlib") == 0) ||
                (strcmp (mime_type, "application/octet-stream") == 0))
        {
                /* Supported target */
-- 
cgit v0.12


Reply via email to