pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/web2c print/web2c: Remove a race condition



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bbc640a097a
branches:  trunk
changeset: 380368:5bbc640a097a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue May 15 06:11:45 2018 +0000

description:
print/web2c: Remove a race condition

Files using mplib.h must be compiled after mplib.h is generated.

diffstat:

 print/web2c/distinfo                  |   3 ++-
 print/web2c/patches/patch-Makefile.in |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r db07768bfb93 -r 5bbc640a097a print/web2c/distinfo
--- a/print/web2c/distinfo      Mon May 14 21:22:53 2018 +0000
+++ b/print/web2c/distinfo      Tue May 15 06:11:45 2018 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.26 2018/05/13 13:01:02 markd Exp $
+$NetBSD: distinfo,v 1.27 2018/05/15 06:11:45 minskim Exp $
 
 SHA1 (texlive-20180414-source.tar.xz) = 81bdd9999b6ab860d1d3c388cf27062aba960255
 RMD160 (texlive-20180414-source.tar.xz) = 0ff63bbd7f8a0fb6417089f5d1ae1e4124a1dd95
 SHA512 (texlive-20180414-source.tar.xz) = ecac9b8203d2747be7ba7f82d68096d859fb35713276106d7049035dd3a8cfca07f8a8648982f0317b3812f8480db7326714de32f95998e3e6f73571de2aa140
 Size (texlive-20180414-source.tar.xz) = 49770944 bytes
+SHA1 (patch-Makefile.in) = 28e7ad00f3796b49f92c5cc3eb3c94bdf38b1364
 SHA1 (patch-am) = b7b81b1161a2117e756b25b80f9a676575267bdd
 SHA1 (patch-pdftexdir_pdftoepdf-newpoppler.cc) = 6d778c1b493d1f498c07ea49a41a9f15d3f8d570
 SHA1 (patch-pdftexdir_pdftosrc-newpoppler.cc) = 6601ac14720cc36321d3da70359218182f98915b
diff -r db07768bfb93 -r 5bbc640a097a print/web2c/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/web2c/patches/patch-Makefile.in     Tue May 15 06:11:45 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.in,v 1.1 2018/05/15 06:11:45 minskim Exp $
+
+Remove a race condition. $(nodist_libmplibbackends_a_SOURCES) should't
+be compiled before mplib.h is created.
+
+--- Makefile.in.orig   2018-03-20 22:58:40.000000000 +0000
++++ Makefile.in
+@@ -17349,7 +17349,7 @@ svgout-tangle: ctangle$(EXEEXT) mplibdir
+ $(nodist_libmplibcore_a_SOURCES): $(svgout_c_h) $(pngout_c_h)
+ 
+ $(libmplibcore_a_OBJECTS): $(nodist_libmplibcore_a_SOURCES) $(KPATHSEA_DEPEND)  $(MPFR_DEPEND)
+-$(libmplibbackends_a_OBJECTS): $(nodist_libmplibbackends_a_SOURCES) $(KPATHSEA_DEPEND) $(CAIRO_DEPEND) $(MPFR_DEPEND)
++$(libmplibbackends_a_OBJECTS): $(nodist_libmplibbackends_a_SOURCES) mplib.h $(KPATHSEA_DEPEND) $(CAIRO_DEPEND) $(MPFR_DEPEND)
+ $(etex_OBJECTS): $(etex_prereq)
+ 
+ $(etex_c_h): etex-web2c



Home | Main Index | Thread Index | Old Index