[crux-commits] ports/opt (3.6): qpdfview: fix build with qt version 5.15

crux at crux.nu crux at crux.nu
Sat Jul 4 10:11:07 UTC 2020


commit 1da7615eb55960b8f8419d6a4b1c4ed8858b1fb4
Author: Juergen Daubert <jue at jue.li>
Date:   Fri Jul 3 13:26:46 2020 +0200

    qpdfview: fix build with qt version 5.15

diff --git a/qpdfview/.signature b/qpdfview/.signature
index 158f9b391..72203d0c5 100644
--- a/qpdfview/.signature
+++ b/qpdfview/.signature
@@ -1,5 +1,6 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/ZkuYZIrTEk6jyIfBjlusdB6vYX8HOSAdDjDRWt6fvz/BLXGWKor/BwDJL09PctAV4cNr6lJyyIVJ/E9thmv8AE=
-SHA256 (Pkgfile) = 5a9278ebbd94b66c7ba88bae3393aa87f40b1572eebf7f8f3caa9b35e55a4c43
+RWSE3ohX2g5d/YZ2mU5+GoJSmuzEtuFH+61qv4JUxA6rXF5vYMWPrlt5ap8h/8RSnGOEFGjUuyeXhzULJpZs8xpHFASxr/t5+gY=
+SHA256 (Pkgfile) = 148d766701aa5b281c2cec269c04662a22a14ff81a7e39a9cbf87e878eb75f08
 SHA256 (.footprint) = 75aab53ceb8ff2006850a67151c196fac74b04d113ed4d1dea72dd0b714b42c6
 SHA256 (qpdfview-0.4.18.tar.gz) = cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c
+SHA256 (qt5-5.15.diff) = d5a15d296d0178a8bd22f49344db5377b6d937dfabb076dc1109d37ea6a6449f
diff --git a/qpdfview/Pkgfile b/qpdfview/Pkgfile
index a05131bca..b5ca85662 100644
--- a/qpdfview/Pkgfile
+++ b/qpdfview/Pkgfile
@@ -5,12 +5,15 @@
 
 name=qpdfview
 version=0.4.18
-release=1
-source=(https://launchpad.net/qpdfview/trunk/$version/+download/$name-$version.tar.gz)
+release=2
+source=(https://launchpad.net/qpdfview/trunk/$version/+download/$name-$version.tar.gz
+        qt5-5.15.diff)
 
 build () {
     cd $name-$version
 
+    patch -p0 -i $SRC/qt5-5.15.diff
+
     local OPTS
     pkginfo -i | grep -q '^cups '       || OPTS+='without_cups '
     pkginfo -i | grep -q '^libspectre ' || OPTS+='without_ps '


More information about the crux-commits mailing list