pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/kirigami2 kirigami2: restore patch-src_imagecolors...
details: https://anonhg.NetBSD.org/pkgsrc/rev/41bf748666f8
branches: trunk
changeset: 377934:41bf748666f8
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Apr 25 13:36:38 2022 +0000
description:
kirigami2: restore patch-src_imagecolors.cpp, it is needed on SunOS
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 bddcb7ab21f0 -r 41bf748666f8 x11/kirigami2/distinfo
--- a/x11/kirigami2/distinfo Mon Apr 25 13:29:29 2022 +0000
+++ b/x11/kirigami2/distinfo Mon Apr 25 13:36:38 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2022/04/25 08:59:16 markd Exp $
+$NetBSD: distinfo,v 1.15 2022/04/25 13:36:38 tnn Exp $
BLAKE2s (kirigami2-5.93.0.tar.xz) = 38110b84247cc6a0369868cbad228680fdd62ce0846cf973ceb53fa981872233
SHA512 (kirigami2-5.93.0.tar.xz) = 372d464a79dafa061e4c07528c4765445b89988bbbf345019a8f544c4012a0c64abf8a07d4b97b4d1874af6753cb357b4f11d958face1ce17b3de8e6daddded2
Size (kirigami2-5.93.0.tar.xz) = 355100 bytes
SHA1 (patch-src_icon.cpp) = 5d1e8ffe75903807f8404685cbee9c435be123bb
+SHA1 (patch-src_imagecolors.cpp) = 7eabf723dcac39f7befa9be585fb753868c42f7e
diff -r bddcb7ab21f0 -r 41bf748666f8 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 Mon Apr 25 13:36:38 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_imagecolors.cpp,v 1.3 2022/04/25 13:36:38 tnn 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