[libreoffice/f20] fix ppc64 testtools

Caolán McNamara caolanm at fedoraproject.org
Fri Aug 29 10:35:03 UTC 2014


commit b75adadcd0bc005e7af04d1684cd2e8578a4ab4b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Aug 29 11:34:56 2014 +0100

    fix ppc64 testtools

 ...imply-forgot-to-include-the-endian-header.patch |   29 ++++++++++++++++++++
 libreoffice.spec                                   |    1 +
 2 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/0001-sigh-simply-forgot-to-include-the-endian-header.patch b/0001-sigh-simply-forgot-to-include-the-endian-header.patch
new file mode 100644
index 0000000..91f165e
--- /dev/null
+++ b/0001-sigh-simply-forgot-to-include-the-endian-header.patch
@@ -0,0 +1,29 @@
+From 8b865a1f2f35f591e8004a75765bd9b3133229a5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm at redhat.com>
+Date: Fri, 29 Aug 2014 11:29:36 +0100
+Subject: [PATCH] sigh, simply forgot to include the endian header
+
+so the ppc64 bridge was broken
+
+Change-Id: Ib60274ed25531f500bcd97f5ea9b04091ce01825
+(cherry picked from commit 7da6716e98f22d6cb968c3218b5f4936f868a977)
+---
+ bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
+index eaee739..acee17d 100644
+--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
++++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/cpp2uno.cxx
+@@ -21,7 +21,7 @@
+ #include <com/sun/star/uno/genfunc.hxx>
+ #include <uno/data.h>
+ #include <typelib/typedescription.hxx>
+-
++#include <osl/endian.h>
+ #include "bridges/cpp_uno/shared/bridge.hxx"
+ #include "bridges/cpp_uno/shared/cppinterfaceproxy.hxx"
+ #include "bridges/cpp_uno/shared/types.hxx"
+-- 
+1.9.3
+
diff --git a/libreoffice.spec b/libreoffice.spec
index cc24d74..93a6a79 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -302,6 +302,7 @@ Patch50: 0001-disable-FreeHand-support.patch
 Patch51: 0001-if-_CALL_ELF-if-defined-_CALL_ELF-_CALL_ELF-2.patch
 Patch52: 0001-fix-variable-name.patch
 Patch53: 0001-cast-arg-to-the-right-type.patch
+Patch54: 0001-sigh-simply-forgot-to-include-the-endian-header.patch
 
 %define instdir %{_libdir}
 %define baseinstdir %{instdir}/libreoffice


More information about the scm-commits mailing list