aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ghc-pandoc-fix-latex-test.patch
blob: b38476882d977b54d80d7db6295014ebf6f631b8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This patch is taken from upstream.  It fixes a LaTeX test that is broken due
to using a Skylighting version greater than or equal to 0.8.1.1.

From 2cd1c7b30f200d18f1f1bdef1671369e1ad303ed Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Thu, 13 Jun 2019 19:33:52 -0700
Subject: [PATCH] Update test for skylighting 0.8.1.1.

---
 test/lhs-test.latex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index 0442db5ca..a456995a3 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -94,9 +94,9 @@ return a single value:
 
 \begin{Shaded}
 \begin{Highlighting}[]
-\OtherTok{unsplit ::}\NormalTok{ (}\DataTypeTok{Arrow}\NormalTok{ a) }\OtherTok{=>}\NormalTok{ (b }\OtherTok{->}\NormalTok{ c }\OtherTok{->}\NormalTok{ d) }\OtherTok{->}\NormalTok{ a (b, c) d}
+\OtherTok{unsplit ::}\NormalTok{ (}\DataTypeTok{Arrow}\NormalTok{ a) }\OtherTok{=>}\NormalTok{ (b }\OtherTok{{-}>}\NormalTok{ c }\OtherTok{{-}>}\NormalTok{ d) }\OtherTok{{-}>}\NormalTok{ a (b, c) d}
 \NormalTok{unsplit }\OtherTok{=}\NormalTok{ arr }\OperatorTok{.} \FunctionTok{uncurry}
-          \CommentTok{-- arr (\textbackslash{}op (x,y) -> x `op` y)}
+          \CommentTok{{-}{-} arr (\textbackslash{}op (x,y) {-}> x \textasciigrave{}op\textasciigrave{} y)}
 \end{Highlighting}
 \end{Shaded}
 
-- 
2.23.0

ts]: Change C++ header install location to include/c++. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Morgan Smith 2021-03-10gnu: sdcc: Update to 4.1.0....* gnu/packages/embedded.scm (sdcc): Update to 4.1.0. * gnu/packages/patches/sdcc-disable-non-free-code.patch: Update to match new version. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Simon South 2021-02-26gnu: Add agent-proxy....* gnu/packages/embedded.scm (agent-proxy): New variable. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net> Clément Lassieur 2021-02-08gnu: Add python-psptool....* gnu/packages/embedded.scm (python-psptool): New variable. Julien Lepiller