summaryrefslogtreecommitdiffstats
path: root/external/libcdr
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2018-12-29 14:53:07 +0100
committerDavid Tardon <dtardon@redhat.com>2018-12-29 22:01:48 +0100
commita8965ebc1b29ba578fc3e9cd6915e85e807d9fd6 (patch)
treedf0b37191df91720eb38aaf9411faf6d2efe4ec2 /external/libcdr
parentFix typo in code (diff)
downloadcore-a8965ebc1b29ba578fc3e9cd6915e85e807d9fd6.tar.gz
core-a8965ebc1b29ba578fc3e9cd6915e85e807d9fd6.zip
upload libcdr 0.1.5
Change-Id: I01454cc35baf96743bd19e64dd3a7269c58621bf Reviewed-on: https://gerrit.libreoffice.org/65715 Tested-by: Jenkins Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/libcdr')
-rw-r--r--external/libcdr/UnpackedTarball_libcdr.mk4
-rw-r--r--external/libcdr/libcdr-visibility-win.patch11
2 files changed, 15 insertions, 0 deletions
diff --git a/external/libcdr/UnpackedTarball_libcdr.mk b/external/libcdr/UnpackedTarball_libcdr.mk
index 4ca54804e6aa..23874f7d01b5 100644
--- a/external/libcdr/UnpackedTarball_libcdr.mk
+++ b/external/libcdr/UnpackedTarball_libcdr.mk
@@ -15,6 +15,10 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libcdr,0))
$(eval $(call gb_UnpackedTarball_update_autoconf_configs,libcdr))
+$(eval $(call gb_UnpackedTarball_add_patches,libcdr, \
+ external/libcdr/libcdr-visibility-win.patch \
+))
+
ifeq ($(COM_IS_CLANG),TRUE)
ifneq ($(filter -fsanitize=%,$(CC)),)
$(eval $(call gb_UnpackedTarball_add_patches,libcdr, \
diff --git a/external/libcdr/libcdr-visibility-win.patch b/external/libcdr/libcdr-visibility-win.patch
new file mode 100644
index 000000000000..7700cfd32f2f
--- /dev/null
+++ b/external/libcdr/libcdr-visibility-win.patch
@@ -0,0 +1,11 @@
+--- configure.dt 2018-12-29 16:23:02.355271146 +0100
++++ configure 2018-12-29 16:23:21.644060142 +0100
+@@ -19116,6 +19116,8 @@
+
+
+ if test $platform_win32 = yes; then :
++ HAVE_VISIBILITY_TRUE='#'
++ HAVE_VISIBILITY_FALSE=
+
+ else
+