Upload libvisio 0.1.4
Change-Id: Ia4cb506a95a150b8106187719e9104760409dea6
This commit is contained in:
@@ -148,8 +148,8 @@ export SERF_TARBALL := serf-1.2.1.tar.bz2
|
||||
export SWING_TARBALL := 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
|
||||
export UCPP_TARBALL := 0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
|
||||
export VIGRA_TARBALL := d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz
|
||||
export VISIO_MD5SUM := 617f800ab7639fd76c062ab74896318e
|
||||
export VISIO_TARBALL := libvisio-0.1.3.tar.bz2
|
||||
export VISIO_MD5SUM := 3f829e7e5f7304da37446938bb0df1f5
|
||||
export VISIO_TARBALL := libvisio-0.1.4.tar.bz2
|
||||
export WPD_MD5SUM := 0773d79a1f240ef9f4f20242b13c5bb7
|
||||
export WPD_TARBALL := libwpd-0.10.0.tar.bz2
|
||||
export WPG_MD5SUM := 17da9770cb8b317b7633f9807b32b71a
|
||||
|
@@ -13,10 +13,6 @@ $(eval $(call gb_UnpackedTarball_set_tarball,libvisio,$(VISIO_TARBALL)))
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_set_patchlevel,libvisio,0))
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,libvisio,\
|
||||
external/libvisio/ubsan.patch \
|
||||
))
|
||||
|
||||
ifeq ($(COM_IS_CLANG),TRUE)
|
||||
ifneq ($(filter -fsanitize=%,$(CC)),)
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,libvisio, \
|
||||
|
15
external/libvisio/ubsan.patch
vendored
15
external/libvisio/ubsan.patch
vendored
@@ -1,15 +0,0 @@
|
||||
--- src/lib/VSDParser.cpp
|
||||
+++ src/lib/VSDParser.cpp
|
||||
@@ -1104,7 +1104,11 @@
|
||||
input->seek(1, librevenge::RVNG_SEEK_CUR);
|
||||
double scale = readDouble(input);
|
||||
input->seek(1, librevenge::RVNG_SEEK_CUR);
|
||||
- scale /= readDouble(input);
|
||||
+ double scaleDenom = readDouble(input);
|
||||
+ if (scaleDenom != 0)
|
||||
+ {
|
||||
+ scale /= scaleDenom;
|
||||
+ }
|
||||
|
||||
if (m_isStencilStarted && m_currentStencil)
|
||||
{
|
Reference in New Issue
Block a user