fix namespace issues for qt 4.8.2
This commit is contained in:
parent
49f219fc14
commit
072de78ddf
16
geo/qgis/patches/patch-src_core_qgssearchstringparser_yy
Normal file
16
geo/qgis/patches/patch-src_core_qgssearchstringparser_yy
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_core_qgssearchstringparser_yy,v 1.1 2012/06/13 10:28:03 espie Exp $
|
||||
--- src/core/qgssearchstringparser.yy.orig Wed Jun 13 11:52:43 2012
|
||||
+++ src/core/qgssearchstringparser.yy Wed Jun 13 11:58:49 2012
|
||||
@@ -18,6 +18,12 @@
|
||||
/* $Id: patch-src_core_qgssearchstringparser_yy,v 1.1 2012/06/13 10:28:03 espie Exp $ */
|
||||
|
||||
%{
|
||||
+// XXX
|
||||
+// these conflict with scopedpointer
|
||||
+// and the parser generator re-defines these as enums anyways
|
||||
+#undef X
|
||||
+#undef Y
|
||||
+
|
||||
#include <qglobal.h>
|
||||
#include <QList>
|
||||
#include <cstdlib>
|
Loading…
x
Reference in New Issue
Block a user