pkgsrc-WIP-changes archive

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

test another ncdu2 fork



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Oct 10 20:42:10 2026 +0200
Changeset:	367c7698a89fd2d6511316a0971ed95397f92a36

Modified Files:
	Makefile
Added Files:
	ncdu2-BratishkaErik/DESCR
	ncdu2-BratishkaErik/Makefile
	ncdu2-BratishkaErik/PLIST
	ncdu2-BratishkaErik/TODO
	ncdu2-BratishkaErik/distinfo
	ncdu2-BratishkaErik/patches/patch-build.zig
	ncdu2-rcalixte/DESCR
	ncdu2-rcalixte/Makefile
	ncdu2-rcalixte/PLIST
	ncdu2-rcalixte/TODO
	ncdu2-rcalixte/distinfo
	ncdu2-rcalixte/patches/patch-build.zig
Removed Files:
	ncdu2/DESCR
	ncdu2/Makefile
	ncdu2/PLIST
	ncdu2/TODO
	ncdu2/distinfo
	ncdu2/patches/patch-build.zig

Log Message:
test another ncdu2 fork

doesn't build either

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=367c7698a89fd2d6511316a0971ed95397f92a36

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                    |  3 +-
 ncdu2-BratishkaErik/DESCR                   |  4 +++
 ncdu2-BratishkaErik/Makefile                | 30 ++++++++++++++++++++
 ncdu2-BratishkaErik/PLIST                   |  3 ++
 ncdu2-BratishkaErik/TODO                    | 44 +++++++++++++++++++++++++++++
 ncdu2-BratishkaErik/distinfo                |  6 ++++
 ncdu2-BratishkaErik/patches/patch-build.zig | 23 +++++++++++++++
 ncdu2-rcalixte/DESCR                        |  4 +++
 ncdu2-rcalixte/Makefile                     | 27 ++++++++++++++++++
 ncdu2-rcalixte/PLIST                        |  3 ++
 ncdu2-rcalixte/TODO                         | 24 ++++++++++++++++
 ncdu2-rcalixte/distinfo                     |  6 ++++
 ncdu2-rcalixte/patches/patch-build.zig      | 23 +++++++++++++++
 ncdu2/DESCR                                 |  4 ---
 ncdu2/Makefile                              | 27 ------------------
 ncdu2/PLIST                                 |  3 --
 ncdu2/TODO                                  | 24 ----------------
 ncdu2/distinfo                              |  6 ----
 ncdu2/patches/patch-build.zig               | 23 ---------------
 19 files changed, 199 insertions(+), 88 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index cb7920268c..4726380648 100644
--- a/Makefile
+++ b/Makefile
@@ -2589,7 +2589,8 @@ SUBDIR+=	ncbi-bin
 SUBDIR+=	ncbi-blast+
 SUBDIR+=	ncbi-c++-lib
 SUBDIR+=	ncbi-lib
-SUBDIR+=	ncdu2
+SUBDIR+=	ncdu2-BratishkaErik
+SUBDIR+=	ncdu2-rcalixte
 SUBDIR+=	ncnn
 SUBDIR+=	ncp
 SUBDIR+=	ncrack
