summaryrefslogtreecommitdiff
path: root/external/libvisio/0001-fix-debug-build.patch.1
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-10-22 21:27:15 +0200
committerDavid Tardon <dtardon@redhat.com>2017-10-23 09:12:09 +0200
commit1bad74aca003fa6a7a376ef9498b9ba6c64b6223 (patch)
tree2fcc0abd1570a0e9784cda4c663cecb1c86f8fc6 /external/libvisio/0001-fix-debug-build.patch.1
parentb17294826830e278d060c876cf4f94a9b4ec16cc (diff)
upload libvisio 0.1.6
Change-Id: I7864603e47e9f9337323ff4eed4e08f20bf5a756 Reviewed-on: https://gerrit.libreoffice.org/43703 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/libvisio/0001-fix-debug-build.patch.1')
-rw-r--r--external/libvisio/0001-fix-debug-build.patch.140
1 files changed, 40 insertions, 0 deletions
diff --git a/external/libvisio/0001-fix-debug-build.patch.1 b/external/libvisio/0001-fix-debug-build.patch.1
new file mode 100644
index 000000000000..4146e6e8bfe7
--- /dev/null
+++ b/external/libvisio/0001-fix-debug-build.patch.1
@@ -0,0 +1,40 @@
+From 15f3774513d0181ad90da382297c175cc3424462 Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon@redhat.com>
+Date: Sun, 22 Oct 2017 21:24:43 +0200
+Subject: [PATCH] fix debug build
+
+Change-Id: I860b6034e5d833900652aec8c3647eeae185e538
+---
+ src/lib/VDXParser.cpp | 2 +-
+ src/lib/VSDXParser.cpp | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/lib/VDXParser.cpp b/src/lib/VDXParser.cpp
+index f2f3154..0f07efd 100644
+--- a/src/lib/VDXParser.cpp
++++ b/src/lib/VDXParser.cpp
+@@ -916,7 +916,7 @@ xmlChar *libvisio::VDXParser::readStringData(xmlTextReaderPtr reader)
+ ret = xmlTextReaderRead(reader);
+ if (1 == ret && stringValue)
+ {
+- VSD_DEBUG_MSG(("VDXParser::readStringData stringValue %s\n", (const char *)stringValue));
++ VSD_DEBUG_MSG(("VDXParser::readStringData stringValue %s\n", (const char *)stringValue.get()));
+ return stringValue.release();
+ }
+ }
+diff --git a/src/lib/VSDXParser.cpp b/src/lib/VSDXParser.cpp
+index 488be3a..efd46b9 100644
+--- a/src/lib/VSDXParser.cpp
++++ b/src/lib/VSDXParser.cpp
+@@ -555,7 +555,7 @@ xmlChar *libvisio::VSDXParser::readStringData(xmlTextReaderPtr reader)
+ std::unique_ptr<xmlChar, void (*)(void *)> stringValue(xmlTextReaderGetAttribute(reader, BAD_CAST("V")), xmlFree);
+ if (stringValue)
+ {
+- VSD_DEBUG_MSG(("VSDXParser::readStringData stringValue %s\n", (const char *)stringValue));
++ VSD_DEBUG_MSG(("VSDXParser::readStringData stringValue %s\n", (const char *)stringValue.get()));
+ return stringValue.release();
+ }
+ return nullptr;
+--
+2.14.1
+