aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/bonobo/libbonobo/0001-Remove-use-of-G_DISABLE_DEPRECATED.patch
blob: 44cf1f9fa0327c863a2d2d50573cb8e3402dba32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From fef13a371fc91f6d9b42518126c2a8b459fdf0e8 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Thu, 2 May 2013 14:17:38 -0400
Subject: [PATCH] Remove use of G_DISABLE_DEPRECATED
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This now trips up on GStaticRecMutex; I'm not going to bother to port,
realistically no one is actively maintaining this code anymore.

Upstream-Status: Applied

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 activation-server/Makefile.am |    1 -
 configure.in                  |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/activation-server/Makefile.am b/activation-server/Makefile.am
index efb18a8..ffa90f6 100644
--- a/activation-server/Makefile.am
+++ b/activation-server/Makefile.am
@@ -17,7 +17,6 @@ INCLUDES=					\
 	$(SERVER_CFLAGS)			\
 	$(WARN_CFLAGS)				\
 	-DSERVER_CONFDIR=\"$(sysconfdir)\"	\
-	-DG_DISABLE_DEPRECATED			\
 	-DG_LOG_DOMAIN=\"Bonobo-Activation-Server\" \
 	$(NULL)
 
diff --git a/configure.in b/configure.in
index 70a4e26..6be2bca 100644
--- a/configure.in
+++ b/configure.in
@@ -132,7 +132,7 @@ AC_SUBST(SERVER_LIBS)
 AC_SUBST(SERVER_CFLAGS)
 
 if test "$enable_maintainer_mode" = "yes"; then
-	DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES"
+	DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES"
 	AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
 fi
 
-- 
1.7.6.5