mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/plplot: Fix build (missing include)
This commit is contained in:
parent
dad88f9273
commit
e0985ec405
2 changed files with 13 additions and 0 deletions
11
libraries/plplot/fix-QPainterPath-include.patch
Normal file
11
libraries/plplot/fix-QPainterPath-include.patch
Normal 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;
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue