From b6474af74efbea10a20cf597145ba517c8447233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 6 Jun 2013 21:02:12 +0200 Subject: [PATCH] Fix FTBFS due to missing flags for libxml Fix FTBFS due to 'signals' definition conflict --- filters/kword/msword/Makefile.am | 4 ++-- filters/kword/msword/graphicshandler.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/filters/kword/msword/Makefile.am b/filters/kword/msword/Makefile.am index 02a9736d9..13da17c20 100644 --- a/filters/kword/msword/Makefile.am +++ b/filters/kword/msword/Makefile.am @@ -1,6 +1,6 @@ ####### General stuff -INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(LIBWV2_CFLAGS) $(all_includes) -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include +INCLUDES= -I$(srcdir) $(KOFFICE_INCLUDES) $(LIBWV2_CFLAGS) $(LIBXML_CFLAGS) $(all_includes) -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include ####### Files @@ -9,7 +9,7 @@ kde_module_LTLIBRARIES = libmswordimport.la libmswordimport_la_SOURCES = mswordimport.cpp document.cpp conversion.cpp \ texthandler.cpp tablehandler.cpp graphicshandler.cpp libmswordimport_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -ltdeio -ltdeparts -libmswordimport_la_LIBADD = $(KOFFICE_LIBS) $(LIBWV2_LIBS) +libmswordimport_la_LIBADD = $(KOFFICE_LIBS) $(LIBWV2_LIBS) $(LIBXML_LIBS) METASOURCES = AUTO diff --git a/filters/kword/msword/graphicshandler.cpp b/filters/kword/msword/graphicshandler.cpp index efcef0e79..43793d8d9 100644 --- a/filters/kword/msword/graphicshandler.cpp +++ b/filters/kword/msword/graphicshandler.cpp @@ -20,6 +20,7 @@ #include "graphicshandler.h" #include "document.h" +#undef signals // Collides with GTK symbols #include #include