aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdocml/shared-libmandoc.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 00:16:07 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-26 09:12:59 +0000
commita33e421da04f54e4a9398da416982720bbae84eb (patch)
tree5e1c41572146a29b0b4baa19852f5ac79bfda2c4 /main/mdocml/shared-libmandoc.patch
parentb9db7fe667705f60848dc816237d6958de7fe534 (diff)
downloadaports-a33e421da04f54e4a9398da416982720bbae84eb.tar.bz2
aports-a33e421da04f54e4a9398da416982720bbae84eb.tar.xz
main/mdocml: upgrade to 1.14.5
Diffstat (limited to 'main/mdocml/shared-libmandoc.patch')
-rw-r--r--main/mdocml/shared-libmandoc.patch23
1 files changed, 13 insertions, 10 deletions
diff --git a/main/mdocml/shared-libmandoc.patch b/main/mdocml/shared-libmandoc.patch
index 819968ee6d..0327138382 100644
--- a/main/mdocml/shared-libmandoc.patch
+++ b/main/mdocml/shared-libmandoc.patch
@@ -1,8 +1,10 @@
---- mandoc-1.14.2/Makefile.orig
-+++ mandoc-1.14.2/Makefile
-@@ -347,9 +347,13 @@
- mdoc.h.html \
- roff.h.html
+diff --git a/Makefile b/Makefile
+index f4e2954..d153224 100644
+--- a/Makefile
++++ b/Makefile
+@@ -367,9 +367,13 @@ WWW_INCS = eqn.h.html \
+ tbl_int.h.html \
+ tbl_parse.h.html
+LIBMANDOC = libmandoc.so
+MANDOCLIB = -L. -lmandoc
@@ -14,7 +16,7 @@
# === DEPENDENCY HANDLING ==============================================
-@@ -372,7 +376,7 @@
+@@ -392,7 +396,7 @@ distclean: clean
rm -f Makefile.local config.h config.h.old config.log config.log.old
clean:
@@ -23,7 +25,7 @@
rm -f mandoc $(MAIN_OBJS)
rm -f man.cgi $(CGI_OBJS)
rm -f mandocd catman catman.o $(MANDOCD_OBJS)
-@@ -411,11 +415,11 @@
+@@ -431,11 +435,11 @@ base-install: mandoc demandoc soelim
$(INSTALL_MAN) makewhatis.8 \
$(DESTDIR)$(MANDIR)/man8/$(BINM_MAKEWHATIS).8
@@ -34,10 +36,10 @@
mkdir -p $(DESTDIR)$(MANDIR)/man3
- $(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR)
+ $(INSTALL_LIB) $(LIBMANDOC) $(DESTDIR)$(LIBDIR)
- $(INSTALL_LIB) man.h mandoc.h mandoc_aux.h mdoc.h roff.h \
- $(DESTDIR)$(INCLUDEDIR)
+ $(INSTALL_LIB) eqn.h man.h mandoc.h mandoc_aux.h mandoc_parse.h \
+ mdoc.h roff.h tbl.h $(DESTDIR)$(INCLUDEDIR)
$(INSTALL_MAN) mandoc.3 mandoc_escape.3 mandoc_malloc.3 \
-@@ -488,23 +492,23 @@
+@@ -511,23 +515,23 @@ Makefile.local config.h: configure $(TESTSRCS)
@echo "$@ is out of date; please run ./configure"
@exit 1
@@ -71,3 +73,4 @@
soelim: $(SOELIM_OBJS)
$(CC) -o $@ $(LDFLAGS) $(SOELIM_OBJS)
+