aports/main/cracklib/cracklib-nls.patch
2010-06-30 11:23:15 +00:00

13 lines
255 B
Diff

--- ./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)) {