Skip to content

Commit

Permalink
kirigami2: regen patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tnn2 committed Apr 25, 2022
1 parent 0137f87 commit ce7c168
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions x11/kirigami2/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.15 2022/04/25 13:36:38 tnn Exp $
$NetBSD: distinfo,v 1.16 2022/04/25 17:58:29 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
SHA1 (patch-src_imagecolors.cpp) = f62dc8d0713fac1761a948da74fef7436c0d0ec0
14 changes: 7 additions & 7 deletions x11/kirigami2/patches/patch-src_imagecolors.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
$NetBSD: patch-src_imagecolors.cpp,v 1.3 2022/04/25 13:36:38 tnn Exp $
$NetBSD: patch-src_imagecolors.cpp,v 1.4 2022/04/25 17:58:29 tnn Exp $

Explicitly use std::pow.

--- src/imagecolors.cpp.orig 2021-03-06 16:26:33.000000000 +0000
--- src/imagecolors.cpp.orig 2022-04-02 10:23:09.000000000 +0000
+++ src/imagecolors.cpp
@@ -25,6 +25,8 @@

@@ -26,6 +26,8 @@
#include "loggingcategory.h"
#include <cmath>

+using std::pow;
+
#define return_fallback(value) if (m_imageData.m_samples.size() == 0) {\
return value;\
}
#define return_fallback(value) \
if (m_imageData.m_samples.size() == 0) { \
return value; \

0 comments on commit ce7c168

Please sign in to comment.