diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-30 11:23:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-30 11:23:15 +0000 |
commit | 644b9a9678d21e8ed164e4793a30477ac2115e9d (patch) | |
tree | 23c1d611b24329b51702eff27f04359f9a399122 /main/cracklib/cracklib-nls.patch | |
parent | 4222561ac7317f81eb18b5b817c0da8d43ec8b3c (diff) | |
download | aports-644b9a9678d21e8ed164e4793a30477ac2115e9d.tar.bz2 aports-644b9a9678d21e8ed164e4793a30477ac2115e9d.tar.xz |
main/cracklib: upgrade to 2.8.16
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)) { |