diff options
author | Anders Nordby <anders@FreeBSD.org> | 2005-06-04 05:39:28 +0000 |
---|---|---|
committer | Anders Nordby <anders@FreeBSD.org> | 2005-06-04 05:39:28 +0000 |
commit | 60a578e0f55233be30da98e70e04a152c7670e00 (patch) | |
tree | 33ab50ca6e96ae2e30f2fd3969850e8df27bea1e | |
parent | 25d18dfc97cedc59b68e5ad19e69cee49177e8e7 (diff) |
Notes
-rw-r--r-- | security/fpm/files/patch-src-main.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/security/fpm/files/patch-src-main.c b/security/fpm/files/patch-src-main.c new file mode 100644 index 000000000000..29322d2a4caa --- /dev/null +++ b/security/fpm/files/patch-src-main.c @@ -0,0 +1,23 @@ +--- src/main.c.orig Sat Jun 4 07:32:53 2005 ++++ src/main.c Sat Jun 4 07:33:15 2005 +@@ -32,15 +32,16 @@ + int + main (int argc, char *argv[]) + { +-#ifdef ENABLE_NLS +- bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR); +- textdomain (PACKAGE); +-#endif + char *opt_file_name = NULL; + const struct poptOption options[] = { + {"file", 'f', POPT_ARG_STRING, &opt_file_name, 0, + N_("Name of the password file to open"), N_("PASSWORDFILE")}, + {NULL, '\0', 0, NULL, 0}}; ++ ++#ifdef ENABLE_NLS ++ bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR); ++ textdomain (PACKAGE); ++#endif + + gnome_init_with_popt_table("fpm", VERSION, argc, argv, options, 0, NULL); + // gnome_init("fpm", VERSION, argc, argv); |