pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/xclock xclock: update to 1.1.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/817d2bf5ac91
branches: trunk
changeset: 376454:817d2bf5ac91
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Apr 08 06:16:20 2022 +0000
description:
xclock: update to 1.1.1
Alan Coopersmith (2):
Fall back to sin() and cos() calls on systems without sincos()
xclock 1.1.1
Thomas Kuehne (2):
fix -Wmissing-field-initializers warning
fix -Wabsolute-value compiler warning
diffstat:
time/xclock/Makefile | 4 ++--
time/xclock/distinfo | 9 ++++-----
time/xclock/patches/patch-Clock.c | 17 -----------------
3 files changed, 6 insertions(+), 24 deletions(-)
diffs (47 lines):
diff -r 14f1f32d522b -r 817d2bf5ac91 time/xclock/Makefile
--- a/time/xclock/Makefile Fri Apr 08 05:44:59 2022 +0000
+++ b/time/xclock/Makefile Fri Apr 08 06:16:20 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/04/03 22:13:17 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/04/08 06:16:20 wiz Exp $
-DISTNAME= xclock-1.1.0
+DISTNAME= xclock-1.1.1
CATEGORIES= time x11
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
EXTRACT_SUFX= .tar.xz
diff -r 14f1f32d522b -r 817d2bf5ac91 time/xclock/distinfo
--- a/time/xclock/distinfo Fri Apr 08 05:44:59 2022 +0000
+++ b/time/xclock/distinfo Fri Apr 08 06:16:20 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.9 2022/04/04 09:56:42 wiz Exp $
+$NetBSD: distinfo,v 1.10 2022/04/08 06:16:20 wiz Exp $
-BLAKE2s (xclock-1.1.0.tar.xz) = 5421c4cf2f4e46dd6399e3f95ec64e8f4c050e044c3c978d41e35ecb70fa7cb9
-SHA512 (xclock-1.1.0.tar.xz) = 9456ed43cb8afce4a1f1c4edcb87bfb86f61fb54d1892f26812ed10662c9b8f8c28854934ce4eb981090d500fec0f295ba96df9867dd1685dc5f31202729a1a0
-Size (xclock-1.1.0.tar.xz) = 158984 bytes
-SHA1 (patch-Clock.c) = c8f7bfdf297d00f051ffacfb7184c08197ce1846
+BLAKE2s (xclock-1.1.1.tar.xz) = eb5de3d30609ddd900f05f6f4b247b93519fba388c591c5cf2538cffb5e64e46
+SHA512 (xclock-1.1.1.tar.xz) = 059ea986bc7537c2796e8855676e8357bd8a7852fbac0839b3f8a9e3ffa088de41bc4e4961973353f0a7b7293366b81bc764d74f3dc4e90e361da06185d976e7
+Size (xclock-1.1.1.tar.xz) = 159556 bytes
diff -r 14f1f32d522b -r 817d2bf5ac91 time/xclock/patches/patch-Clock.c
--- a/time/xclock/patches/patch-Clock.c Fri Apr 08 05:44:59 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-Clock.c,v 1.2 2022/04/04 09:56:43 wiz Exp $
-
-NetBSD does not provide sincos().
-https://gitlab.freedesktop.org/xorg/app/xclock/-/merge_requests/9
-
---- Clock.c.orig 2022-04-03 21:23:33.000000000 +0000
-+++ Clock.c
-@@ -1734,7 +1734,8 @@ erase_hands(ClockWidget w, struct tm *tm
- static void
- ClockAngle(double tick_units, double *sinp, double *cosp)
- {
-- sincos(tick_units * (M_PI / 180 / 10.0), sinp, cosp);
-+ *sinp = sin(tick_units * (M_PI / 180 / 10.0));
-+ *cosp = cos(tick_units * (M_PI / 180 / 10.0));
- }
-
- /*
Home |
Main Index |
Thread Index |
Old Index