[Pkg-cracklib-commits] r69 - in cracklib2/trunk/debian: . patches

jandd-guest at alioth.debian.org jandd-guest at alioth.debian.org
Tue Oct 28 19:50:55 UTC 2008


Author: jandd-guest
Date: 2008-10-28 19:50:55 +0000 (Tue, 28 Oct 2008)
New Revision: 69

Added:
   cracklib2/trunk/debian/patches/04-enable-gettext.patch
Modified:
   cracklib2/trunk/debian/changelog
   cracklib2/trunk/debian/patches/series
Log:
add bugfix for #503826


Modified: cracklib2/trunk/debian/changelog
===================================================================
--- cracklib2/trunk/debian/changelog	2008-10-19 21:26:41 UTC (rev 68)
+++ cracklib2/trunk/debian/changelog	2008-10-28 19:50:55 UTC (rev 69)
@@ -1,3 +1,10 @@
+cracklib2 (2.8.13-3) unstable; urgency=low
+
+  * debian/patches/04-enable-gettext.patch fixes gettext not correctly
+    initialized (Closes: #503826)
+
+ -- Jan Dittberner <jan at dittberner.info>  Tue, 28 Oct 2008 20:50:24 +0100
+
 cracklib2 (2.8.13-2) unstable; urgency=low
 
   [ Steve Langasek ]

Added: cracklib2/trunk/debian/patches/04-enable-gettext.patch
===================================================================
--- cracklib2/trunk/debian/patches/04-enable-gettext.patch	                        (rev 0)
+++ cracklib2/trunk/debian/patches/04-enable-gettext.patch	2008-10-28 19:50:55 UTC (rev 69)
@@ -0,0 +1,12 @@
+--- a/util/check.c
++++ b/util/check.c
+@@ -20,6 +20,9 @@
+ 	const char *why;
+ 	int i;
+ 
++	setlocale(LC_ALL, "");
++	textdomain(PACKAGE);
++
+ 	while (fgets(buf, sizeof(buf), stdin) != NULL) {
+ 		while (((i = strlen(buf)) > 0) && (i > 0)) {
+ 			if (strchr("\r\n", buf[i - 1]) != NULL) {

Modified: cracklib2/trunk/debian/patches/series
===================================================================
--- cracklib2/trunk/debian/patches/series	2008-10-19 21:26:41 UTC (rev 68)
+++ cracklib2/trunk/debian/patches/series	2008-10-28 19:50:55 UTC (rev 69)
@@ -1,3 +1,4 @@
 01-cracklib-format-optim.patch
 02-ccwarnings.patch
 03-packer-dont-print-skipping-line.patch
+04-enable-gettext.patch




More information about the Pkg-cracklib-commits mailing list