summaryrefslogtreecommitdiff
path: root/libwps
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2010-11-17 20:50:52 +0100
committerDavid Tardon <dtardon@redhat.com>2010-11-17 20:50:52 +0100
commit26e14f7da1316b0bf9c5dfb2e61cbc4d58f40951 (patch)
tree89970187c214914e16f6c37a31aa647c04403410 /libwps
parent2e2914495ef28f0e1bf6e87f0287495163582008 (diff)
add missing include for debug build
Diffstat (limited to 'libwps')
-rw-r--r--libwps/libwps-0.2.0.patch11
-rw-r--r--libwps/makefile.mk2
2 files changed, 13 insertions, 0 deletions
diff --git a/libwps/libwps-0.2.0.patch b/libwps/libwps-0.2.0.patch
new file mode 100644
index 000000000000..6af2989b70af
--- /dev/null
+++ b/libwps/libwps-0.2.0.patch
@@ -0,0 +1,11 @@
+diff -up misc/build/libwps-0.2.0/src/lib/libwps_internal.h.old misc/build/libwps-0.2.0/src/lib/libwps_internal.h
+--- misc/build/libwps-0.2.0/src/lib/libwps_internal.h.old 2010-11-17 20:47:23.288507198 +0100
++++ misc/build/libwps-0.2.0/src/lib/libwps_internal.h 2010-11-17 20:47:26.596839807 +0100
+@@ -23,6 +23,7 @@
+ #define LIBWPS_INTERNAL_H
+ #ifdef DEBUG
+ #include <bitset>
++#include <stdio.h>
+ #endif
+ #include <libwpd-stream/libwpd-stream.h>
+ #include <libwpd/libwpd.h>
diff --git a/libwps/makefile.mk b/libwps/makefile.mk
index 0a8bd6a8db86..3f9667bf008f 100644
--- a/libwps/makefile.mk
+++ b/libwps/makefile.mk
@@ -54,6 +54,8 @@ TARFILE_MD5=9e436bff44c60dc8b97cba0c7fc11a5c
BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS)
BUILD_DIR=src/lib
+PATCH_FILES=libwps-0.2.0.patch
+
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk