[packages/texlive/TEXLIVE_20080816] - added open patch (missing mode for open())

qboosh qboosh at pld-linux.org
Fri Oct 2 17:11:56 CEST 2020


commit 269c1e4e2333f31df5a413673852f6d0e7443085
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 2 17:14:54 2020 +0200

    - added open patch (missing mode for open())

 texlive-open.patch | 11 +++++++++++
 texlive.spec       |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/texlive.spec b/texlive.spec
index ec75b81..fd45965 100644
--- a/texlive.spec
+++ b/texlive.spec
@@ -97,6 +97,7 @@ Patch14:	%{name}-system-zlib.patch
 Patch15:	%{name}-xetex-zlib.patch
 Patch16:	cxx11.patch
 Patch17:	perl-syntax.patch
+Patch18:	%{name}-open.patch
 URL:		http://www.tug.org/texlive/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -7433,6 +7434,7 @@ lzma -dc %{SOURCE0} | tar xf - -C ..
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
+%patch18 -p1
 
 CURDIR=$(pwd)
 cd utils/xindy/make-rules/alphabets
diff --git a/texlive-open.patch b/texlive-open.patch
new file mode 100644
index 0000000..ffbcf1c
--- /dev/null
+++ b/texlive-open.patch
@@ -0,0 +1,11 @@
+--- texlive-20080816-source/texk/xdvik/util.c.orig	2008-07-13 03:21:34.000000000 +0200
++++ texlive-20080816-source/texk/xdvik/util.c	2020-10-02 17:13:20.392779656 +0200
+@@ -273,7 +273,7 @@
+     int fd = open(fname, flags, mode);
+     if (fd < 0 && (errno == EMFILE || errno == ENFILE)) {
+ 	close_a_file();
+-	fd = open(fname, flags);
++	fd = open(fname, flags, mode);
+     }
+     return fd;
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/texlive.git/commitdiff/269c1e4e2333f31df5a413673852f6d0e7443085



More information about the pld-cvs-commit mailing list