diff options
author | anders <anders@FreeBSD.org> | 2005-06-04 13:39:28 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2005-06-04 13:39:28 +0800 |
commit | 016873c5ea8cde71f5e9e114f1a7873619761277 (patch) | |
tree | c7ff2bc44e185b9cd39f1d71c56216712dee6502 /security | |
parent | 34d0d983da1057c6793c611d16f0303b8ba0836a (diff) | |
download | freebsd-ports-gnome-016873c5ea8cde71f5e9e114f1a7873619761277.tar.gz freebsd-ports-gnome-016873c5ea8cde71f5e9e114f1a7873619761277.tar.zst freebsd-ports-gnome-016873c5ea8cde71f5e9e114f1a7873619761277.zip |
Make port build on 4.x.
Noticed by: kris/pointyhat
Diffstat (limited to 'security')
-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); |