diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-05-21 07:11:41 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-05-21 07:11:41 +0000 |
commit | bacc5000c24b9b7d5bc809a1f89d01919052c5c7 (patch) | |
tree | 13e75edf46c04bdefe2e0bd49c1edf80f0f4931d | |
parent | x11-toolkits/py-Pmw: Add USE_PYTHON=concurrent (diff) |
graphics/fraqtive: prepare for Qt5-5.15
-rw-r--r-- | graphics/fraqtive/Makefile | 4 | ||||
-rw-r--r-- | graphics/fraqtive/files/patch-src_datafunctions.cpp | 11 | ||||
-rw-r--r-- | graphics/fraqtive/files/patch-src_shadewidget.cpp | 10 |
3 files changed, 24 insertions, 1 deletions
diff --git a/graphics/fraqtive/Makefile b/graphics/fraqtive/Makefile index 2d35ae65f3f4..067475e046c9 100644 --- a/graphics/fraqtive/Makefile +++ b/graphics/fraqtive/Makefile @@ -13,7 +13,7 @@ COMMENT= Draws Mandelbrot and Julia fractals LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= compiler:c++11-lang gl qmake qt:5 +USES= compiler:c++11-lang dos2unix gl qmake qt:5 USE_QT= core gui opengl widgets xml buildtools_build USE_GL= gl glu @@ -26,4 +26,6 @@ SSE2_DESC= Enable SSE2 optimization SSE2_QMAKE_ON= CONFIG+=sse2 SSE2_QMAKE_OFF= CONFIG+=no-sse2 +DOS2UNIX_FILES= src/shadewidget.cpp + .include <bsd.port.mk> diff --git a/graphics/fraqtive/files/patch-src_datafunctions.cpp b/graphics/fraqtive/files/patch-src_datafunctions.cpp new file mode 100644 index 000000000000..a63feca86aed --- /dev/null +++ b/graphics/fraqtive/files/patch-src_datafunctions.cpp @@ -0,0 +1,11 @@ +--- src/datafunctions.cpp.orig 2020-05-21 06:51:19 UTC ++++ src/datafunctions.cpp +@@ -19,6 +19,8 @@ + #include "datafunctions.h" + #include "fractaldata.h" + ++#include <QPainterPath> ++ + namespace DataFunctions + { + diff --git a/graphics/fraqtive/files/patch-src_shadewidget.cpp b/graphics/fraqtive/files/patch-src_shadewidget.cpp new file mode 100644 index 000000000000..ce2865e36887 --- /dev/null +++ b/graphics/fraqtive/files/patch-src_shadewidget.cpp @@ -0,0 +1,10 @@ +--- src/shadewidget.cpp.orig 2020-05-21 07:06:17 UTC ++++ src/shadewidget.cpp +@@ -20,6 +20,7 @@ + + #include <QPainter> + #include <QPaintEvent> ++#include <QPainterPath> + #include <QToolTip> + + ShadeWidget::ShadeWidget( QWidget* parent ) : QWidget( parent ), |