Hi,
I run into troubles while building dictionaries, because I have on my
system set PERL_UNICODE=SDL (perl script
clone/dictionaries/dictionaries/util/th_check.pl dies as it's forced to
use UTF-8, but not all dictionaries are in this encoding).
Not sure whether it's good idea to handle it. If yes, there is a working
solution (I'm sure, there must be better place to reset the variable).
Petr
>From 6877bd81333f6373fb80d66e6d6479a40e2294f5 Mon Sep 17 00:00:00 2001
From: Petr Vorel <petr.vo...@gmail.com>
Date: Sat, 18 Feb 2012 23:19:22 +0100
Subject: [PATCH] fix building dictionaries when PERL_UNICODE environment
variable is set
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index cb99243..7d619e2 100644
--- a/Makefile
+++ b/Makefile
@@ -267,7 +267,7 @@ define dmake_module_rules
$(1): bootstrap fetch
cd $(1) && unset MAKEFLAGS && \
- $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM)
+ PERL_UNICODE=0 $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM) # PERL_UNICODE breaks th_check.pl during validating thesaurus files
$(1).all: bootstrap fetch
cd $(1) && unset MAKEFLAGS && \
--
1.7.9
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice