bamf-no-werror.patch 960 B

12345678910111213141516171819202122232425262728
  1. From be5247b8dcb412a7172c1261151f1af812831d79 Mon Sep 17 00:00:00 2001
  2. From: Joshua Strobl <joshua@streambits.io>
  3. Date: Fri, 20 Sep 2019 12:59:26 +0300
  4. Subject: [PATCH 1/1] Drop -Werror from conf cflags
  5. In GLib 2.62+, G_TYPE_INSTANCE_GET_PRIVATE is deprecated and affects macros like BAMF_APPLICATION_GET_PRIVATE.
  6. ---
  7. configure.ac | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/configure.ac b/configure.ac
  10. index 41cb7db..7cc3b9d 100644
  11. --- a/configure.ac
  12. +++ b/configure.ac
  13. @@ -155,7 +155,7 @@ AC_SUBST(COVERAGE_LDFLAGS)
  14. AM_PATH_GTK_3_0
  15. dnl CFLAGS
  16. -CFLAGS="$CFLAGS -Wall -Werror -Wno-error=deprecated-declarations -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wimplicit-function-declaration -lm"
  17. +CFLAGS="$CFLAGS -Wall -Wno-error=deprecated-declarations -Wempty-body -Wformat-security -Winit-self -Warray-bounds -Wimplicit-function-declaration -lm"
  18. AC_SUBST(BAMFDAEMON_CFLAGS)
  19. AC_SUBST(BAMFDAEMON_LIBS)
  20. --
  21. 2.23.0