[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#662227: patch attached



tags 662227 + patch
thanks

I have a different way to fix this.  Patch is attached.


diff -Nru live-manual-3.0~a10/debian/changelog live-manual-3.0~a10/debian/changelog
--- live-manual-3.0~a10/debian/changelog	2012-02-06 15:42:17.000000000 -0700
+++ live-manual-3.0~a10/debian/changelog	2012-03-15 13:35:02.000000000 -0600
@@ -1,3 +1,9 @@
+live-manual (1:3.0~a10-2) unstable; urgency=low
+
+  * Fixes ftbfs due to incorrect locale (Closes: #662227)
+
+ -- Matthew Fischer <matthew.fischer@canonical.com>  Thu, 15 Mar 2012 13:27:26 -0600
+
 live-manual (1:3.0~a10-1) unstable; urgency=low
 
   [ Ben Armstrong ]
diff -Nru live-manual-3.0~a10/debian/rules live-manual-3.0~a10/debian/rules
--- live-manual-3.0~a10/debian/rules	2012-02-06 15:42:17.000000000 -0700
+++ live-manual-3.0~a10/debian/rules	2012-03-15 13:34:48.000000000 -0600
@@ -3,6 +3,13 @@
 %:
 	dh ${@}
 
+override_dh_auto_build: 
+	mkdir -p debian/tmp/locale/
+	localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
+	export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \
+	export LC_ALL=en_US.UTF-8 && \
+	dh_auto_build
+
 override_dh_builddeb:
 	dh_builddeb -- -Zgzip -z9
 

Reply to: