Properly NULL-terminate the array of command-line options.
Submitted by: Sean McNeil <sean@mcneil.com>
This commit is contained in:
parent
502885d8af
commit
73523d3ae9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124339
4 changed files with 26 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= gnomekeyringmanager
|
||||
PORTVERSION= 0.0.3
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/gnome-keyring-manager/0.0
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
--- src/gnome-keyring-manager.c.orig Sun Jun 13 22:16:43 2004
|
||||
+++ src/gnome-keyring-manager.c Thu Dec 16 22:58:42 2004
|
||||
@@ -312,7 +312,8 @@
|
||||
{ "manager", 'm', POPT_ARG_NONE, NULL, OPTION_MANAGER,
|
||||
N_("Open the keyring manager"), NULL },
|
||||
{ "keyring", 'k', POPT_ARG_STRING, NULL, OPTION_KEYRING,
|
||||
- N_("Open the keyring editor for KEYRING"), N_("KEYRING") }
|
||||
+ N_("Open the keyring editor for KEYRING"), N_("KEYRING") },
|
||||
+ { NULL, '\0', 0, NULL, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
int
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= gnomekeyringmanager
|
||||
PORTVERSION= 0.0.3
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/gnome-keyring-manager/0.0
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
--- src/gnome-keyring-manager.c.orig Sun Jun 13 22:16:43 2004
|
||||
+++ src/gnome-keyring-manager.c Thu Dec 16 22:58:42 2004
|
||||
@@ -312,7 +312,8 @@
|
||||
{ "manager", 'm', POPT_ARG_NONE, NULL, OPTION_MANAGER,
|
||||
N_("Open the keyring manager"), NULL },
|
||||
{ "keyring", 'k', POPT_ARG_STRING, NULL, OPTION_KEYRING,
|
||||
- N_("Open the keyring editor for KEYRING"), N_("KEYRING") }
|
||||
+ N_("Open the keyring editor for KEYRING"), N_("KEYRING") },
|
||||
+ { NULL, '\0', 0, NULL, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
int
|
Loading…
Reference in a new issue