Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 98ADE1A921F for ; Sun, 3 Apr 2022 22:13:20 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id B064484F2E; Sun, 3 Apr 2022 22:13:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E909B84F24 for ; Sun, 3 Apr 2022 22:13:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id ialsHCtqCxf8 for ; Sun, 3 Apr 2022 22:13:18 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id E9DD584D13 for ; Sun, 3 Apr 2022 22:13:17 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E374EFB24; Sun, 3 Apr 2022 22:13:17 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1649023997135700" MIME-Version: 1.0 Date: Sun, 3 Apr 2022 22:13:17 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/time/xclock To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20220403221317.E374EFB24@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1649023997135700 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sun Apr 3 22:13:17 UTC 2022 Modified Files: pkgsrc/time/xclock: Makefile distinfo Added Files: pkgsrc/time/xclock/patches: patch-Clock.c Log Message: xclock: update to 1.1.0. Alan Coopersmith (5): Fix build on Solaris Fix spelling/wording issues gitlab CI: add a basic build test Build xz tarballs instead of bzip2 xclock 1.1.0 Keith Packard (1): Update hands smoothly in Render mode rees4905 (2): re-indent Clock.c man: Indicate that -twelve & -twentyfour only affect brief display To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/time/xclock/Makefile cvs rdiff -u -r1.7 -r1.8 pkgsrc/time/xclock/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/time/xclock/patches/patch-Clock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1649023997135700 Content-Disposition: inline Content-Length: 2393 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/time/xclock/Makefile diff -u pkgsrc/time/xclock/Makefile:1.11 pkgsrc/time/xclock/Makefile:1.12 --- pkgsrc/time/xclock/Makefile:1.11 Mon Aug 17 20:20:14 2020 +++ pkgsrc/time/xclock/Makefile Sun Apr 3 22:13:17 2022 @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.11 2020/08/17 20:20:14 leot Exp $ +# $NetBSD: Makefile,v 1.12 2022/04/03 22:13:17 wiz Exp $ -DISTNAME= xclock-1.0.9 -PKGREVISION= 1 +DISTNAME= xclock-1.1.0 CATEGORIES= time x11 MASTER_SITES= ${MASTER_SITE_XORG:=app/} -EXTRACT_SUFX= .tar.bz2 +EXTRACT_SUFX= .tar.xz MAINTAINER= joerg@NetBSD.org HOMEPAGE= https://xorg.freedesktop.org/ Index: pkgsrc/time/xclock/distinfo diff -u pkgsrc/time/xclock/distinfo:1.7 pkgsrc/time/xclock/distinfo:1.8 --- pkgsrc/time/xclock/distinfo:1.7 Tue Oct 26 11:24:46 2021 +++ pkgsrc/time/xclock/distinfo Sun Apr 3 22:13:17 2022 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2021/10/26 11:24:46 nia Exp $ +$NetBSD: distinfo,v 1.8 2022/04/03 22:13:17 wiz Exp $ -BLAKE2s (xclock-1.0.9.tar.bz2) = c948921864d0de00f3927eeb0eaf57384f88af6e1ef9a756d5da45f3bd38e220 -SHA512 (xclock-1.0.9.tar.bz2) = fcbac0b4ab1cea4ae0751ce1c0c6302048e5d98d459873c7580e4ca786ec49fa27f73e5831bdfe135abb5cfeabe886456276e9d01351ea7905c606f40f84522d -Size (xclock-1.0.9.tar.bz2) = 175372 bytes +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) = 3cea7082fc86b696cde8de0d5c6d6badd979cd2c Added files: Index: pkgsrc/time/xclock/patches/patch-Clock.c diff -u /dev/null pkgsrc/time/xclock/patches/patch-Clock.c:1.1 --- /dev/null Sun Apr 3 22:13:17 2022 +++ pkgsrc/time/xclock/patches/patch-Clock.c Sun Apr 3 22:13:17 2022 @@ -0,0 +1,16 @@ +$NetBSD: patch-Clock.c,v 1.1 2022/04/03 22:13:17 wiz Exp $ + +NetBSD does not provide sincos(). + +--- 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)); + } + + /* --_----------=_1649023997135700--