$OpenBSD: patch-src_QGst_element_h,v 1.1 2017/12/26 19:18:57 rsadowski Exp $

Workaround for boost>=1.57 and MOC

The workaround to define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
doesn't work anymore.

https://bugreports.qt-project.org/browse/QTBUG-22829 for details.

Index: src/QGst/element.h
--- src/QGst/element.h.orig
+++ src/QGst/element.h
@@ -22,7 +22,9 @@
 #include "clocktime.h"
 
 #if !QGLIB_HAVE_CXX0X
+#ifndef Q_MOC_RUN
 # include <boost/preprocessor.hpp>
+#endif
 #endif
 
 namespace QGst {
