fix namespace issues for qt 4.8.2

This commit is contained in:
espie 2012-06-13 10:28:03 +00:00
parent 49f219fc14
commit 072de78ddf

View 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>