Blame SOURCES/0001-Resolves-rhbz-1545262-Workaround-for-spurious-ppc64l.patch

27aea6
From b9071e63980ea644ed21cd5fa99850cbed44da79 Mon Sep 17 00:00:00 2001
27aea6
From: Stephan Bergmann <sbergman@redhat.com>
27aea6
Date: Wed, 25 Jul 2018 11:10:17 +0200
27aea6
Subject: [PATCH] Resolves: rhbz#1545262 Workaround for spurious ppc64le
27aea6
 automated testing crash
27aea6
27aea6
Change-Id: Ia24a3803bb02e0d6e12561566e11659d554fb739
27aea6
---
27aea6
 vcl/unx/gtk3/gtk3gtkframe.cxx | 2 ++
27aea6
 1 file changed, 2 insertions(+)
27aea6
27aea6
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
27aea6
index 9d21f7b13b7b..ec1a63302e97 100644
27aea6
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
27aea6
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
27aea6
@@ -2824,6 +2824,7 @@ void GtkSalFrame::gestureSwipe(GtkGestureSwipe* gesture, gdouble velocity_x, gdo
27aea6
 
27aea6
 void GtkSalFrame::gestureLongPress(GtkGestureLongPress* gesture, gpointer frame)
27aea6
 {
27aea6
+#if !(defined __powerpc64__ && defined __LITTLE_ENDIAN__) // Hack to work around rhbz#1545262
27aea6
     GtkSalFrame* pThis = static_cast<GtkSalFrame*>(frame);
27aea6
 
27aea6
     if(pThis)
27aea6
@@ -2838,6 +2839,7 @@ void GtkSalFrame::gestureLongPress(GtkGestureLongPress* gesture, gpointer frame)
27aea6
 
27aea6
         pThis->CallCallbackExc(SalEvent::LongPress, &aEvent);
27aea6
     }
27aea6
+#endif
27aea6
 }
27aea6
 
27aea6
 #endif
27aea6
-- 
27aea6
2.17.1
27aea6