Skip to content
Snippets Groups Projects
Commit 651c7482 authored by Alfonso Siciliano's avatar Alfonso Siciliano :computer: Committed by baptiste daroussin
Browse files

ports-mgmt/portconfig: update to 0.2

New features:
 - Shortcut keys
 - env D4PMINHEIGHT

PR:		260398
parent 9c94338d
No related branches found
No related tags found
No related merge requests found
PORTNAME= portconfig
PORTVERSION= 0.1.1
PORTVERSION= 0.2
CATEGORIES= ports-mgmt
MAINTAINER= bapt@FreeBSD.org
......@@ -9,7 +9,7 @@ LICENSE= BSD2CLAUSE
USE_GITLAB= yes
GL_ACCOUNT= alfix
GL_COMMIT= 222ee8a8f6a790fe6a9c72f7b615e47ecdb56399
GL_COMMIT= 9103a17b253ead68937bfffdf9135cd6ada8a538
USES= localbase:ldflags
BUILD_DEPENDS= ${LOCALBASE}/lib/libbsddialog.a:devel/bsddialog
......
TIMESTAMP = 1638783870
SHA256 (alfix-portconfig-222ee8a8f6a790fe6a9c72f7b615e47ecdb56399_GL0.tar.gz) = 20e0ccbe417607502a37c0cd86e04a5cf5c5d54577549f0448cf585e2458bff0
SIZE (alfix-portconfig-222ee8a8f6a790fe6a9c72f7b615e47ecdb56399_GL0.tar.gz) = 202181
TIMESTAMP = 1642434908
SHA256 (alfix-portconfig-9103a17b253ead68937bfffdf9135cd6ada8a538_GL0.tar.gz) = 5908d23ad0680e2ae38aa3e1f21af265b2b981989333c205c86badb53a27896f
SIZE (alfix-portconfig-9103a17b253ead68937bfffdf9135cd6ada8a538_GL0.tar.gz) = 202379
--- portconfig.c.orig 2021-11-29 17:22:25 UTC
+++ portconfig.c
@@ -253,9 +253,6 @@ main(int argc, char *argv[])
theme = BSDDIALOG_THEME_DIALOG;
newstr = "+";
}
- else if (strcasecmp(env, "magenta") == 0) {
- theme = BSDDIALOG_THEME_MAGENTA;
- }
else if (strcasecmp(env, "blackwhite") == 0) {
theme = BSDDIALOG_THEME_BLACKWHITE;
}
@@ -290,10 +287,10 @@ main(int argc, char *argv[])
confhelp.title = "HELP";
confhelp.hfile = NULL;
for (;;) {
- output = bsddialog_mixedlist(conf, helpmsg, h, w, 0, ngroups,
+ output = bsddialog_mixedlist(&conf, helpmsg, h, w, 0, ngroups,
groups, NULL, NULL);
if (output == BSDDIALOG_HELP) {
- output = bsddialog_textbox(confhelp, conf.hfile, 0, 0);
+ output = bsddialog_textbox(&confhelp, conf.hfile, 0, 0);
if(output == BSDDIALOG_ERROR)
break;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment