ports-mgmt/portconfig: update to 0.1.1
This commit is contained in:
parent
7d6dadb260
commit
a4e4b7af4c
@ -1,6 +1,5 @@
|
||||
PORTNAME= portconfig
|
||||
PORTVERSION= 0.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.1.1
|
||||
CATEGORIES= ports-mgmt
|
||||
|
||||
MAINTAINER= bapt@FreeBSD.org
|
||||
@ -10,7 +9,7 @@ LICENSE= BSD2CLAUSE
|
||||
|
||||
USE_GITLAB= yes
|
||||
GL_ACCOUNT= alfix
|
||||
GL_COMMIT= 0292159f4e2431a2f7c1cebe13e28de34d0c8932
|
||||
GL_COMMIT= 222ee8a8f6a790fe6a9c72f7b615e47ecdb56399
|
||||
|
||||
USES= localbase:ldflags
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libbsddialog.a:devel/bsddialog
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1637675764
|
||||
SHA256 (alfix-portconfig-0292159f4e2431a2f7c1cebe13e28de34d0c8932_GL0.tar.gz) = 195bc0e36921b29ee4130b8f29f535c344ce572bbfbc2d49fd6a3f64357801e0
|
||||
SIZE (alfix-portconfig-0292159f4e2431a2f7c1cebe13e28de34d0c8932_GL0.tar.gz) = 202114
|
||||
TIMESTAMP = 1638783870
|
||||
SHA256 (alfix-portconfig-222ee8a8f6a790fe6a9c72f7b615e47ecdb56399_GL0.tar.gz) = 20e0ccbe417607502a37c0cd86e04a5cf5c5d54577549f0448cf585e2458bff0
|
||||
SIZE (alfix-portconfig-222ee8a8f6a790fe6a9c72f7b615e47ecdb56399_GL0.tar.gz) = 202181
|
||||
|
25
ports-mgmt/portconfig/files/patch-portconfig.c
Normal file
25
ports-mgmt/portconfig/files/patch-portconfig.c
Normal file
@ -0,0 +1,25 @@
|
||||
--- 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user