From bef31e0daa39f3ba1cce5f28c31b07ded1f8994a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Jan 28 2011 20:30:00 +0000 Subject: add vbahelper.visibility.patch --- diff --git a/libreoffice.spec b/libreoffice.spec index ee6901c..75aac1a 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -109,6 +109,7 @@ Patch21: libreoffice-fdo32561.comphelper.patch Patch22: 0001-Related-rhbz-610103-more-woes-on-rpm-upgrade-vs-rpm-.patch Patch23: 0001-fexceptions-fexceptions.patch Patch24: 0001-Related-rhbz-672872-cancel-gtk-file-dialog-on-deskto.patch +Patch25: vbahelper.visibility.patch %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %define instdir %{_libdir} @@ -736,6 +737,7 @@ mv -f redhat.soc extras/source/palettes/standard.soc %patch22 -p1 -b .rhbz610103-more-woes-on-rpm-upgrade-vs-rpm-.patch %patch23 -p1 -b .fexceptions-fexceptions.patch %patch24 -p1 -b .rhbz672872-cancel-gtk-file-dialog-on-deskto.patch +%patch26 -p0 -b .vbahelper.visibility.patch touch scripting/source/pyprov/delzip touch scripting/util/provider/beanshell/delzip touch scripting/util/provider/javascript/delzip diff --git a/vbahelper.visibility.patch b/vbahelper.visibility.patch new file mode 100644 index 0000000..5ee26e7 --- /dev/null +++ b/vbahelper.visibility.patch @@ -0,0 +1,11 @@ +--- vbahelper/inc/vbahelper/vbacollectionimpl.hxx.orig 2011-01-28 20:27:51.507604173 +0000 ++++ vbahelper/inc/vbahelper/vbacollectionimpl.hxx 2011-01-28 20:28:26.230045727 +0000 +@@ -238,7 +238,7 @@ + + // including a HelperInterface implementation + template< typename Ifc1 > +-class ScVbaCollectionBase : public InheritedHelperInterfaceImpl< Ifc1 > ++class VBAHELPER_DLLPUBLIC ScVbaCollectionBase : public InheritedHelperInterfaceImpl< Ifc1 > + { + typedef InheritedHelperInterfaceImpl< Ifc1 > BaseColBase; + protected: