git: aff64a3f6488 - main - devel/newt: Update to 0.52.24
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jul 2024 19:17:06 UTC
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aff64a3f648840b83d760fcef1d3c7142b163263
commit aff64a3f648840b83d760fcef1d3c7142b163263
Author: Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2024-07-23 15:17:02 +0000
Commit: Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2024-07-23 15:17:02 +0000
devel/newt: Update to 0.52.24
---
devel/newt/Makefile | 3 +--
devel/newt/distinfo | 6 +++---
devel/newt/files/patch-newt.c | 4 ++--
devel/newt/files/patch-whiptcl.c | 45 +++-------------------------------------
4 files changed, 9 insertions(+), 49 deletions(-)
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 83b24b8618c9..24157f025f46 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -1,6 +1,5 @@
PORTNAME= newt
-PORTVERSION= 0.52.22
-PORTREVISION= 1
+PORTVERSION= 0.52.24
CATEGORIES= devel
MASTER_SITES= https://releases.pagure.org/newt/
diff --git a/devel/newt/distinfo b/devel/newt/distinfo
index ab0613fd89e5..9f14252e7a37 100644
--- a/devel/newt/distinfo
+++ b/devel/newt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669133240
-SHA256 (newt-0.52.22.tar.gz) = a15efa37e86610b68a942b19a138b44ccb501c234e4c82dab2f5a9b19f7c9e79
-SIZE (newt-0.52.22.tar.gz) = 176269
+TIMESTAMP = 1721747769
+SHA256 (newt-0.52.24.tar.gz) = 5ded7e221f85f642521c49b1826c8de19845aa372baf5d630a51774b544fbdbb
+SIZE (newt-0.52.24.tar.gz) = 176693
diff --git a/devel/newt/files/patch-newt.c b/devel/newt/files/patch-newt.c
index 88c7f33566ca..a048e3331d6c 100644
--- a/devel/newt/files/patch-newt.c
+++ b/devel/newt/files/patch-newt.c
@@ -1,6 +1,6 @@
---- newt.c.orig 2014-10-23 08:34:37 UTC
+--- newt.c.orig 2023-10-25 10:21:25 UTC
+++ newt.c
-@@ -98,6 +98,8 @@ static const struct keymap keymap[] = {
+@@ -100,6 +100,8 @@ static const struct keymap keymap[] = {
{ "\033[6~", NEWT_KEY_PGDN, "kN" },
{ "\033V", NEWT_KEY_PGUP, NULL },
{ "\033v", NEWT_KEY_PGUP, NULL },
diff --git a/devel/newt/files/patch-whiptcl.c b/devel/newt/files/patch-whiptcl.c
index 866aeb9a788a..506cb9a14a71 100644
--- a/devel/newt/files/patch-whiptcl.c
+++ b/devel/newt/files/patch-whiptcl.c
@@ -1,6 +1,6 @@
---- whiptcl.c.orig 2016-03-23 15:46:24 UTC
+--- whiptcl.c.orig 2023-10-25 10:21:25 UTC
+++ whiptcl.c
-@@ -137,45 +137,45 @@ static int wtCmd(ClientData clientData,
+@@ -138,45 +138,45 @@ static int wtCmd(ClientData clientData, Tcl_Interp * i
if (arg < -1) {
/* this could buffer oveflow, bug we're not setuid so I don't care */
@@ -56,46 +56,7 @@
return TCL_ERROR;
}
-@@ -196,33 +196,30 @@ static int wtCmd(ClientData clientData,
- case MODE_YESNO:
- rc = messageBox(text, height, width, MSGBOX_YESNO, flags);
- if (rc == DLG_OKAY)
-- interp->result = "yes";
-+ Tcl_SetResult(interp, "yes", TCL_STATIC);
- else
-- interp->result = "no";
-+ Tcl_SetResult(interp, "no", TCL_STATIC);
- if (rc == DLG_ERROR) rc = 0;
- break;
-
- case MODE_INPUTBOX:
- rc = inputBox(text, height, width, optCon, flags, &result);
- if (rc ==DLG_OKAY) {
-- interp->result = result;
-- interp->freeProc = TCL_DYNAMIC;
-+ Tcl_SetResult(interp, strdup(result), TCL_DYNAMIC);
- }
- break;
-
- case MODE_MENU:
- rc = listBox(text, height, width, optCon, flags, default_item, &result);
- if (rc==DLG_OKAY) {
-- interp->result = result;
-- interp->freeProc = TCL_DYNAMIC;
-+ Tcl_SetResult(interp, strdup(result), TCL_DYNAMIC);
- }
- break;
-
- case MODE_RADIOLIST:
- rc = checkList(text, height, width, optCon, 1, flags, &selections);
- if (rc==DLG_OKAY) {
-- interp->result = selections[0];
-- interp->freeProc = TCL_DYNAMIC;
-+ Tcl_SetResult(interp, strdup(selections[0]), TCL_DYNAMIC);
-
- free(selections);
- }
-@@ -247,7 +244,7 @@ static int wtCmd(ClientData clientData,
+@@ -267,7 +267,7 @@ static int wtCmd(ClientData clientData, Tcl_Interp * i
newtPopWindow();
if (rc == DLG_ERROR) {