diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-05-31 15:53:34 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-05-31 15:53:52 +0200 |
commit | 3f723b36c404374dcf10c347d913f8e3cba93fae (patch) | |
tree | 4a3b9d86574ecc5d17fe7390c47d21a6fbc79d43 /libvisio | |
parent | 6a491cbe8f86e7ce57e0281bf45d74c628ef7956 (diff) |
Uploading the libvisio 0.0.17 release
Change-Id: Ib517cec1709e331f60aca4f0d6968da41d14b228
Diffstat (limited to 'libvisio')
-rw-r--r-- | libvisio/libvisio-0.0.16-fdo50178.patch | 29 | ||||
-rw-r--r-- | libvisio/libvisio-0.0.16-nothrow.patch | 31 | ||||
-rw-r--r-- | libvisio/libvisio-0.0.16.patch | 20 | ||||
-rw-r--r-- | libvisio/makefile.mk | 9 |
4 files changed, 2 insertions, 87 deletions
diff --git a/libvisio/libvisio-0.0.16-fdo50178.patch b/libvisio/libvisio-0.0.16-fdo50178.patch deleted file mode 100644 index e05887a5987b..000000000000 --- a/libvisio/libvisio-0.0.16-fdo50178.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- misc/build/libvisio-0.0.16/src/lib/VSDXContentCollector.cpp 2012-04-14 17:29:03.000000000 +0200 -+++ misc/libvisio-0.0.16/src/lib/VSDXContentCollector.cpp 2012-05-23 22:30:44.542099908 +0200 -@@ -1470,7 +1470,8 @@ - /* NURBS with incomplete data */ - void libvisio::VSDXContentCollector::collectNURBSTo(unsigned id, unsigned level, double x2, double y2, double knot, double knotPrev, double weight, double weightPrev, unsigned dataID) - { -- std::map<unsigned, NURBSData>::const_iterator iter; -+ std::map<unsigned, NURBSData>::const_iterator iter; -+ std::map<unsigned, NURBSData>::const_iterator iterEnd; - NURBSData data; - if (dataID == 0xFFFFFFFE) // Use stencil NURBS data - { -@@ -1490,13 +1491,15 @@ - } - dataID = tmpElement->m_dataID; - iter = m_stencilShape->m_nurbsData.find(dataID); -+ iterEnd = m_stencilShape->m_nurbsData.end(); - } - else // No stencils involved, directly get dataID and fill in missing parts - { - iter = m_NURBSData.find(dataID); -+ iterEnd = m_NURBSData.end(); - } - -- if (iter != m_NURBSData.end()) -+ if (iter != iterEnd) - { - data = iter->second; - data.knots.push_back(knot); diff --git a/libvisio/libvisio-0.0.16-nothrow.patch b/libvisio/libvisio-0.0.16-nothrow.patch deleted file mode 100644 index 42b8efebe5d2..000000000000 --- a/libvisio/libvisio-0.0.16-nothrow.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- misc/libvisio-0.0.16/src/lib/VisioDocument.cpp 2012-04-13 10:54:19.000000000 +0200 -+++ misc/build/libvisio-0.0.16/src/lib/VisioDocument.cpp 2012-05-16 15:16:08.974375389 +0200 -@@ -45,10 +45,13 @@ - */ - bool libvisio::VisioDocument::isSupported(WPXInputStream *input) - { -+ WPXInputStream *tmpDocStream = 0; -+ try -+ { - input->seek(0, WPX_SEEK_SET); - if (!input->isOLEStream()) - return false; -- WPXInputStream *tmpDocStream = input->getDocumentOLEStream("VisioDocument"); -+ tmpDocStream = input->getDocumentOLEStream("VisioDocument"); - if (!tmpDocStream) - return false; - -@@ -64,6 +67,13 @@ - { - return true; - } -+ } -+ catch (...) -+ { -+ if (tmpDocStream) -+ delete tmpDocStream; -+ return false; -+ } - - return false; - } diff --git a/libvisio/libvisio-0.0.16.patch b/libvisio/libvisio-0.0.16.patch deleted file mode 100644 index 6a8824f31a2f..000000000000 --- a/libvisio/libvisio-0.0.16.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- misc/libvisio-0.0.16/src/lib/libvisio_utils.h -+++ misc/build/libvisio-0.0.16/src/lib/libvisio_utils.h -@@ -42,17 +42,8 @@ - - #else - --#ifdef HAVE_CONFIG_H --#include <config.h> --#endif -- --#ifdef HAVE_STDINT_H - #include <stdint.h> --#endif -- --#ifdef HAVE_INTTYPES_H - #include <inttypes.h> --#endif - - #endif - diff --git a/libvisio/makefile.mk b/libvisio/makefile.mk index 29e8658eb152..0c4a60404207 100644 --- a/libvisio/makefile.mk +++ b/libvisio/makefile.mk @@ -54,13 +54,8 @@ INCPRE+=$(WPG_CFLAGS) INCPRE+=$(SOLARVER)$/$(UPD)$/$(INPATH)$/inc$/libwpg .ENDIF -TARFILE_NAME=libvisio-0.0.16 -TARFILE_MD5=2fa6028324347860e684e75310818d43 - -PATCH_FILES=\ - $(TARFILE_NAME)-nothrow.patch \ - $(TARFILE_NAME)-fdo50178.patch \ - $(TARFILE_NAME).patch +TARFILE_NAME=libvisio-0.0.17 +TARFILE_MD5=90010e213dd25648e70f0cc12f8fed55 BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS) |