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