pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/60361: sysutils/clex: update to 4.7



>Number:         60361
>Category:       pkg
>Synopsis:       sysutils/clex: update to 4.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 24 09:15:00 +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@localhost
-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
  




Home | Main Index | Thread Index | Old Index