From nobody Sat Aug 03 16:49:44 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WbpZw40mlz5SjPX; Sat, 03 Aug 2024 16:49:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WbpZw3Wysz4ZFb; Sat, 3 Aug 2024 16:49:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722703784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S6+uTFURyvGKLizwtaOyYGLQF+Cu7dxBLRY63jKIz+o=; b=m8sqR0w8O+dZ3IMxJYQBAvnFZpBWmbrBPsqy+S6unAz2ULe/yOe+XjsHGHPq14pDx02G3l FiYluTezJOtHFwpykipvDmIH6DDVAWHBF/QTvyfKQvjkptAGilBPz7y/Ho4+TyfzoBv7nw gpGJoQjsDVtpJA2U8xXCmewVmS1gXwcpE/45asUgtxDZccYyjzM84l/0JX6uyOpjQg7njg SpcQcDaNXhU05eKOIvYUXLgNdOWosegfqI0NQe7z9YTLrDADfIKzpJJ1t3l/CEeVoG6Pjr 2JtJtwioMvxN+wcpbhV0o56+ZIbqu534VFWrdUCMH86DZ1/T+vPxJrRdPSM7rA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722703784; a=rsa-sha256; cv=none; b=OjY3piJ4eR5C1kbwmuJ+OxH80vWoEzZCgG3odPhfXF1JcoWdle+UjJiXONrm30mRVTE7Rl ZHnE36qrQN6YikdMwYirTWKh/vbIIs55nHUiSP2cyT689UyUzkemnhzxT4FFaQN1WGYOn/ 8tj8mVKbLh2Z7kAChyhE2BmhAZvWCOU4BaegGYXqa1AH8Peen09PgOHKW+u3ybyC3jbMGd ij2Xfjq3GzBnoiL6DWpQdbsxUs22kO7IC2MISfdICQNmTuI5N4y5ahCLyWQL5fET3jb/7k oOI0E6WLBedbfNy5dRL29EMBqbZpP/hRqqqaeOXrp/QcUREQp8tjNJnHdfCZ5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722703784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S6+uTFURyvGKLizwtaOyYGLQF+Cu7dxBLRY63jKIz+o=; b=P0myg8W/V+6JubGWyQ0KoeIv4tswwAo4YHJMvje4xVlwVTPYFLLXKVU6wQd/InTM0Ov2kI 0UGeiDsxayDUWJO4ElXOussZUGO7a3L2NoOsuVwc8DXwp+DIBH96g1ZpBwRcjWDw7tFl38 Kmy/fMVn/w+lT0YkW+n5R1lBhzpmARE5TpbXZpXrXcXq7bUqX5IG721Ynm1woIPJkgbZ3i c7N2g/rWrtNhjl+vssadF14RdIpjvYUS1FnARWUwjzVcQId4OBj8cWF5F8n1HwCbJKQecr SMZJyiAkVwi1GyKmzg7YoEF2vZAf1C3IGo8KWtaaoVADMu3aMbWQA7VNKv88Yw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WbpZw31YszKT9; Sat, 3 Aug 2024 16:49:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 473Gni5C044719; Sat, 3 Aug 2024 16:49:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 473GniTd044716; Sat, 3 Aug 2024 16:49:44 GMT (envelope-from git) Date: Sat, 3 Aug 2024 16:49:44 GMT Message-Id: <202408031649.473GniTd044716@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 800557555807 - 2024Q3 - x11-clocks/wlclock: unbreak long options List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q3 X-Git-Reftype: branch X-Git-Commit: 800557555807fd786677ec172df2b7ef332278e0 Auto-Submitted: auto-generated The branch 2024Q3 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=800557555807fd786677ec172df2b7ef332278e0 commit 800557555807fd786677ec172df2b7ef332278e0 Author: Jan Beich AuthorDate: 2024-08-03 16:48:08 +0000 Commit: Jan Beich CommitDate: 2024-08-03 16:49:41 +0000 x11-clocks/wlclock: unbreak long options $ wlclock --corner-radius 90 ERROR: Radius configuration requires one or four arguments. Reported by: S. R. Gal (private mail) (cherry picked from commit d28e388a9a1e09ad8181a37575ed35e681a426ce) --- x11-clocks/wlclock/Makefile | 2 +- x11-clocks/wlclock/files/patch-src_wlclock.c | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/x11-clocks/wlclock/Makefile b/x11-clocks/wlclock/Makefile index d0c75520fbfd..757f53d37a3b 100644 --- a/x11-clocks/wlclock/Makefile +++ b/x11-clocks/wlclock/Makefile @@ -1,7 +1,7 @@ PORTNAME= wlclock DISTVERSIONPREFIX= v DISTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-clocks wayland MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ diff --git a/x11-clocks/wlclock/files/patch-src_wlclock.c b/x11-clocks/wlclock/files/patch-src_wlclock.c new file mode 100644 index 000000000000..8f8d6adbdafb --- /dev/null +++ b/x11-clocks/wlclock/files/patch-src_wlclock.c @@ -0,0 +1,13 @@ +https://lists.sr.ht/~leon_plickat/public-inbox/patches/54271 + +--- src/wlclock.c.orig 2021-12-30 16:22:36 UTC ++++ src/wlclock.c +@@ -330,7 +330,7 @@ static bool handle_command_flags (int argc, char *argv + int opt, args; + extern int optind; + extern char *optarg; +- while ( (opt = getopt_long(argc, argv, "hvV", opts, &optind)) != -1 ) switch (opt) ++ while ( (opt = getopt_long(argc, argv, "hvV", opts, NULL)) != -1 ) switch (opt) + { + case 'h': + fputs(usage, stderr);