diff --git a/0001-build-libetonyek-with-no-strict-aliasing.patch b/0001-build-libetonyek-with-no-strict-aliasing.patch new file mode 100644 index 0000000..0b7feed --- /dev/null +++ b/0001-build-libetonyek-with-no-strict-aliasing.patch @@ -0,0 +1,25 @@ +From 08fe34b1b00fee1ee9b4332c8e4b9142af63b4a5 Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Thu, 5 Feb 2015 14:46:31 +0100 +Subject: [PATCH 1/2] build libetonyek with no-strict-aliasing + +Change-Id: I004133fb8a8e55cce74470078013e102d6c0514e +--- + external/libetonyek/ExternalProject_libetonyek.mk | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/external/libetonyek/ExternalProject_libetonyek.mk b/external/libetonyek/ExternalProject_libetonyek.mk +index b4b5589..6e090b1 100644 +--- a/external/libetonyek/ExternalProject_libetonyek.mk ++++ b/external/libetonyek/ExternalProject_libetonyek.mk +@@ -38,6 +38,7 @@ $(call gb_ExternalProject_get_state_target,libetonyek,build) : + XML_CFLAGS="$(LIBXML_CFLAGS)" \ + XML_LIBS="$(LIBXML_LIBS)" \ + $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ ++ CXXFLAGS="$(CXXFLAGS) -fno-strict-aliasing" \ + && $(MAKE) \ + ) + +-- +2.1.0 + diff --git a/libreoffice.spec b/libreoffice.spec index 9f28033..3341923 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -328,6 +328,7 @@ Patch18: 0001-radio-check-top-center-bottom-alignment-for-table-ce.patch Patch19: 0001-allow-comparing-documents-which-only-differ-by-frame.patch Patch20: 0001-Use-the-same-advanced-Ellipse-and-Rectangle-shapes-i.patch Patch21: 0001-add-accel.-to-switch-monitors-to-pres.-console.patch +Patch22: 0001-build-libetonyek-with-no-strict-aliasing.patch %define instdir %{_libdir} %define baseinstdir %{instdir}/libreoffice