pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/editors/texstudio
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Oct 31 12:11:03 UTC 2018
Modified Files:
pkgsrc/editors/texstudio: distinfo
Added Files:
pkgsrc/editors/texstudio/patches: patch-pdfviewer_PDFDocument.cpp
Log Message:
texstudio: Avoid ambiguous function call.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/editors/texstudio/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/editors/texstudio/patches/patch-pdfviewer_PDFDocument.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/editors/texstudio/distinfo
diff -u pkgsrc/editors/texstudio/distinfo:1.4 pkgsrc/editors/texstudio/distinfo:1.5
--- pkgsrc/editors/texstudio/distinfo:1.4 Tue Dec 19 09:42:48 2017
+++ pkgsrc/editors/texstudio/distinfo Wed Oct 31 12:11:02 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2017/12/19 09:42:48 markd Exp $
+$NetBSD: distinfo,v 1.5 2018/10/31 12:11:02 jperkin Exp $
SHA1 (texstudio-2.12.6.tar.gz) = 9a68dc26c14ea5b5c413ab5dfa02653e5b8a2557
RMD160 (texstudio-2.12.6.tar.gz) = d184a71590c87610b4a8fb5540dd05f4d47b7df7
SHA512 (texstudio-2.12.6.tar.gz) = 674667ce4137bfd30fc85e242c4ab891b3b6517cbdd2b6465fd4117ce2128e9854907cb52d42d5e4d60e8c5b38738eac95dbd140e5db67a21561ba6c617d80fb
Size (texstudio-2.12.6.tar.gz) = 26578309 bytes
+SHA1 (patch-pdfviewer_PDFDocument.cpp) = 93cd5faa1bfade9d8eb50b62975aa0d76f8a417d
Added files:
Index: pkgsrc/editors/texstudio/patches/patch-pdfviewer_PDFDocument.cpp
diff -u /dev/null pkgsrc/editors/texstudio/patches/patch-pdfviewer_PDFDocument.cpp:1.1
--- /dev/null Wed Oct 31 12:11:03 2018
+++ pkgsrc/editors/texstudio/patches/patch-pdfviewer_PDFDocument.cpp Wed Oct 31 12:11:03 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-pdfviewer_PDFDocument.cpp,v 1.1 2018/10/31 12:11:03 jperkin Exp $
+
+Avoid ambiguous function call.
+
+--- pdfviewer/PDFDocument.cpp.orig 2017-08-12 12:00:03.000000000 +0000
++++ pdfviewer/PDFDocument.cpp
+@@ -3095,7 +3095,7 @@ retryNow:
+ pdfWidget->setFocus();
+
+ // set page viewer only once
+- int maxDigits = 1 + qFloor(log10(pdfWidget->realNumPages()));
++ int maxDigits = 1 + qFloor(log10((float)pdfWidget->realNumPages()));
+ //if (maxDigits < 2) maxDigits = 2;
+ leCurrentPage->setMaxLength(maxDigits);
+ leCurrentPage->setFixedWidth(fontMetrics().width(QString(maxDigits + 1, '#')));
Home |
Main Index |
Thread Index |
Old Index