summaryrefslogtreecommitdiff
path: root/security/fpm
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2005-06-04 05:39:28 +0000
committerAnders Nordby <anders@FreeBSD.org>2005-06-04 05:39:28 +0000
commit60a578e0f55233be30da98e70e04a152c7670e00 (patch)
tree33ab50ca6e96ae2e30f2fd3969850e8df27bea1e /security/fpm
parentAdd a patch missed on the last update. (diff)
Make port build on 4.x.
Noticed by: kris/pointyhat
Notes
Notes: svn path=/head/; revision=136778
Diffstat (limited to 'security/fpm')
-rw-r--r--security/fpm/files/patch-src-main.c23
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);