pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/kirigami2 kirigami2: Explicitly use std::pow.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a30aed2bb1f1
branches: trunk
changeset: 768405:a30aed2bb1f1
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Oct 21 15:16:25 2021 +0000
description:
kirigami2: Explicitly use std::pow.
diffstat:
x11/kirigami2/distinfo | 3 ++-
x11/kirigami2/patches/patch-src_imagecolors.cpp | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r d4a9407f27b1 -r a30aed2bb1f1 x11/kirigami2/distinfo
--- a/x11/kirigami2/distinfo Thu Oct 21 13:49:46 2021 +0000
+++ b/x11/kirigami2/distinfo Thu Oct 21 15:16:25 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2021/10/07 15:13:47 nia Exp $
+$NetBSD: distinfo,v 1.12 2021/10/21 15:16:25 jperkin Exp $
RMD160 (kirigami2-5.80.0.tar.xz) = 31c68baf72e4a901695bb2be8920bbd8f53c338a
SHA512 (kirigami2-5.80.0.tar.xz) = d40e95a4f5376eb16d45193c32d96a777e5045fbfdd3dbe4902edb561b6709dde8ab2e2c905042bc76b6a641575a05a876a0204090b0c705bdac9d8631b67971
Size (kirigami2-5.80.0.tar.xz) = 310608 bytes
SHA1 (patch-src_icon.cpp) = 5d1e8ffe75903807f8404685cbee9c435be123bb
+SHA1 (patch-src_imagecolors.cpp) = 7eabf723dcac39f7befa9be585fb753868c42f7e
diff -r d4a9407f27b1 -r a30aed2bb1f1 x11/kirigami2/patches/patch-src_imagecolors.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kirigami2/patches/patch-src_imagecolors.cpp Thu Oct 21 15:16:25 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_imagecolors.cpp,v 1.1 2021/10/21 15:16:26 jperkin Exp $
+
+Explicitly use std::pow.
+
+--- src/imagecolors.cpp.orig 2021-03-06 16:26:33.000000000 +0000
++++ src/imagecolors.cpp
+@@ -25,6 +25,8 @@
+
+ #include <cmath>
+
++using std::pow;
++
+ #define return_fallback(value) if (m_imageData.m_samples.size() == 0) {\
+ return value;\
+ }
Home |
Main Index |
Thread Index |
Old Index