avahi-0.6.31-no-deprecations.patch 976 B

1234567891011121314151617181920212223
  1. --- avahi-0.6.31/avahi-ui/Makefile.am.orig 2013-09-21 16:47:28.677659361 +0200
  2. +++ avahi-0.6.31/avahi-ui/Makefile.am 2013-09-21 16:47:34.852520537 +0200
  3. @@ -15,7 +15,7 @@
  4. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  5. # USA.
  6. -AM_CFLAGS=-I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1
  7. +AM_CFLAGS=-I$(top_srcdir)
  8. # This cool debug trap works on i386/gcc only
  9. AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
  10. --- avahi-0.6.31/configure.ac.orig 2013-09-21 16:46:43.750669413 +0200
  11. +++ avahi-0.6.31/configure.ac 2013-09-21 16:47:02.566246400 +0200
  12. @@ -92,7 +92,7 @@
  13. AC_MSG_CHECKING([whether stack-smashing protection is available])
  14. ssp_old_cflags="$CFLAGS"
  15. ssp_old_ldflags="$LDFLAGS"
  16. - CFLAGS="$CFLAGS -Werror -fstack-protector-all -fPIC"
  17. + CFLAGS="$CFLAGS -fstack-protector-all -fPIC"
  18. LDFLAGS="$LDFLAGS -Wl,-z,defs"
  19. cat confdefs.h > conftest.c
  20. cat >>conftest.c <<_ACEOF