123 lines
3.9 KiB
Diff
123 lines
3.9 KiB
Diff
|
From ae460ed1c2512875032a641dbe157b7a7144c09b Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?S=C3=A9bastien=20Granjoux?= <seb.sfo@free.fr>
|
||
|
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?= <seb.sfo@free.fr>
|
||
|
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
|
||
|
|