Author: evgeni
Date: 2013-12-29 09:23:16 +0000 (Sun, 29 Dec 2013)
New Revision: 14740

Added:
   packages/trunk/yabause/debian/patches/fix_qt_gles_ftbfs.patch
Log:
add (but not enable) patch for ftbfs when Qt is compiled with GLES


Added: packages/trunk/yabause/debian/patches/fix_qt_gles_ftbfs.patch
===================================================================
--- packages/trunk/yabause/debian/patches/fix_qt_gles_ftbfs.patch               
                (rev 0)
+++ packages/trunk/yabause/debian/patches/fix_qt_gles_ftbfs.patch       
2013-12-29 09:23:16 UTC (rev 14740)
@@ -0,0 +1,13 @@
+Index: yabause-0.9.13/src/qt/ui/UIYabause.cpp
+===================================================================
+--- yabause-0.9.13.orig/src/qt/ui/UIYabause.cpp        2013-11-22 
11:08:57.000000000 +0100
++++ yabause-0.9.13/src/qt/ui/UIYabause.cpp     2013-12-26 21:35:48.000000000 
+0100
+@@ -680,7 +680,7 @@
+       for ( int i = 0; i < filters.count(); i++ )
+               filters[i] = QtYabause::translate( "%1 Images (*.%2)" ).arg( 
filters[i].toUpper() ).arg( filters[i] );
+ 
+-#ifdef HAVE_LIBGL
++#if defined(HAVE_LIBGL) && !defined(QT_OPENGL_ES_1) && 
!defined(QT_OPENGL_ES_2)
+       glReadBuffer(GL_FRONT);
+ #endif
+ 


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to