Bug#662227: FTBFS in non-UTF-8 locales (such as C)
jftr/jfyi, your patch had several issues:
* you used debian/tmp for a multi-binary package, which is bad, as
debhelper already uses debian/tmp already. never do that, use
debian/build instead (and clean it up in the clean target of rules).
* additionally, unrelated to that that debhelper already uses
debian/tmp, it wouldn't have worked anyway (and any build with your
patch would fail), as we do (and as anyone sane should) use
dh_install with --fail-missing.
* the export of the variables is not required at all.
Address: Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern