FreeBSD Bugzilla – Attachment 244641 Details for
Bug 273274
sysutils/ncdu2: update to 2.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v2 (apply via "git am")
bug273274.diff (text/plain), 2.96 KB, created by
Jan Beich
on 2023-09-04 23:01:47 UTC
(
hide
)
Description:
v2 (apply via "git am")
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2023-09-04 23:01:47 UTC
Size:
2.96 KB
patch
obsolete
>From 35fb179a4d894f0b695bed60efd01a005a49a6b9 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Tue, 1 Aug 2023 13:12:04 +0200 >Subject: [PATCH] sysutils/ncdu2: update to 2.3 > >Changes: https://dev.yorhel.nl/ncdu/changes2 >PR: 273274 >Approved by: sunpoet (maintainer) >--- > sysutils/ncdu2/Makefile | 5 ++-- > sysutils/ncdu2/distinfo | 6 ++--- > sysutils/ncdu2/files/patch-build.zig | 34 ++++++++++++++++++++-------- > 3 files changed, 30 insertions(+), 15 deletions(-) > >diff --git a/sysutils/ncdu2/Makefile b/sysutils/ncdu2/Makefile >index 1d24050ac82b..f61656280071 100644 >--- a/sysutils/ncdu2/Makefile >+++ b/sysutils/ncdu2/Makefile >@@ -1,6 +1,5 @@ > PORTNAME= ncdu >-PORTVERSION= 2.2.2 >-PORTREVISION= 4 >+PORTVERSION= 2.3 > CATEGORIES= sysutils > MASTER_SITES= https://dev.yorhel.nl/download/ > PKGNAMESUFFIX= 2 >@@ -13,7 +12,7 @@ WWW= https://dev.yorhel.nl/ncdu \ > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSES/MIT.txt > >-BUILD_DEPENDS= zig010>=0.10.0<0.10.1_99:lang/zig010 >+BUILD_DEPENDS= zig>=0.11.0<0.11.0_99:lang/zig > > USES= ncurses > >diff --git a/sysutils/ncdu2/distinfo b/sysutils/ncdu2/distinfo >index b69053f96e94..3c510ba07744 100644 >--- a/sysutils/ncdu2/distinfo >+++ b/sysutils/ncdu2/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1684104284 >-SHA256 (ncdu-2.2.2.tar.gz) = 90d920024e752318b469776ce57e03b3c702d49329ad9825aeeab36c3babf993 >-SIZE (ncdu-2.2.2.tar.gz) = 56096 >+TIMESTAMP = 1690888324 >+SHA256 (ncdu-2.3.tar.gz) = bbce1d1c70f1247671be4ea2135d8c52cd29a708af5ed62cecda7dc6a8000a3c >+SIZE (ncdu-2.3.tar.gz) = 56608 >diff --git a/sysutils/ncdu2/files/patch-build.zig b/sysutils/ncdu2/files/patch-build.zig >index f2cd6be02ecc..aea3ee71a4fb 100644 >--- a/sysutils/ncdu2/files/patch-build.zig >+++ b/sysutils/ncdu2/files/patch-build.zig >@@ -1,10 +1,26 @@ >---- build.zig.orig 2023-01-19 06:57:48 UTC >+--- build.zig.orig 2023-08-04 10:43:27 UTC > +++ build.zig >-@@ -13,6 +13,7 @@ pub fn build(b: *std.build.Builder) void { >- exe.addCSourceFile("src/ncurses_refs.c", &[_][]const u8{}); >- exe.linkLibC(); >- exe.linkSystemLibrary("ncursesw"); >-+ exe.strip = b.option(bool, "strip", "Strip debug information") orelse false; >- exe.install(); >- >- const run_cmd = exe.run(); >+@@ -8,6 +8,7 @@ pub fn build(b: *std.Build) void { >+ const optimize = b.standardOptimizeOption(.{}); >+ >+ const pie = b.option(bool, "pie", "Build with PIE support (by default false)") orelse false; >++ const strip = b.option(bool, "strip", "Omit debug information (by default false)") orelse false; >+ >+ const exe = b.addExecutable(.{ >+ .name = "ncdu", >+@@ -23,6 +24,7 @@ pub fn build(b: *std.Build) void { >+ } >+ linkNcurses(exe); >+ exe.pie = pie; >++ exe.strip = strip; >+ b.installArtifact(exe); >+ >+ const run_cmd = b.addRunArtifact(exe); >+@@ -41,6 +43,7 @@ pub fn build(b: *std.Build) void { >+ }); >+ linkNcurses(unit_tests); >+ unit_tests.pie = pie; >++ unit_tests.strip = strip; >+ >+ const run_unit_tests = b.addRunArtifact(unit_tests); >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273274
:
244272
| 244641