> http://build-failures.rhaalovely.net/powerpc/2019-02-04/graphics/k3dsurf.log
> http://build-failures.rhaalovely.net/sparc64/2019-02-03/graphics/k3dsurf.log

Once again a header is missing. 

With that patch, it builds and runs fine on macppc [1] and amd64. 

Feedback/comments are welcome! 

Charlène.


[1] https://bsd.network/@julianaito/101678479745473355


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/k3dsurf/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile    24 Oct 2018 14:28:05 -0000      1.17
+++ Makefile    2 Mar 2019 01:31:52 -0000
@@ -3,7 +3,7 @@
 COMMENT=       visualize and manipulate mathematical models
 
 DISTNAME=      k3dsurf-0.6.2
-REVISION =     7
+REVISION =     8
 CATEGORIES=    graphics math
 
 HOMEPAGE=      http://k3dsurf.sourceforge.net/
Index: patches/patch-src_PovConfig_h
===================================================================
RCS file: patches/patch-src_PovConfig_h
diff -N patches/patch-src_PovConfig_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_PovConfig_h       2 Mar 2019 01:31:52 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+ports-gcc fix for
+src/PovConfig.cpp:678:37: error: 'system' was not declared in this scope
+Index: src/PovConfig.h
+--- src/PovConfig.h.orig
++++ src/PovConfig.h
+@@ -36,6 +36,7 @@
+ #include <qheader.h>
+ #include <qtooltip.h>
+ #include <qwhatsthis.h>
++#include <stdlib.h>
+ #include "k3dsurf.h"
+ 
+ class PovConfig: public QMainWindow

Reply via email to