summaryrefslogtreecommitdiffstats
path: root/kxsldbg
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2018-07-18 19:53:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-07-18 19:54:04 +0900
commit70747edc88e1933c7d84175314274214adc41947 (patch)
treefd0d388372147c5d9200ba0b09fe54ca5f1581d5 /kxsldbg
parent3ebeb292bad7ce7c76a030ddd74128dd0ef06c61 (diff)
downloadtdewebdev-70747edc88e1933c7d84175314274214adc41947.tar.gz
tdewebdev-70747edc88e1933c7d84175314274214adc41947.zip
Fixed FTBFS with libxml2 >= 2.9.8
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9a0e63020401f11541d46104a01a09e805032223)
Diffstat (limited to 'kxsldbg')
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp
index 270ce82d..56a3ad20 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp
@@ -283,7 +283,11 @@ breakPointItemNew(void)
* Free memory associated with this break point
*/
void
+#if LIBXML_VERSION >= 20908
+breakPointItemFree(void *payload, const xmlChar * name)
+#else
breakPointItemFree(void *payload, xmlChar * name)
+#endif
{
Q_UNUSED(name);
if (payload) {
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
index 83f2e712..fd410366 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
@@ -486,7 +486,11 @@ extern "C" {
*/
#endif
#endif
+#if LIBXML_VERSION >= 20908
+ void breakPointItemFree(void *payload, const xmlChar * name);
+#else
void breakPointItemFree(void *payload, xmlChar * name);
+#endif