d187053cf0912df5908a0b0bcb0253a757a6d9a2
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / avahi / 0004-no-gtk-deprecations.patch
1 Patch from http://pkgs.fedoraproject.org/cgit/avahi.git/plain/avahi-0.6.31-no-deprecations.patch?id=b3f4de05e331258c5123e3acc144e452595c2112
2
3 Don't disable deprecated GTK support, as that breaks builds with modern GTK3
4 versions.
5
6 For more details, see the Fedora bugzilla:
7 https://bugzilla.redhat.com/show_bug.cgi?id=1001676
8
9 [Peter: patch Makefile.in so we don't need autoreconf]
10 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 ---
12  avahi-ui/Makefile.am |    2 +-
13  avahi-ui/Makefile.in |    3 +--
14  configure.ac         |    2 +-
15  3 files changed, 3 insertions(+), 4 deletions(-)
16
17 Index: avahi-0.6.31/avahi-ui/Makefile.in
18 ===================================================================
19 --- avahi-0.6.31.orig/avahi-ui/Makefile.in
20 +++ avahi-0.6.31/avahi-ui/Makefile.in
21 @@ -464,8 +464,7 @@
22  top_srcdir = @top_srcdir@
23  
24  # This cool debug trap works on i386/gcc only
25 -AM_CFLAGS = -I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 \
26 -       -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 \
27 +AM_CFLAGS = -I$(top_srcdir) \
28         '-DDEBUG_TRAP=__asm__("int $$3")' $(am__append_1)
29  pkglibdatadir = $(libdir)/avahi
30  desktopdir = $(datadir)/applications