summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2018-07-29 12:34:29 +0200
committerbartus2018-07-29 12:34:29 +0200
commit723c5f75cb6034bcbeb9e77a97825eaee823629d (patch)
tree07874d70e9e11c70e1c0926d4b85ddae2ad46863
parent675ff0dd89ea66130638c96989f7da3e95ccbbcf (diff)
downloadaur-723c5f75cb6034bcbeb9e77a97825eaee823629d.tar.gz
fix missing header in qCompass plugin
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
-rw-r--r--qtintvalidator.patch19
3 files changed, 27 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1aa45ae653e..99da0cd1f55 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cloudcompare-git
pkgdesc = A 3D point cloud (and triangular mesh) processing software
- pkgver = 2.9.1.r348.g4808ba53
+ pkgver = 2.9.1.r360.gab33dab4
pkgrel = 1
url = http://www.danielgm.net/cc/
arch = i686
@@ -24,7 +24,9 @@ pkgbase = cloudcompare-git
depends = pdal
optdepends = pcl
source = cloudcompare::git+https://github.com/CloudCompare/CloudCompare.git
+ source = qtintvalidator.patch
md5sums = SKIP
+ md5sums = a1b173da5a6f2bee6e8a25d69f6aa51a
pkgname = cloudcompare-git
diff --git a/PKGBUILD b/PKGBUILD
index 9705b10409e..678dc8b2675 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
name=cloudcompare
pkgname=${name}-git
-pkgver=2.9.1.r348.g4808ba53
+pkgver=2.9.1.r360.gab33dab4
pkgrel=1
pkgdesc="A 3D point cloud (and triangular mesh) processing software"
arch=('i686' 'x86_64')
@@ -13,12 +13,15 @@ depends=('qt5-base' 'qt5-svg' 'glu' 'glew' 'mesa' 'vxl' 'ffmpeg' 'cgal' 'pdal')
makedepends=('git' 'cmake' 'pcl' 'libharu' 'proj' 'doxygen' 'laz-perf')
optdepends=('pcl')
source=("${name}::git+https://github.com/CloudCompare/CloudCompare.git"
+ "qtintvalidator.patch"
)
-md5sums=('SKIP')
+md5sums=('SKIP'
+ 'a1b173da5a6f2bee6e8a25d69f6aa51a')
prepare() {
cd ${srcdir}/${name}
git submodule update --init --recursive
+ git apply ${srcdir}/qtintvalidator.patch
}
pkgver() {
diff --git a/qtintvalidator.patch b/qtintvalidator.patch
new file mode 100644
index 00000000000..971819f3f3a
--- /dev/null
+++ b/qtintvalidator.patch
@@ -0,0 +1,19 @@
+diff --git a/plugins/core/qCompass/ccCompass.cpp b/plugins/core/qCompass/ccCompass.cpp
+index d9633051..56fe5829 100644
+--- a/plugins/core/qCompass/ccCompass.cpp
++++ b/plugins/core/qCompass/ccCompass.cpp
+@@ -20,6 +20,7 @@
+ //Qt
+ #include <QFileDialog>
+ #include <QFileInfo>
++#include <QIntValidator>
+ #include <qcheckbox.h>
+ #include <ccPickingHub.h>
+ #include <ccProgressDialog.h>
+@@ -3054,4 +3055,4 @@ int ccCompass::writeObjectXML(ccHObject* object, QXmlStreamWriter* out)
+ out->writeEndElement();
+
+ return n;
+-}
+\ No newline at end of file
++}