On Fri, 27 Jan 2017 03:03:24 +0400, Andrey Elizarov
<[email protected]> wrote:
> Hi ports@,
>
> update discount to most recent 2.2.2 version.
> Now with GitHub's "fencedcode" support! :)
> Working on amd64.
This diff was done against -stable tree. Here's one done against
current (not tested).
Cheers,
Daniel
Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/discount/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile 2 Sep 2016 22:20:50 -0000 1.13
+++ Makefile 26 Jan 2017 23:12:41 -0000
@@ -2,7 +2,7 @@
COMMENT = fast C implementation of Markdown
-DISTNAME = discount-2.2.0
+DISTNAME = discount-2.2.2
CATEGORIES = textproc
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/discount/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 2 Sep 2016 22:20:50 -0000 1.5
+++ distinfo 26 Jan 2017 23:12:41 -0000
@@ -1,2 +1,2 @@
-SHA256 (discount-2.2.0.tar.bz2) = slOVwpwsCINhmesuroe1bmtUXnf1+/khZ4qh3A3aufM=
-SIZE (discount-2.2.0.tar.bz2) = 88387
+SHA256 (discount-2.2.2.tar.bz2) = 7HkWcx4++FFjNjM/i3qp4q9R5XwAF7HgP6Q/G6aXj2Q=
+SIZE (discount-2.2.2.tar.bz2) = 89288
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/textproc/discount/patches/patch-Makefile_in,v
retrieving revision 1.4
diff -u -p -r1.4 patch-Makefile_in
--- patches/patch-Makefile_in 16 Jun 2015 12:14:43 -0000 1.4
+++ patches/patch-Makefile_in 26 Jan 2017 23:12:41 -0000
@@ -1,16 +1,16 @@
$OpenBSD: patch-Makefile_in,v 1.4 2015/06/16 12:14:43 jca Exp $
---- Makefile.in.orig Sat Jun 13 15:27:59 2015
-+++ Makefile.in Sat Jun 13 15:28:45 2015
-@@ -9,7 +9,7 @@ MANDIR=@mandir@
- LIBDIR=@libdir@
+--- Makefile.in.orig Wed Jan 18 21:42:06 2017
++++ Makefile.in Thu Jan 26 18:11:47 2017
+@@ -10,7 +10,7 @@ LIBDIR=@libdir@
INCDIR=@prefix@/include
+ @MK_PKGCONFIG@PKGDIR=$(LIBDIR)/pkgconfig
-PGMS=markdown
+PGMS=discount
SAMPLE_PGMS=mkd2html makepage
@THEME@SAMPLE_PGMS+= theme
MKDLIB=libmarkdown
-@@ -52,7 +52,8 @@ install.man:
+@@ -56,7 +56,8 @@ install.man:
@INSTALL_DIR@ $(DESTDIR)$(MANDIR)/man7
@INSTALL_DATA@ markdown.7 mkd-extensions.7 $(DESTDIR)$(MANDIR)/man7
@INSTALL_DIR@ $(DESTDIR)$(MANDIR)/man1
@@ -20,7 +20,7 @@ $OpenBSD: patch-Makefile_in,v 1.4 2015/0
install.everything: install install.man
-@@ -84,8 +85,8 @@ blocktags: mktags
+@@ -91,8 +92,8 @@ blocktags: mktags
mkd2html: mkd2html.o $(MKDLIB) mkdio.h
$(CC) $(CFLAGS) $(LFLAGS) -o mkd2html mkd2html.o -lmarkdown @LIBS@
Index: patches/patch-markdown_3
===================================================================
RCS file: /cvs/ports/textproc/discount/patches/patch-markdown_3,v
retrieving revision 1.4
diff -u -p -r1.4 patch-markdown_3
--- patches/patch-markdown_3 2 Sep 2016 22:20:50 -0000 1.4
+++ patches/patch-markdown_3 26 Jan 2017 23:12:41 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-markdown_3,v 1.4 2016/09/02 22:20:50 jasper Exp $
---- markdown.3.orig Sun Feb 21 17:11:34 2016
-+++ markdown.3 Fri Sep 2 23:18:46 2016
-@@ -130,7 +130,7 @@ and
+--- markdown.3.orig Wed Jan 18 21:42:06 2017
++++ markdown.3 Thu Jan 26 18:11:47 2017
+@@ -131,7 +131,7 @@ and
.Fn mkd_string
functions return a MMIOT* on success, null on failure.
.Sh SEE ALSO