Add no-arrows.patch to not fail test_lang.

This commit is contained in:
Timo Aaltonen
2011-11-01 10:53:18 -04:00
parent 4a5c019d71
commit 9fddc744fa
3 changed files with 18 additions and 1 deletions

3
debian/changelog vendored
View File

@@ -13,8 +13,9 @@ freeipa (2.1.3-1) UNRELEASED; urgency=low
* Add fix_dnsclient.py.patch, we don't use autconfig.
* Add add_debian.py.patch, platform support code.
* Add include-stdint.patch from upstream to fix build errors.
* Add no-arrows.patch to not fail test_lang.
-- Michele Baldessari <michele@pupazzo.org> Sat, 06 Dec 2008 21:01:24 +0100
-- Timo Aaltonen <tjaalton@ubuntu.com> Tue, 01 Nov 2011 10:52:25 -0400
freeipa (1.2.0-1) UNRELEASED; urgency=low

15
debian/patches/no-arrows.patch vendored Normal file
View File

@@ -0,0 +1,15 @@
diff --git a/install/po/Makefile.in b/install/po/Makefile.in
index 49d125d..e04341b 100644
--- a/install/po/Makefile.in
+++ b/install/po/Makefile.in
@@ -190,8 +190,8 @@ test_lang:
rm -rf test.po test_locale
$(MSGINIT) --no-translator -i $(DOMAIN).pot -l en_US -o test.po
$(SED) -i -r -e 's/Language: en_US/Language: xh_ZA/' test.po
- $(SED) -i -r -e 's/^msgstr[ \t]+"(..*)"[ \t]*$$/msgstr "\xe2\x86\x92\1\xe2\x86\x90"/' test.po
- $(SED) -i -r -e 's/^msgstr[ \t]+"(.*)(\\n)(.)"[ \t]*$$/msgstr "\1\xe2\x86\x90\2"/' test.po
+# $(SED) -i -r -e 's/^msgstr[ \t]+"(..*)"[ \t]*$$/msgstr "\xe2\x86\x92\1\xe2\x86\x90"/' test.po
+# $(SED) -i -r -e 's/^msgstr[ \t]+"(.*)(\\n)(.)"[ \t]*$$/msgstr "\1\xe2\x86\x90\2"/' test.po
$(MKDIR_P) test_locale/xh_ZA/LC_MESSAGES
$(MSGFMT) -o test_locale/xh_ZA/LC_MESSAGES/ipa.mo test.po

View File

@@ -3,3 +3,4 @@
fix_dnsclient.py.patch
add_debian.py.patch
include-stdint.patch
no-arrows.patch