View | Details | Raw Unified | Return to bug 273274 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/ncdu2/Makefile (-3 / +2 lines)
Lines 1-6 Link Here
1
PORTNAME=	ncdu
1
PORTNAME=	ncdu
2
PORTVERSION=	2.2.2
2
PORTVERSION=	2.3
3
PORTREVISION=	4
4
CATEGORIES=	sysutils
3
CATEGORIES=	sysutils
5
MASTER_SITES=	https://dev.yorhel.nl/download/
4
MASTER_SITES=	https://dev.yorhel.nl/download/
6
PKGNAMESUFFIX=	2
5
PKGNAMESUFFIX=	2
Lines 13-19 WWW= https://dev.yorhel.nl/ncdu \ Link Here
13
LICENSE=	MIT
12
LICENSE=	MIT
14
LICENSE_FILE=	${WRKSRC}/LICENSES/MIT.txt
13
LICENSE_FILE=	${WRKSRC}/LICENSES/MIT.txt
15
14
16
BUILD_DEPENDS=	zig010>=0.10.0<0.10.1_99:lang/zig010
15
BUILD_DEPENDS=	zig>=0.11.0<0.11.0_99:lang/zig
17
16
18
USES=		ncurses
17
USES=		ncurses
19
18
(-)b/sysutils/ncdu2/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1684104284
1
TIMESTAMP = 1690888324
2
SHA256 (ncdu-2.2.2.tar.gz) = 90d920024e752318b469776ce57e03b3c702d49329ad9825aeeab36c3babf993
2
SHA256 (ncdu-2.3.tar.gz) = bbce1d1c70f1247671be4ea2135d8c52cd29a708af5ed62cecda7dc6a8000a3c
3
SIZE (ncdu-2.2.2.tar.gz) = 56096
3
SIZE (ncdu-2.3.tar.gz) = 56608
(-)b/sysutils/ncdu2/files/patch-build.zig (-9 / +25 lines)
Lines 1-10 Link Here
1
--- build.zig.orig	2023-01-19 06:57:48 UTC
1
--- build.zig.orig	2023-08-04 10:43:27 UTC
2
+++ build.zig
2
+++ build.zig
3
@@ -13,6 +13,7 @@ pub fn build(b: *std.build.Builder) void {
3
@@ -8,6 +8,7 @@ pub fn build(b: *std.Build) void {
4
     exe.addCSourceFile("src/ncurses_refs.c", &[_][]const u8{});
4
     const optimize = b.standardOptimizeOption(.{});
5
     exe.linkLibC();
5
 
6
     exe.linkSystemLibrary("ncursesw");
6
     const pie = b.option(bool, "pie", "Build with PIE support (by default false)") orelse false;
7
+    exe.strip = b.option(bool, "strip", "Strip debug information") orelse false;
7
+    const strip = b.option(bool, "strip", "Omit debug information (by default false)") orelse false;
8
     exe.install();
8
 
9
 
9
     const exe = b.addExecutable(.{
10
     const run_cmd = exe.run();
10
         .name = "ncdu",
11
@@ -23,6 +24,7 @@ pub fn build(b: *std.Build) void {
12
     }
13
     linkNcurses(exe);
14
     exe.pie = pie;
15
+    exe.strip = strip;
16
     b.installArtifact(exe);
17
 
18
     const run_cmd = b.addRunArtifact(exe);
19
@@ -41,6 +43,7 @@ pub fn build(b: *std.Build) void {
20
     });
21
     linkNcurses(unit_tests);
22
     unit_tests.pie = pie;
23
+    unit_tests.strip = strip;
24
 
25
     const run_unit_tests = b.addRunArtifact(unit_tests);
26
 

Return to bug 273274