From a90ece3571d05bea373445881972f7c2b9f1ab79 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Tue, 3 Aug 2021 08:04:20 +0200 Subject: sci-visualization/gnuplot: Update live ebuild to EAPI 8 and fix patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ulrich Müller --- .../gnuplot/files/gnuplot-5.5-no-picins.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sci-visualization/gnuplot/files/gnuplot-5.5-no-picins.patch (limited to 'sci-visualization/gnuplot/files') diff --git a/sci-visualization/gnuplot/files/gnuplot-5.5-no-picins.patch b/sci-visualization/gnuplot/files/gnuplot-5.5-no-picins.patch new file mode 100644 index 000000000000..b27b0bd941bd --- /dev/null +++ b/sci-visualization/gnuplot/files/gnuplot-5.5-no-picins.patch @@ -0,0 +1,18 @@ +Do not require picins.sty. +https://bugs.gentoo.org/577828#c4 + +--- gnuplot/docs/Makefile.am ++++ gnuplot/docs/Makefile.am +@@ -179,9 +179,10 @@ + $(AM_V_at)GNUPLOT_LIB=$(top_srcdir)/demo $(GNUPLOT_EXE) $(srcdir)/plotstyles.gnu + rm -f gpinsetfigure.tex ; \ + ( echo "\usepackage{graphicx}" > gpinsetfigure.tex ; \ +- echo "\usepackage{picins}" >> gpinsetfigure.tex ; \ + echo "\newcommand{\gpinsetfigure}[1]{" >> gpinsetfigure.tex ; \ +- echo " \parpic[r][rt]{\includegraphics[width=3in,keepaspectratio]{#1}}" >> gpinsetfigure.tex ; \ ++ echo " \begin{figure}[htb]" >> gpinsetfigure.tex ; \ ++ echo " \centering\includegraphics[width=3in,keepaspectratio]{#1}" >> gpinsetfigure.tex ; \ ++ echo " \end{figure}" >> gpinsetfigure.tex ; \ + echo "}" >> gpinsetfigure.tex ; \ + ) ; \ + $(AM_V_GEN)touch $@ -- cgit v1.2.3-65-gdbad