mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
linssid: rebuild for qwt
This commit is contained in:
parent
4fe9d08138
commit
b9097e90ea
3 changed files with 33 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
||||||
--- a/linssid-app/linssid-app.pro
|
--- a/linssid-app/linssid-app.pro
|
||||||
+++ b/linssid-app/linssid-app.pro
|
+++ b/linssid-app/linssid-app.pro
|
||||||
@@ -5,7 +5,7 @@
|
@@ -3,9 +3,9 @@
|
||||||
|
TARGET = linssid
|
||||||
|
VERSION = 3.6
|
||||||
CONFIG -= debug_and_release app_bundle lib_bundle
|
CONFIG -= debug_and_release app_bundle lib_bundle
|
||||||
-CONFIG += release
|
-CONFIG += release
|
||||||
+CONFIG += release qwt
|
+CONFIG += release qwt
|
||||||
|
|
28
srcpkgs/linssid/patches/qwt-6.2.patch
Normal file
28
srcpkgs/linssid/patches/qwt-6.2.patch
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
--- a/linssid-app/MainForm.cpp
|
||||||
|
+++ b/linssid-app/MainForm.cpp
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
#include <qwt_plot_marker.h>
|
||||||
|
#include <QPointF>
|
||||||
|
#include <qwt_scale_draw.h>
|
||||||
|
+#include <qwt_text.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
@@ -1036,7 +1037,7 @@
|
||||||
|
MainForm::cellDataRay[tbi].signal ) );
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
- MainForm::cellDataRay[tbi].pBandCurve->setSamples(0, 0, 0);
|
||||||
|
+ MainForm::cellDataRay[tbi].pBandCurve->setSamples(static_cast<double *>(NULL), static_cast<double *>(NULL), 0);
|
||||||
|
}
|
||||||
|
// now the signal history plot
|
||||||
|
int ixStart;
|
||||||
|
@@ -1055,7 +1056,7 @@
|
||||||
|
&(MainForm::cellDataRay[tbi].pHistory->signal[ixStart]), ixLength);
|
||||||
|
} else {
|
||||||
|
|
||||||
|
- MainForm::cellDataRay[tbi].pTimeCurve->setSamples(0, 0, 0);
|
||||||
|
+ MainForm::cellDataRay[tbi].pTimeCurve->setSamples(static_cast<double *>(NULL), static_cast<double *>(NULL), 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
MainForm::mainFormWidget.chan24Plot->replot();
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'linssid'
|
# Template file for 'linssid'
|
||||||
pkgname=linssid
|
pkgname=linssid
|
||||||
version=3.6
|
version=3.6
|
||||||
revision=3
|
revision=4
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="qt5-qmake qt5-host-tools"
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
||||||
makedepends="boost-devel qwt-devel"
|
makedepends="boost-devel qwt-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue