[Lunar-commits] <moonbase> gtk+-2: fixed DnD crash

Zbigniew Luszpinski zbiggy at lunar-linux.org
Fri Dec 31 19:19:39 CET 2010


commit 5c596e2d40ea6fb278d74b8654931cf177cfcdc4
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Fri Dec 31 19:19:39 2010 +0100

    gtk+-2: fixed DnD crash
---
 graphics/gtk+-2/BUILD |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/graphics/gtk+-2/BUILD b/graphics/gtk+-2/BUILD
index 51ec19d..4122c3c 100644
--- a/graphics/gtk+-2/BUILD
+++ b/graphics/gtk+-2/BUILD
@@ -2,6 +2,13 @@
 
   bad_flags -mssse3 &&
   bad_flags -mfpmath=sse &&
+
+  # Fixes drag and drop crash
+  bad_flags -O3 &&
+  bad_flags -O2 &&
+  CFLAGS=" -O1 $CFLAGS" &&
+  CXXFLAGS=$CFLAGS &&
+
   patch_it $SOURCE2 1 &&
   if [ "$USE_XINPUT" == "y" ]; then
     # XInput support is needed for Wacom tablets to work in GIMP


More information about the Lunar-commits mailing list