libraries/plplot: Fix build (missing include)

This commit is contained in:
Robby Workman 2022-02-26 18:07:41 -06:00
parent dad88f9273
commit e0985ec405
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,11 @@
diff -Nur plplot-5.15.0.orig/bindings/qt_gui/plqt.cpp plplot-5.15.0/bindings/qt_gui/plqt.cpp
--- plplot-5.15.0.orig/bindings/qt_gui/plqt.cpp 2019-06-01 18:24:33.000000000 -0500
+++ plplot-5.15.0/bindings/qt_gui/plqt.cpp 2022-02-26 18:05:49.916622395 -0600
@@ -23,6 +23,7 @@
//
#include "qt.h"
+#include <QPainterPath>
// Global variables for Qt driver.
PLDLLIMPEXP_QT_DATA( int ) vectorize = 0;

View file

@ -79,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/fix-QPainterPath-include.patch
mkdir -p build
cd build
cmake \