From 6f4cba08e06fe2921b8812e1a16acef2f3bfe2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 29 Aug 2014 11:32:50 +0100 Subject: [PATCH] fix ppc64 testtools --- ...-forgot-to-include-the-endian-header.patch | 29 +++++++++++++++++++ libreoffice.spec | 1 + 2 files changed, 30 insertions(+) create mode 100644 0001-sigh-simply-forgot-to-include-the-endian-header.patch 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?= +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 + #include + #include +- ++#include + #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 37f0b36..37ec7b6 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -310,6 +310,7 @@ Patch22: 0001-Resolves-rhbz-1125588-port-LibreOffice-to-ppc64le.patch Patch23: 0001-if-_CALL_ELF-if-defined-_CALL_ELF-_CALL_ELF-2.patch Patch24: 0001-fix-variable-name.patch Patch25: 0001-cast-arg-to-the-right-type.patch +Patch26: 0001-sigh-simply-forgot-to-include-the-endian-header.patch %define instdir %{_libdir} %define baseinstdir %{instdir}/libreoffice