NetBSD Problem Report #60361
From www@netbsd.org Wed Jun 24 09:11:15 2026
Return-Path: <www@netbsd.org>
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)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.netbsd.org", Issuer "R13" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 7B7451A923A
for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Jun 2026 09:11:15 +0000 (UTC)
Message-Id: <20260624091114.506091A923B@mollari.NetBSD.org>
Date: Wed, 24 Jun 2026 09:11:14 +0000 (UTC)
From: bartosz.kuzma@gmail.com
Reply-To: bartosz.kuzma@gmail.com
To: gnats-bugs@NetBSD.org
Subject: sysutils/clex: update to 4.7
X-Send-Pr-Version: www-1.0
X-From4GNATS: "bartosz.kuzma@gmail.com via gnats" <gnats-admin@NetBSD.org>
>Number: 60361
>Category: pkg
>Synopsis: sysutils/clex: update to 4.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: drixter
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jun 24 09:15:00 +0000 2026
>Closed-Date: Wed Jun 24 12:00:22 +0000 2026
>Last-Modified: Wed Jun 24 12:00:22 +0000 2026
>Originator: Bartosz Kuzma
>Release:
>Organization:
>Environment:
>Description:
sysutils/clex:update to 4.7
CLEX has moved to GitHub, all links were updated. The version number was increased to 4.7, because this is deemed an important change, even if there are no new features.
A build issue on MacOS is fixed in this version. It was related to wide characters in the ncurses library. Patch provided by a maintainer from MacPorts.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/clex/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 18 Dec 2025 17:41:39 -0000 1.14
+++ Makefile 24 Jun 2026 08:59:49 -0000
@@ -1,23 +1,24 @@
# $NetBSD: Makefile,v 1.14 2025/12/18 17:41:39 nia Exp $
-DISTNAME= clex-4.6.4
-PKGREVISION= 2
+DISTNAME= clex-4.7
+PKGREVISION= 0
CATEGORIES= sysutils
-MASTER_SITES= http://www.clex.sk/download/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=xitop/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= bartosz.kuzma@gmail.com
-HOMEPAGE= http://www.clex.sk/
+HOMEPAGE= https://github.com/xitop/clex
COMMENT= File manager with a full-screen user interface
LICENSE= gnu-gpl-v2
+USE_TOOLS+= autoconf automake autoreconf
USE_LANGUAGES= c99
GNU_CONFIGURE= yes
CFLAGS.SunOS+= -D__EXTENSIONS__
-# for easy to maintain patches
-post-extract:
- cd ${WRKSRC} && ${RM} -f src/*.orig
+pre-configure:
+ cd ${WRKSRC} && autoreconf -fi
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/clex/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 26 Oct 2021 11:19:26 -0000 1.7
+++ distinfo 24 Jun 2026 08:59:49 -0000
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.7 2021/10/26 11:19:26 nia Exp $
-BLAKE2s (clex-4.6.4.tar.gz) = c7828d1a99042df0dd85472391eebaf7ba94663ff7c84237c660d3567ea18a62
-SHA512 (clex-4.6.4.tar.gz) = 040ecf0ebcda7e4e241d2d6a23a413c50674e917ee4a715db57e8ec69ae3dfebd8d5cfe23847719f039331da8e637279b44714564f0171d55c42f27db007dfb9
-Size (clex-4.6.4.tar.gz) = 243297 bytes
+BLAKE2s (clex-4.7.tar.gz) = 91294b2700d8c8ac34b34e886e9274c1dc0e7945f05ce3a818abdab7b17b409f
+SHA512 (clex-4.7.tar.gz) = a7da964cb32fcd5c4ef12c0921e9314dd236543ba2c848300fdcaaff6ec2a412081cea8f1df48946e1a0daa34eb6e54f3bf1124c6534b4663796e16f56bcfcf5
+Size (clex-4.7.tar.gz) = 157528 bytes
SHA1 (patch-src_cfg-clex) = 4fb8995131195b4f54a53c72eac85da2cd6f14a2
-SHA1 (patch-src_clexheaders.h) = d60ec230f3b2656063c1f51257fc4e29267cf8b7
+SHA1 (patch-src_clexheaders.h) = 6ac695640e7fbc44d4617d369aa4f4840838a861
cvs diff: Diffing patches
Index: patches/patch-src_clexheaders.h
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/clex/patches/patch-src_clexheaders.h,v
retrieving revision 1.1
diff -u -r1.1 patch-src_clexheaders.h
--- patches/patch-src_clexheaders.h 17 Feb 2012 13:23:28 -0000 1.1
+++ patches/patch-src_clexheaders.h 24 Jun 2026 08:59:49 -0000
@@ -1,12 +1,14 @@
-$NetBSD: patch-src_clexheaders.h,v 1.1 2012/02/17 13:23:28 obache Exp $
+$NetBSD$
* Need to treat *BSD same as FreeBSD.
---- src/clexheaders.h.orig 2009-01-11 19:44:35.000000000 +0000
+--- src/clexheaders.h.orig 2026-06-24 08:43:18.387468661 +0000
+++ src/clexheaders.h
-@@ -1,4 +1,4 @@
--#if !defined(__APPLE__) && !defined(__FreeBSD__)
-+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
+@@ -1,6 +1,6 @@
+ #if defined(__APPLE__)
+ # define _XOPEN_SOURCE_EXTENDED
+-#elif !defined(__FreeBSD__)
++#elif !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
# define _XOPEN_SOURCE 600
#endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->drixter
Responsible-Changed-By: drixter@NetBSD.org
Responsible-Changed-When: Wed, 24 Jun 2026 10:22:39 +0000
Responsible-Changed-Why:
Will take a look on that one
State-Changed-From-To: open->feedback
State-Changed-By: drixter@NetBSD.org
State-Changed-When: Wed, 24 Jun 2026 11:14:00 +0000
State-Changed-Why:
Done, on WIP, Bartosz you like take a look on wip?
From: =?UTF-8?Q?Bartosz_Ku=C5=BAma?= <bartosz.kuzma@gmail.com>
To: gnats-bugs@netbsd.org
Cc: drixter@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/60361 (sysutils/clex: update to 4.7)
Date: Wed, 24 Jun 2026 13:32:57 +0200
--0000000000005b12b10654fe3d1b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Looks good to me. Thanks!
On Wed, Jun 24, 2026 at 1:14=E2=80=AFPM <drixter@netbsd.org> wrote:
> Synopsis: sysutils/clex: update to 4.7
>
> State-Changed-From-To: open->feedback
> State-Changed-By: drixter@NetBSD.org
> State-Changed-When: Wed, 24 Jun 2026 11:14:00 +0000
> State-Changed-Why:
> Done, on WIP, Bartosz you like take a look on wip?
>
>
>
>
--=20
Pozdrawiam, Bartosz Ku=C5=BAma
--0000000000005b12b10654fe3d1b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Looks good to me. Thanks!</div><br><div class=3D"gmail_quo=
te gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jun=
24, 2026 at 1:14=E2=80=AFPM <<a href=3D"mailto:drixter@netbsd.org">drix=
ter@netbsd.org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex">Synopsis: sysutils/clex: update to 4.7<br>
<br>
State-Changed-From-To: open->feedback<br>
State-Changed-By: drixter@NetBSD.org<br>
State-Changed-When: Wed, 24 Jun 2026 11:14:00 +0000<br>
State-Changed-Why:<br>
Done, on WIP, Bartosz you like take a look on wip?<br>
<br>
<br>
<br>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr">Pozdrawiam, Bartosz Ku=C5=BAma</div></div>
--0000000000005b12b10654fe3d1b--
From: "Marcin Gondek" <drixter@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/60361 CVS commit: pkgsrc/sysutils/clex
Date: Wed, 24 Jun 2026 11:53:10 +0000
Module Name: pkgsrc
Committed By: drixter
Date: Wed Jun 24 11:53:10 UTC 2026
Modified Files:
pkgsrc/sysutils/clex: Makefile distinfo
pkgsrc/sysutils/clex/patches: patch-src_cfg-clex
patch-src_clexheaders.h
Log Message:
clex: PR pkg/60361 (sysutils/clex: update to 4.7)
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/sysutils/clex/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/clex/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/clex/patches/patch-src_cfg-clex \
pkgsrc/sysutils/clex/patches/patch-src_clexheaders.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: feedback->closed
State-Changed-By: drixter@NetBSD.org
State-Changed-When: Wed, 24 Jun 2026 12:00:22 +0000
State-Changed-Why:
It's done, imported to pkgsrc
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.