diff options
author | 2006-01-03 06:52:16 +0000 | |
---|---|---|
committer | 2006-01-03 06:52:16 +0000 | |
commit | 85326a4c32d780ae588bc1393d04471c78d5514f (patch) | |
tree | 6645cba7bab3e64bcfaa842e38d827aa26430c3c /sys-fs/cryptsetup-luks/files | |
parent | tell users to run revdep-rebuild --library instead of revdep-rebuild --soname (diff) | |
download | historical-85326a4c32d780ae588bc1393d04471c78d5514f.tar.gz historical-85326a4c32d780ae588bc1393d04471c78d5514f.tar.bz2 historical-85326a4c32d780ae588bc1393d04471c78d5514f.zip |
Fix building with USE=-nls and add some sh love.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'sys-fs/cryptsetup-luks/files')
-rw-r--r-- | sys-fs/cryptsetup-luks/files/cryptsetup-luks-1.0.1-no-nls.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-fs/cryptsetup-luks/files/cryptsetup-luks-1.0.1-no-nls.patch b/sys-fs/cryptsetup-luks/files/cryptsetup-luks-1.0.1-no-nls.patch new file mode 100644 index 000000000000..b340adc6c78f --- /dev/null +++ b/sys-fs/cryptsetup-luks/files/cryptsetup-luks-1.0.1-no-nls.patch @@ -0,0 +1,16 @@ +Make sure we use _() instead of gettext() so that the header +file will define it away properly when USE=-nls. + +--- src/cryptsetup.c ++++ src/cryptsetup.c +@@ -331,8 +331,8 @@ static void help(poptContext popt_contex + "<action> is one of:\n")); + + for(action = action_types; action->type; action++) +- fprintf(stdout, "\t%s %s - %s\n", action->type, gettext(action->arg_desc), +- gettext(action->desc)); ++ fprintf(stdout, "\t%s %s - %s\n", action->type, _(action->arg_desc), ++ _(action->desc)); + + fprintf(stdout, _("\n" + "<name> is the device to create under %s\n" |