[asymptote] 01/01: include upstream fix to work with TL2016 (Closes: #836252)
This is an automated email from the git hooks/post-receive script.
preining pushed a commit to branch master
in repository asymptote.
commit 9a9cb924ffd08c5c3cad6c180c7d5fda32cf8759
Author: Norbert Preining <norbert@preining.info>
Date: Thu Sep 1 17:33:46 2016 +0900
include upstream fix to work with TL2016 (Closes: #836252)
---
debian/changelog | 6 ++++++
debian/patches/series | 1 +
debian/patches/upstream-2f209f9e-fix-for-tl2016 | 22 ++++++++++++++++++++++
3 files changed, 29 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index b935a95..640949e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+asymptote (2.38-2) unstable; urgency=medium
+
+ * include upstream fix to work with TL2016 (Closes: #836252)
+
+ -- Norbert Preining <preining@debian.org> Thu, 01 Sep 2016 17:33:03 +0900
+
asymptote (2.38-1) unstable; urgency=medium
[ Alexis Bienvenüe ]
diff --git a/debian/patches/series b/debian/patches/series
index f673579..861b18c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
#upstream-gsl2
#upstream-fix-mips-build-failure
honour-source-date-epoch
+upstream-2f209f9e-fix-for-tl2016
diff --git a/debian/patches/upstream-2f209f9e-fix-for-tl2016 b/debian/patches/upstream-2f209f9e-fix-for-tl2016
new file mode 100644
index 0000000..b85ae24
--- /dev/null
+++ b/debian/patches/upstream-2f209f9e-fix-for-tl2016
@@ -0,0 +1,22 @@
+upstream fix for TL2016 luatex and graphicx git commit 2f209f9ed847
+From: John Bowman <bowman@ualberta.ca>
+Date: Sun, 28 Aug 2016 23:36:02 -0600
+Subject: [PATCH] Implement general workarounds for recently introduced
+ graphicx and lualatex backwards incompatibilities.
+---
+ base/plain.asy | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+--- asymptote.orig/base/plain.asy
++++ asymptote/base/plain.asy
+@@ -280,3 +280,10 @@
+ }
+
+ cputime();
++
++texpreamble("\newdimen\paperwidth");
++texpreamble("\newdimen\paperheight");
++texpreamble("\ifx\pdfpagewidth\undefined\let\pdfpagewidth\paperwidth\fi");
++texpreamble("\ifx\pdfpageheight\undefined\let\pdfpageheight\paperheight\fi");
++if(settings.tex == "luatex") texpreamble("\input luatex85.sty");
++
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/asymptote.git
Reply to: