summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/bonobo/libbonobo
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/bonobo/libbonobo')
-rw-r--r--meta-gnome/recipes-gnome/bonobo/libbonobo/0001-Remove-use-of-G_DISABLE_DEPRECATED.patch47
-rw-r--r--meta-gnome/recipes-gnome/bonobo/libbonobo/do-not-use-srcdir-variable.patch24
-rw-r--r--meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch26
3 files changed, 0 insertions, 97 deletions
diff --git a/meta-gnome/recipes-gnome/bonobo/libbonobo/0001-Remove-use-of-G_DISABLE_DEPRECATED.patch b/meta-gnome/recipes-gnome/bonobo/libbonobo/0001-Remove-use-of-G_DISABLE_DEPRECATED.patch
deleted file mode 100644
index 44cf1f9fa0..0000000000
--- a/meta-gnome/recipes-gnome/bonobo/libbonobo/0001-Remove-use-of-G_DISABLE_DEPRECATED.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From fef13a371fc91f6d9b42518126c2a8b459fdf0e8 Mon Sep 17 00:00:00 2001
2From: Colin Walters <walters@verbum.org>
3Date: Thu, 2 May 2013 14:17:38 -0400
4Subject: [PATCH] Remove use of G_DISABLE_DEPRECATED
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This now trips up on GStaticRecMutex; I'm not going to bother to port,
10realistically no one is actively maintaining this code anymore.
11
12Upstream-Status: Applied
13
14Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
15---
16 activation-server/Makefile.am | 1 -
17 configure.in | 2 +-
18 2 files changed, 1 insertions(+), 2 deletions(-)
19
20diff --git a/activation-server/Makefile.am b/activation-server/Makefile.am
21index efb18a8..ffa90f6 100644
22--- a/activation-server/Makefile.am
23+++ b/activation-server/Makefile.am
24@@ -17,7 +17,6 @@ INCLUDES= \
25 $(SERVER_CFLAGS) \
26 $(WARN_CFLAGS) \
27 -DSERVER_CONFDIR=\"$(sysconfdir)\" \
28- -DG_DISABLE_DEPRECATED \
29 -DG_LOG_DOMAIN=\"Bonobo-Activation-Server\" \
30 $(NULL)
31
32diff --git a/configure.in b/configure.in
33index 70a4e26..6be2bca 100644
34--- a/configure.in
35+++ b/configure.in
36@@ -132,7 +132,7 @@ AC_SUBST(SERVER_LIBS)
37 AC_SUBST(SERVER_CFLAGS)
38
39 if test "$enable_maintainer_mode" = "yes"; then
40- DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES"
41+ DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES"
42 AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
43 fi
44
45--
461.7.6.5
47
diff --git a/meta-gnome/recipes-gnome/bonobo/libbonobo/do-not-use-srcdir-variable.patch b/meta-gnome/recipes-gnome/bonobo/libbonobo/do-not-use-srcdir-variable.patch
deleted file mode 100644
index a20edda841..0000000000
--- a/meta-gnome/recipes-gnome/bonobo/libbonobo/do-not-use-srcdir-variable.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1| tests/Makefile.am:55: error: using '$(srcdir)' in TESTS is currently broken: '$(srcdir)/te
2st-properties.sh'
3| tests/test-activation/Makefile.am:76: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS
4' (or '*_CPPFLAGS')
5| utils/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS
6')
7| autoreconf: automake failed with exit status: 1
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10Upstream-Status: Not Submitted
11
12Index: libbonobo-2.32.1/tests/Makefile.am
13===================================================================
14--- libbonobo-2.32.1.orig/tests/Makefile.am 2010-08-29 04:56:00.000000000 -0700
15+++ libbonobo-2.32.1/tests/Makefile.am 2014-04-25 15:38:22.024744384 -0700
16@@ -55,7 +55,7 @@
17 MODELS_DIR="$(srcdir)/models"
18
19 TESTS = test-moniker$(EXEEXT) test-event-source$(EXEEXT) test-object$(EXEEXT) \
20- test-stream-mem$(EXEEXT) $(srcdir)/test-properties.sh test-storage-mem$(EXEEXT) \
21+ test-stream-mem$(EXEEXT) test-properties.sh test-storage-mem$(EXEEXT) \
22 test-main-loop$(EXEEXT)
23
24 # TESTS += test-generic-factory.sh
diff --git a/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch b/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch
deleted file mode 100644
index 20db671e05..0000000000
--- a/meta-gnome/recipes-gnome/bonobo/libbonobo/fix-nonliteral-in-string.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1This checks whether the format string is a literal on the calling function. As bonobo_debug_print()
2takes already a va_list, we specify the format on the functions that call it
3The second number, which is 0 here, should then be the argument index of the variadic argument
4
5Fixed warning with clang
6
7| ../../libbonobo-2.32.1/bonobo/bonobo-debug.c:58:32: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
8| vfprintf (_bonobo_debug_file, fmt, args);
9| ^~~
10| 1 error generated.
11
12Upstream-Status: Pending
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
15Index: libbonobo-2.32.1/bonobo/bonobo-debug.c
16===================================================================
17--- libbonobo-2.32.1.orig/bonobo/bonobo-debug.c
18+++ libbonobo-2.32.1/bonobo/bonobo-debug.c
19@@ -47,6 +47,7 @@ bonobo_debug_init(void)
20 _bonobo_debug_file = stderr;
21 }
22
23+__attribute__((__format__ (printf, 2, 0)))
24 void
25 bonobo_debug_print (const char *name, char *fmt, ...)
26 {