summaryrefslogtreecommitdiffstats
path: root/main/cracklib/cracklib-nls.patch
blob: 3792b741c4d19827559e3c65d69737555b693c18 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)) {