diff options
Diffstat (limited to 'main/cracklib/cracklib-nls.patch')
-rw-r--r-- | main/cracklib/cracklib-nls.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/cracklib/cracklib-nls.patch b/main/cracklib/cracklib-nls.patch new file mode 100644 index 0000000000..3792b741c4 --- /dev/null +++ b/main/cracklib/cracklib-nls.patch @@ -0,0 +1,12 @@ +--- ./util/check.c.orig ++++ ./util/check.c +@@ -22,7 +22,9 @@ + int i; + + setlocale(LC_ALL, ""); ++#if defined(ENABLE_NLS) + textdomain(PACKAGE); ++#endif + + while (fgets(buf, sizeof(buf), stdin) != NULL) { + while (((i = strlen(buf)) > 0) && (i > 0)) { |