aboutsummaryrefslogtreecommitdiffstats
path: root/community/lasem/install-mathml-headers.patch
blob: 4283941ac41fdb33fc549b37c33c54a0d4486afc (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
From: Jakub Jirutka <jakub@jirutka.cz>
Date: Sat, 25 Mar 2017 00:35:00 +0100
Subject: [PATCH] Install MathML headers

To be honest, I have no clue why MathML headers are not installed by default.
However, ruby-mathematical needs them and I'm creating this aport for
ruby-mathematical, so I'm adding them.

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -269,7 +269,7 @@
 liblasem_@LASEM_API_VERSION@_la_SOURCES +=  $(LASEM_MATHML_HDRS) $(LASEM_SVG_HDRS)
 liblasem_@LASEM_API_VERSION@_la_SOURCES += lsmmathmlenumtypes.h lsmsvgenumtypes.h
 
-liblasem_@LASEM_API_VERSION@_la_HEADERS = $(LASEM_DOM_HDRS)
+liblasem_@LASEM_API_VERSION@_la_HEADERS = $(LASEM_DOM_HDRS) $(LASEM_MATHML_HDRS)
 liblasem_@LASEM_API_VERSION@_la_HEADERS += lsmdomenumtypes.h
 
 liblasem_@LASEM_API_VERSION@_la_LDFLAGS = -version-info $(LASEM_LIBTOOL_VERSION)
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -710,7 +710,7 @@
 	$(LASEM_MATHML_HDRS) $(LASEM_SVG_HDRS) lsmmathmlenumtypes.h \
 	lsmsvgenumtypes.h
 liblasem_@LASEM_API_VERSION@_la_HEADERS = $(LASEM_DOM_HDRS) \
-	lsmdomenumtypes.h
+	$(LASEM_MATHML_HDRS) lsmdomenumtypes.h
 liblasem_@LASEM_API_VERSION@_la_LDFLAGS = -version-info $(LASEM_LIBTOOL_VERSION)
 lasem_render_@LASEM_API_VERSION@_SOURCES = \
 	lasemrender.c