Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Michael, *,

On Fri, May 20, 2011 at 4:36 PM, Michael Meeks <michael.meeks@novell.com> wrote:
On Tue, 2011-05-10 at 23:25 +0200, Christian Lohmaier wrote:
[lotuswordpro bigendian problem]
If the code used
   *pStream >> nTag;
instead, the comparison would result in the correct result.

       can we commit that at least - and then turn off the test for big-endian
machines ?

Caolan did push some bigendianfixes for lotuswordpro filter that
includes the above change, not sure how long it would take to fully
make it compatible/working on bigendian..

[ in the absence of more PPCs around that seems like it might
be the easiest approach ].

See attached the patch to disable the cppunit test for Mac/PPC

(without the dummytarget (i.e. just replacing the cppunit eval with
the warning message would print the warning message three times.)

ciao
Christian
diff --git a/lotuswordpro/Module_lotuswordpro.mk b/lotuswordpro/Module_lotuswordpro.mk
index d523bda..f198d94 100644
--- a/lotuswordpro/Module_lotuswordpro.mk
+++ b/lotuswordpro/Module_lotuswordpro.mk
@@ -31,8 +31,19 @@ $(eval $(call gb_Module_add_targets,lotuswordpro,\
     Library_lwpft \
 ))
 
+ifeq ($(OS)$(CPUNAME),MACOSXPOWERPC)
+# add dummytargets to print warning only once
+$(call gb_Library_get_target,lwpft): $(WORKDIR)/lotuswordpro_dummytarget
+$(WORKDIR)/lotuswordpro_dummytarget:
+       $(eval $(call gb_Output_warn,error/ToDo/FIXME - lotuswordprofilter is broken on PPC - just 
skipping checks!,avoid buildbreaker))
+       touch $@
+clean: lotuswordpro_dummyclean
+lotuswordpro_dummyclean:
+       rm -f $(WORKDIR)/lotuswordpro_dummytarget
+else
 $(eval $(call gb_Module_add_check_targets,lotuswordpro,\
     CppunitTest_lotuswordpro_test_lotuswordpro \
 ))
+endif
 
 # vim: set noet ts=4 sw=4:

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.