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

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