$OpenBSD: patch-src_core_qgssearchstringparser_yy,v 1.2 2012/11/01 07:25:36 landry Exp $
--- src/core/qgssearchstringparser.yy.orig	Wed Feb 22 21:48:14 2012
+++ src/core/qgssearchstringparser.yy	Wed Oct 31 11:09:36 2012
@@ -18,6 +18,12 @@
  /* $Id: patch-src_core_qgssearchstringparser_yy,v 1.2 2012/11/01 07:25:36 landry 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>
