> 
> > > > update/followup commits:
> > > > /usr/local/include/boost/type_traits/detail/has_binary_operator.hp:50:
> > > > Parse error at "BOOST_JOIN"

attached is a fix for cad/openscad. i could not fix the compile failures using 
the workarounds mentioned in previous email. will take a look at games/pokerth 
tomorrow. i swear i packaged it successfully otherwise how could i get a PLIST? 
puzzled as to what changed in the interim.

thanks

The Makefile has a dummy line feed to force it to show the port where this 
patch should apply.

Index: Makefile
===================================================================
RCS file: /cvs/ports/cad/openscad/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile    10 Mar 2013 23:04:45 -0000      1.5
+++ Makefile    13 Mar 2013 02:59:18 -0000
@@ -24,6 +24,7 @@ MASTER_SITES =                https://openscad.googlec
 DISTFILES =            openscad-${V}.src.tar.gz
 
 MODULES =              x11/qt4
+
 BUILD_DEPENDS =                devel/bison \
                        devel/flex \
                        math/eigen2
Index: patches/patch-src_value_h
===================================================================
RCS file: patches/patch-src_value_h
diff -N patches/patch-src_value_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_value_h   13 Mar 2013 02:59:18 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+https://github.com/openscad/openscad/commit/660301589762048cd33ff54b9b1ea586be8062f2
+
+--- src/value.h.orig   Tue Mar 12 21:56:50 2013
++++ src/value.h        Tue Mar 12 21:57:15 2013
+@@ -3,8 +3,11 @@
+ 
+ #include <vector>
+ #include <string>
++
++#ifndef Q_MOC_RUN
+ #include <boost/variant.hpp>
+ #include <boost/lexical_cast.hpp>
++#endif
+ 
+ class QuotedString : public std::string
+ {

Reply via email to