From 429f902919d0b659f4a7556661280cbe95165765 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 9 Dec 2018 15:30:31 +0100 Subject: Update qt5 and libdbusmenu-gtk, rebuild qt5-webkit I decided to stick with Qt 5.11.3 and wait with updating to 5.12.0 until after Applications 18.12.0. --- .../patches/libdbusmenu_configure_valgrind.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 deps/libdbusmenu-gtk/patches/libdbusmenu_configure_valgrind.patch (limited to 'deps/libdbusmenu-gtk/patches') diff --git a/deps/libdbusmenu-gtk/patches/libdbusmenu_configure_valgrind.patch b/deps/libdbusmenu-gtk/patches/libdbusmenu_configure_valgrind.patch new file mode 100644 index 0000000..a578778 --- /dev/null +++ b/deps/libdbusmenu-gtk/patches/libdbusmenu_configure_valgrind.patch @@ -0,0 +1,35 @@ +From 4b79b41a25cc1e2c4355738b4bed6c73b919ffee Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Sun, 6 Aug 2017 17:55:45 +0200 +Subject: [PATCH] configure: Fix HAVE_VALGRIND not being defined when tests are + disabled + +If --disable-tests is used, configure fails with the following error: + + configure: error: conditional "HAVE_VALGRIND" was never defined. + Usually this means the macro was only invoked conditionally. + +This is because AM_CONDITIONAL for it is called inside the 'if' for +tests being enabled. Move it just below that block to ensure that it's +defined unconditionally. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index ace54d1..cbd38a6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -120,8 +120,8 @@ PKG_CHECK_MODULES(DBUSMENUTESTS, json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION + [have_tests=yes] + ) + PKG_CHECK_MODULES(DBUSMENUTESTSVALGRIND, valgrind, have_valgrind=yes, have_valgrind=no) +-AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"]) + ]) ++AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"]) + + AC_SUBST(DBUSMENUTESTS_CFLAGS) + AC_SUBST(DBUSMENUTESTS_LIBS) +-- +2.14.0 + -- cgit v1.2.3