diff options
author | wiz <wiz@pkgsrc.org> | 2022-04-08 06:16:20 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-04-08 06:16:20 +0000 |
commit | 4039868863ca36001ae08690776d5bd7f2165e4e (patch) | |
tree | d67e287fdfff9be56c016e8d183df828c6d1dd37 /time | |
parent | 6592cead3b7d07e000b063a0d8904adbeff69c29 (diff) | |
download | pkgsrc-4039868863ca36001ae08690776d5bd7f2165e4e.tar.gz |
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 (limited to 'time')
-rw-r--r-- | time/xclock/Makefile | 4 | ||||
-rw-r--r-- | time/xclock/distinfo | 9 | ||||
-rw-r--r-- | time/xclock/patches/patch-Clock.c | 17 |
3 files changed, 6 insertions, 24 deletions
diff --git a/time/xclock/Makefile b/time/xclock/Makefile index cb3097bb5ca..d8decfdf789 100644 --- a/time/xclock/Makefile +++ b/time/xclock/Makefile @@ -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 --git a/time/xclock/distinfo b/time/xclock/distinfo index a07a84bff51..a0160520288 100644 --- a/time/xclock/distinfo +++ b/time/xclock/distinfo @@ -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 --git a/time/xclock/patches/patch-Clock.c b/time/xclock/patches/patch-Clock.c deleted file mode 100644 index 8fd4a5f9f62..00000000000 --- a/time/xclock/patches/patch-Clock.c +++ /dev/null @@ -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)); - } - - /* |