SHA256
1
0
forked from pool/texlive
Dr. Werner Fink 2013-08-08 10:11:27 +00:00 committed by Git OBS Bridge
parent eb349a221a
commit bf6879e57d
3 changed files with 41 additions and 2 deletions

30
biblatex-encoding.dif Normal file
View File

@ -0,0 +1,30 @@
--- lib/Biber/Output/base.pm
+++ lib/Biber/Output/base.pm 2013-08-08 09:42:55.189939067 +0000
@@ -5,6 +5,7 @@ use warnings;
use Biber::Entry;
use IO::File;
+use PerlIO::encoding;
use Text::Wrap;
$Text::Wrap::columns = 80;
use Log::Log4perl qw( :no_extra_logdie_message );
--- lib/Biber/Output/bbl.pm
+++ lib/Biber/Output/bbl.pm 2013-08-08 09:43:01.225438687 +0000
@@ -10,6 +10,7 @@ use Biber::Entry;
use Biber::Utils;
use List::AllUtils qw( :all );
use IO::File;
+use PerlIO::encoding;
use Log::Log4perl qw( :no_extra_logdie_message );
use Text::Wrap;
$Text::Wrap::columns = 80;
--- lib/Biber/Output/dot.pm
+++ lib/Biber/Output/dot.pm 2013-08-08 09:43:06.605439073 +0000
@@ -10,6 +10,7 @@ use Biber::Entry;
use Biber::Utils;
use List::AllUtils qw( :all );
use IO::File;
+use PerlIO::encoding;
use Log::Log4perl qw( :no_extra_logdie_message );
my $logger = Log::Log4perl::get_logger('main');

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 8 09:46:54 UTC 2013 - werner@suse.de
- Add patch biblatex-encoding.dif - explicite load PerlIO::encoding
for output files, seems to be required for our perl (bnc#833815)
-------------------------------------------------------------------
Wed Aug 7 09:57:30 UTC 2013 - werner@suse.de

View File

@ -19,7 +19,7 @@
%define texlive_version 2013
%define texlive_previous 2011
%define texlive_release 20130620
%define texlive_noarch 74
%define texlive_noarch 75
%define texlive_source texlive-20130620-source
%define __perl_requires %{nil}
@ -224,6 +224,8 @@ Patch20: source-asymptote.dif
Patch40: biber-dev.patch
# PATCH-EXTEND-UPSTREAM Use always system CA certificates
Patch41: biber-certs.dif
# PATCH-FIX-UPSTREAM Make biber work with out perl
Patch42: biblatex-encoding.dif
Prefix: %{_bindir}
%{expand: %%global options %(mktemp /tmp/texlive-opts.XXXXXXXX)}
@ -2235,6 +2237,7 @@ pushd ../biblatex-biber-*
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
%patch40 -p0 -b .dev
%patch41 -p0 -b .ca
%patch42 -p0 -b .en
popd
%endif
@ -2470,7 +2473,7 @@ popd
%{perl_privlib}/Unicode/Collate/allkeys.txt;lib/Unicode/Collate/allkeys.txt
%{perl_privlib}/Unicode/Collate/keys.txt;lib/Unicode/Collate/keys.txt
%{perl_privlib}/PerlIO;lib/PerlIO
%{perl_privlib}/auto/PerlIO;lib/auto/PerlIO
%{perl_archlib}/auto/PerlIO;lib/auto/PerlIO
%{perl_vendorlib}/Business/ISBN/RangeMessage.xml;lib/Business/ISBN/RangeMessage.xml
EOF
LD_LIBRARY_PATH=/%{_lib}:%{_libdir} \