diff --git a/ncdu2-BratishkaErik/DESCR b/ncdu2-BratishkaErik/DESCR
new file mode 100644
index 0000000000..2976b315e3
--- /dev/null
+++ b/ncdu2-BratishkaErik/DESCR
@@ -0,0 +1,4 @@
+ncdu (NCurses Disk Usage) is a curses-based version of the well-known
+'du', and provides a fast way to see what directories are using
+your disk space. This is a complete rewrite in zig, with lower memory
+usage and better performance.
diff --git a/ncdu2-BratishkaErik/Makefile b/ncdu2-BratishkaErik/Makefile
new file mode 100644
index 0000000000..09ed70d086
--- /dev/null
+++ b/ncdu2-BratishkaErik/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.11 2026/04/27 08:32:54 wiz Exp $
+
+DISTNAME=	ncdu-2.12.0-src
+PKGNAME=	${DISTNAME:S/-src//}
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=BratishkaErik/}
+GITHUB_RELEASE=	v${PKGVERSION_NOREV}
+
+COMMENT=	Disk usage visualization tool
+MAINTAINER=	nikita%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/rcalixte/ncdu
+#HOMEPAGE=	https://dev.yorhel.nl/ncdu
+LICENSE=	mit
+
+USE_TOOLS+=	pkg-config
+
+WRKSRC=		${WRKDIR}/${DISTNAME:S/-src//}
+
+# Temporary required, a zig build system parser is being written.
+ALLOW_NETWORK_ACCESS=	yes
+
+INSTALLATION_DIRS+=	${PKGMANDIR}/man1
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/ncdu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../lang/zig/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ncdu2-BratishkaErik/PLIST b/ncdu2-BratishkaErik/PLIST
new file mode 100644
index 0000000000..33f590cecd
--- /dev/null
+++ b/ncdu2-BratishkaErik/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2023/02/28 21:07:43 nikita Exp $
+bin/ncdu
+man/man1/ncdu.1
diff --git a/ncdu2-BratishkaErik/TODO b/ncdu2-BratishkaErik/TODO
new file mode 100644
index 0000000000..2a13bb1635
--- /dev/null
+++ b/ncdu2-BratishkaErik/TODO
@@ -0,0 +1,44 @@
+Doesn't build:
+
+cd /tmp/wip/ncdu2/work/ncdu-2.12.0 && /usr/bin/env USETOOLS=no ZIG_GLOBAL_CACHE_DIR=/tmp/wip/ncdu2/work/zig-global-cache ZIG_LOCAL_CACHE_DIR=/tmp/wip/ncdu2/work/zig-local-cache CC=gcc CFLAGS=-O2\ -g\ -fstack-clash-protection\ -I/usr/pkg/include\ -I/usr/pkg/include/ncurses CPPFLAGS=-I/usr/pkg/include\ -I/usr/pkg/include/ncurses CXX=c++ CXXFLAGS=-O2\ -g\ -fstack-clash-protection\ -I/usr/pkg/include\ -I/usr/pkg/include/ncurses\ -g COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/wip/ncdu2/work/.cwrapper/bin:/tmp/wip/ncdu2/work/.buildlink/bin:/tmp/wip/ncdu2/work/.gcc/bin:/tmp/wip/ncdu2/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/bin:/root/.cargo/bin:/sbin:/usr/sbin:/usr/local/bin:/root/.cargo/bin:/sbin:/usr/sbin:/usr/local/bin:/home/builder/.cargo/bin
:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/tmp/wip/ncdu2/work/.home CWRAPPERS_CONFIG_DIR=/tmp/wip/ncdu2/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ builder\ -g\ builder\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ builder\ -g\ builder\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ builder\ -g\ builder\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ builder\ -g\ builder\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ builder\ -g\ builder\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ builder\ -g\ builder\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ builder\ -g\ builder\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ builder\ -g\ builder\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/ins
 tall\ -d\ -o\ builder\ -g\ builder\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ builder\ -g\ builder\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ builder\ -g\ builder\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ builder\ -g\ builder\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ builder\ -g\ builder\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/wip/ncdu2/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/wip/ncdu2/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/wip/ncdu2/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/wip/ncdu2/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/wip/ncdu2/work/.buildlink/lib/pkgconfig:/tmp/wip/ncdu2/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/wip/ncdu2/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/wip/ncdu2/work/.cwrapper/config zig build --release=safe -Dcpu=baseline  -Dpie=true --prefix /tmp/wip/ncdu2/work/.destdir/usr/pkg
+zig-pkg/translate_c-2.0.0-Q_BUWltOBwA0229IE8wwSxxGzOxyRso3hvcb1nN8oJX_/build/Translator.zig:134:13: error: invalid builtin function: '@backingInt'
+            @backingInt(lsl.options.use_pkg_config),
+            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+zig-pkg/translate_c-2.0.0-Q_BUWltOBwA0229IE8wwSxxGzOxyRso3hvcb1nN8oJX_/test/cases.zig:109:54: error: invalid builtin function: '@fromBackingInt'
+                        options.strict_flex_arrays = @fromBackingInt(@intCast(rest[0] - '0'));
+                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+build.zig:63:16: error: no field or member function named 'addIncludePath' in 'Build.Dependency'
+    translate_c.addIncludePath(include_path);
+    ~~~~~~~~~~~^~~~~~~~~~~~~~~
+/usr/pkg/lib/zig/std/Build.zig:1940:24: note: struct declared here
+pub const Dependency = struct {
+                       ^~~~~~
+build.zig:63:16: note: method invocation only supports up to one level of implicit pointer dereferencing
+build.zig:63:16: note: use '.*' to dereference pointer
+referenced by:
+    runBuild__anon_32126: /usr/pkg/lib/zig/std/Build.zig:2264:33
+    main: /usr/pkg/lib/zig/compiler/build_runner.zig:463:29
+    4 reference(s) hidden; use '-freference-trace=6' to see all references
+build.zig:184:34: error: no field or member function named 'addOutputDirectoryArg2' in 'Build.Step.Run'
+    const prefix_dir = run_config.addOutputDirectoryArg2("inst", .{ .prefix = "--prefix=", .make_absolute = true });
+                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
+/usr/pkg/lib/zig/std/Build/Step/Run.zig:1:1: note: struct declared here
+const Run = @This();
+^~~~~
+build.zig:184:34: note: method invocation only supports up to one level of implicit pointer dereferencing
+build.zig:184:34: note: use '.*' to dereference pointer
+zig-pkg/aro-0.0.0-JSD1QtuBNwCASyBtNF3pqTl_W3oAJQGEVyFAtrBSE_Pa/build.zig:82:111: error: no field named 'debug' in enum 'builtin.OptimizeMode'
+    const link_libc = b.option(bool, "link-libc", "Force self-hosted compiler to link libc") orelse (mode != .debug);
+                                                                                                             ~^~~~~
+/usr/pkg/lib/zig/std/builtin.zig:112:26: note: enum declared here
+pub const OptimizeMode = enum {
+                         ^~~~
+zig-pkg/translate_c-2.0.0-Q_BUWltOBwA0229IE8wwSxxGzOxyRso3hvcb1nN8oJX_/build.zig:78:16: error: no field or member function named 'addPassthruArgs' in 'Build.Step.Run'
+        run_cmd.addPassthruArgs();
+        ~~~~~~~^~~~~~~~~~~~~~~~
+/usr/pkg/lib/zig/std/Build/Step/Run.zig:1:1: note: struct declared here
+const Run = @This();
+^~~~~
+zig-pkg/translate_c-2.0.0-Q_BUWltOBwA0229IE8wwSxxGzOxyRso3hvcb1nN8oJX_/build.zig:78:16: note: method invocation only supports up to one level of implicit pointer dereferencing
+zig-pkg/translate_c-2.0.0-Q_BUWltOBwA0229IE8wwSxxGzOxyRso3hvcb1nN8oJX_/build.zig:78:16: note: use '.*' to dereference pointer
+*** Error code 2
diff --git a/ncdu2-BratishkaErik/distinfo b/ncdu2-BratishkaErik/distinfo
new file mode 100644
index 0000000000..f7bfc2dbd0
--- /dev/null
+++ b/ncdu2-BratishkaErik/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.5 2026/03/31 18:01:01 wiz Exp $
+
+BLAKE2s (ncdu-2.12.0-src.tar.gz) = 1ac91ff8c0d6c01f15a3aeacc10e39391975e65dc68c395056f2b3f5c9b5c17b
+SHA512 (ncdu-2.12.0-src.tar.gz) = 6a281e4f7bc0d6379af5bc3b33e671e02487c437fe565365def528d124b34e11d7fbaae3f00137c6101d31c92f8da381e4d484343ab81ab732c02ee9967eb8a9
+Size (ncdu-2.12.0-src.tar.gz) = 82423 bytes
+SHA1 (patch-build.zig) = 59ddba1c15c760a908c0daa18e9280af643187c8
diff --git a/ncdu2-BratishkaErik/patches/patch-build.zig b/ncdu2-BratishkaErik/patches/patch-build.zig
new file mode 100644
index 0000000000..dcc56eb37a
--- /dev/null
+++ b/ncdu2-BratishkaErik/patches/patch-build.zig
@@ -0,0 +1,23 @@
+$NetBSD$
+
+Help it find zstd.h (and libzstd, perhaps not needed).
+
+--- build.zig.orig	2026-10-03 18:44:07.000000000 +0000
++++ build.zig
+@@ -52,6 +52,16 @@ pub fn build(b: *std.Build) void {
+         t.addIncludePath(ncurses.inst_dir.path(b, "include"));
+         main_mod.addObjectFile(ncurses.inst_dir.path(b, "lib/libncursesw.a"));
+     }
++    const include_path: std.Build.LazyPath = .{
++        .cwd_relative = "/usr/pkg/include",
++    };
++
++    const library_path: std.Build.LazyPath = .{
++        .cwd_relative = "/usr/pkg/lib",
++    };
++
++    translate_c.addIncludePath(include_path);
++    main_mod.addLibraryPath(library_path);
+ 
+     if (!use_system_zstd) zstd: {
+         // These are settings used by release process
diff --git a/ncdu2-rcalixte/DESCR b/ncdu2-rcalixte/DESCR
new file mode 100644
index 0000000000..2976b315e3
--- /dev/null
+++ b/ncdu2-rcalixte/DESCR
@@ -0,0 +1,4 @@
+ncdu (NCurses Disk Usage) is a curses-based version of the well-known
+'du', and provides a fast way to see what directories are using
+your disk space. This is a complete rewrite in zig, with lower memory
+usage and better performance.
diff --git a/ncdu2-rcalixte/Makefile b/ncdu2-rcalixte/Makefile
new file mode 100644
index 0000000000..ab601621df
--- /dev/null
+++ b/ncdu2-rcalixte/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.11 2026/04/27 08:32:54 wiz Exp $
+
+DISTNAME=	ncdu-2.11
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=rcalixte/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+COMMENT=	Disk usage visualization tool
+MAINTAINER=	nikita%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/rcalixte/ncdu
+#HOMEPAGE=	https://dev.yorhel.nl/ncdu
+LICENSE=	mit
+
+USE_TOOLS+=	pkg-config
+
+# Temporary required, a zig build system parser is being written.
+ALLOW_NETWORK_ACCESS=	yes
+
+INSTALLATION_DIRS+=	${PKGMANDIR}/man1
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/ncdu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../lang/zig/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ncdu2-rcalixte/PLIST b/ncdu2-rcalixte/PLIST
new file mode 100644
index 0000000000..33f590cecd
--- /dev/null
+++ b/ncdu2-rcalixte/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2023/02/28 21:07:43 nikita Exp $
+bin/ncdu
+man/man1/ncdu.1
diff --git a/ncdu2-rcalixte/TODO b/ncdu2-rcalixte/TODO
new file mode 100644
index 0000000000..27e6356bd8
--- /dev/null
+++ b/ncdu2-rcalixte/TODO
@@ -0,0 +1,24 @@
+Doesn't build:
+
+install
+└─ install ncdu
+   └─ compile exe ncdu ReleaseSafe native-native
+      └─ translate-c 81 errors
+error: translation failure
+/usr/include/time.h:277:1: error: unknown type name 'pragma'
+__END_DECLS
+^
+/usr/include/sys/cdefs.h:432:22: note: expanded from here
+#define __END_DECLS  __END_PUBLIC_DECLS
+                     ^
+/usr/include/sys/cdefs.h:413:45: note: expanded from here
+#  define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
+                                            ^
+<scratch space>:12:2: note: expanded from here
+#pragma GCC visibility pop
+ ^
+
+Reported upstream at
+https://github.com/rcalixte/ncdu/issues/3
+
+Once that is resolved: Clean up patches/ to avoid hardcoding PREFIX.
diff --git a/ncdu2-rcalixte/distinfo b/ncdu2-rcalixte/distinfo
new file mode 100644
index 0000000000..b39cfd677e
--- /dev/null
+++ b/ncdu2-rcalixte/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.5 2026/03/31 18:01:01 wiz Exp $
+
+BLAKE2s (ncdu-2.11.tar.gz) = 9815a9e535907c71927c928e626f13242f18976f4ae9ab042a512f32660a1ab1
+SHA512 (ncdu-2.11.tar.gz) = 48a6d2a8a88b4e11cdbd681c3bc8ca7d04e17b6b3094db76c2c18f081a572dbb26a0be9be8660f12a1bdfac699518388dd97a00b546871bc34b406a0ebb75d6a
+Size (ncdu-2.11.tar.gz) = 75269 bytes
+SHA1 (patch-build.zig) = 41edc272a920273787f72b85663815a365963075
diff --git a/ncdu2-rcalixte/patches/patch-build.zig b/ncdu2-rcalixte/patches/patch-build.zig
new file mode 100644
index 0000000000..9acdc66f6b
--- /dev/null
+++ b/ncdu2-rcalixte/patches/patch-build.zig
@@ -0,0 +1,23 @@
+$NetBSD$
+
+Help it find zstd.h (and libzstd, perhaps not needed).
+
+--- build.zig.orig	2026-10-05 15:29:52.502307458 +0000
++++ build.zig
+@@ -52,6 +52,16 @@ pub fn build(b: *std.Build) void {
+         .target = target,
+         .optimize = optimize,
+     });
++    const include_path: std.Build.LazyPath = .{
++        .cwd_relative = "/usr/pkg/include",
++    };
++
++    const library_path: std.Build.LazyPath = .{
++        .cwd_relative = "/usr/pkg/lib",
++    };
++
++    translate_c.addIncludePath(include_path);
++    main_mod.addLibraryPath(library_path);
+     main_mod.addImport("c", translate_c.createModule());
+ 
+     const exe = b.addExecutable(.{
diff --git a/ncdu2/DESCR b/ncdu2/DESCR
deleted file mode 100644
index 2976b315e3..0000000000
--- a/ncdu2/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-ncdu (NCurses Disk Usage) is a curses-based version of the well-known
-'du', and provides a fast way to see what directories are using
-your disk space. This is a complete rewrite in zig, with lower memory
-usage and better performance.
diff --git a/ncdu2/Makefile b/ncdu2/Makefile
deleted file mode 100644
index ab601621df..0000000000
--- a/ncdu2/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# $NetBSD: Makefile,v 1.11 2026/04/27 08:32:54 wiz Exp $
-
-DISTNAME=	ncdu-2.11
-CATEGORIES=	sysutils
-MASTER_SITES=	${MASTER_SITE_GITHUB:=rcalixte/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
-
-COMMENT=	Disk usage visualization tool
-MAINTAINER=	nikita%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/rcalixte/ncdu
-#HOMEPAGE=	https://dev.yorhel.nl/ncdu
-LICENSE=	mit
-
-USE_TOOLS+=	pkg-config
-
-# Temporary required, a zig build system parser is being written.
-ALLOW_NETWORK_ACCESS=	yes
-
-INSTALLATION_DIRS+=	${PKGMANDIR}/man1
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC}/ncdu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-
-.include "../../archivers/zstd/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
-.include "../../lang/zig/application.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/ncdu2/PLIST b/ncdu2/PLIST
deleted file mode 100644
index 33f590cecd..0000000000
--- a/ncdu2/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2023/02/28 21:07:43 nikita Exp $
-bin/ncdu
-man/man1/ncdu.1
diff --git a/ncdu2/TODO b/ncdu2/TODO
deleted file mode 100644
index 27e6356bd8..0000000000
--- a/ncdu2/TODO
+++ /dev/null
@@ -1,24 +0,0 @@
-Doesn't build:
-
-install
-└─ install ncdu
-   └─ compile exe ncdu ReleaseSafe native-native
-      └─ translate-c 81 errors
-error: translation failure
-/usr/include/time.h:277:1: error: unknown type name 'pragma'
-__END_DECLS
-^
-/usr/include/sys/cdefs.h:432:22: note: expanded from here
-#define __END_DECLS  __END_PUBLIC_DECLS
-                     ^
-/usr/include/sys/cdefs.h:413:45: note: expanded from here
-#  define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
-                                            ^
-<scratch space>:12:2: note: expanded from here
-#pragma GCC visibility pop
- ^
-
-Reported upstream at
-https://github.com/rcalixte/ncdu/issues/3
-
-Once that is resolved: Clean up patches/ to avoid hardcoding PREFIX.
diff --git a/ncdu2/distinfo b/ncdu2/distinfo
deleted file mode 100644
index b39cfd677e..0000000000
--- a/ncdu2/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.5 2026/03/31 18:01:01 wiz Exp $
-
-BLAKE2s (ncdu-2.11.tar.gz) = 9815a9e535907c71927c928e626f13242f18976f4ae9ab042a512f32660a1ab1
-SHA512 (ncdu-2.11.tar.gz) = 48a6d2a8a88b4e11cdbd681c3bc8ca7d04e17b6b3094db76c2c18f081a572dbb26a0be9be8660f12a1bdfac699518388dd97a00b546871bc34b406a0ebb75d6a
-Size (ncdu-2.11.tar.gz) = 75269 bytes
-SHA1 (patch-build.zig) = 41edc272a920273787f72b85663815a365963075
diff --git a/ncdu2/patches/patch-build.zig b/ncdu2/patches/patch-build.zig
deleted file mode 100644
index 9acdc66f6b..0000000000
--- a/ncdu2/patches/patch-build.zig
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD$
-
-Help it find zstd.h (and libzstd, perhaps not needed).
-
---- build.zig.orig	2026-10-05 15:29:52.502307458 +0000
-+++ build.zig
-@@ -52,6 +52,16 @@ pub fn build(b: *std.Build) void {
-         .target = target,
-         .optimize = optimize,
-     });
-+    const include_path: std.Build.LazyPath = .{
-+        .cwd_relative = "/usr/pkg/include",
-+    };
-+
-+    const library_path: std.Build.LazyPath = .{
-+        .cwd_relative = "/usr/pkg/lib",
-+    };
-+
-+    translate_c.addIncludePath(include_path);
-+    main_mod.addLibraryPath(library_path);
-     main_mod.addImport("c", translate_c.createModule());
- 
-     const exe = b.addExecutable(.{


Home | Main Index | Thread Index | Old Index