Update to 0.10

Upstream changes:
0.10 Fri Aug  9 12:49:59 PDT 2013
	-  added with_html5_tags() to enable html5 block elements support (by @Songmu)

0.09 Mon Aug  5 10:08:05 PDT 2013
	-  fixed #14 "some files are missing in 0.08"

0.08 Sun Aug  4 23:50:18 PDT 2013
	- Reverted html5 tags support

0.07 Sun Aug  4 18:44:48 PDT 2013
	- Removed MYMETA (by @Songmu)
	- Added html5 tags support (by @Songmu)

0.06 Sat Jul 13 20:35:10 PDT 2013
	- Documentation improvements by @nailbowers
	- fixed an issue with is_utf8 boolean casting behavior

0.05 Tue Jul  9 14:40:27 PDT 2013
	- Support MKD_* flags (by @tokuhirom)
	- markdown() returns UTF-8 encoded string (by @Songmu)
	- upgraded Discount to 2.1.6 (by @Songmu)
This commit is contained in:
wen 2013-08-26 00:23:04 +00:00
parent da7c7f39fc
commit fa7a3b0b30
3 changed files with 14 additions and 16 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.6 2013/07/10 01:29:21 schmonz Exp $
# $NetBSD: Makefile,v 1.7 2013/08/26 00:23:04 wen Exp $
#
DISTNAME= Text-Markdown-Discount-0.04
DISTNAME= Text-Markdown-Discount-0.10
PKGNAME= p5-${DISTNAME}
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
@ -11,7 +11,7 @@ HOMEPAGE= http://search.cpan.org/dist/Text-Markdown-Discount/
COMMENT= Convert Markdown to (X)HTML
LICENSE= ${PERL5_LICENSE}
WRKSRC= ${WRKDIR}/sekimura-text-markdown-discount-c45fb0c
#WRKSRC= ${WRKDIR}/sekimura-text-markdown-discount-c45fb0c
PERL5_PACKLIST= auto/Text/Markdown/Discount/.packlist
USE_LANGUAGES= c

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.3 2013/07/10 01:29:21 schmonz Exp $
$NetBSD: distinfo,v 1.4 2013/08/26 00:23:04 wen Exp $
SHA1 (Text-Markdown-Discount-0.04.tar.gz) = 2b7142cc0155116c86a773d615d5237b5ecab78e
RMD160 (Text-Markdown-Discount-0.04.tar.gz) = 573967da08bf95360724c77391539bdaa02dce2f
Size (Text-Markdown-Discount-0.04.tar.gz) = 176644 bytes
SHA1 (patch-configure.sh) = 1bd30e048a8924bfda9b1286fd8c77fe4439eed0
SHA1 (Text-Markdown-Discount-0.10.tar.gz) = 3630249ac84f863c8ca05b0217db08c719d14a20
RMD160 (Text-Markdown-Discount-0.10.tar.gz) = b7711dbc22b3ade3cf728a2045dd6fef961db7cb
Size (Text-Markdown-Discount-0.10.tar.gz) = 176422 bytes
SHA1 (patch-configure.sh) = 07fb38334cd3511b4fa303ca794611f77ec2e0e9

View file

@ -1,9 +1,7 @@
$NetBSD: patch-configure.sh,v 1.2 2013/07/10 01:29:21 schmonz Exp $
$NetBSD: patch-configure.sh,v 1.3 2013/08/26 00:23:04 wen Exp $
Fix messed up configure.sh.
--- discount-2.1.5a/configure.sh.orig 2012-09-13 22:47:28.000000000 +0000
+++ discount-2.1.5a/configure.sh
--- discount/configure.sh.orig 2013-08-26 08:16:50.000000000 +0000
+++ discount/configure.sh
@@ -87,11 +87,11 @@ AC_C_INLINE
AC_SCALAR_TYPES sub hdr
AC_CHECK_BASENAME
@ -24,7 +22,7 @@ Fix messed up configure.sh.
fi
-if AC_CHECK_FUNCS strcasecmp; then
+if AC_CHECK_FUNCS 'strcasecmp("X", "x")'; then
+if AC_CHECK_FUNCS 'strcasecmp("X","X")'; then
:
elif AC_CHECK_FUNCS stricmp; then
AC_DEFINE strcasecmp stricmp
@ -33,7 +31,7 @@ Fix messed up configure.sh.
fi
-if AC_CHECK_FUNCS strncasecmp; then
+if AC_CHECK_FUNCS 'strncasecmp("X", "x", 1)'; then
+if AC_CHECK_FUNCS 'strcasecmp("X","X")'; then
:
elif AC_CHECK_FUNCS strnicmp; then
AC_DEFINE strncasecmp strnicmp
@ -42,7 +40,7 @@ Fix messed up configure.sh.
fi
-if AC_CHECK_FUNCS fchdir || AC_CHECK_FUNCS getcwd ; then
+if AC_CHECK_FUNCS 'fchdir(0)' || AC_CHECK_FUNCS 'getcwd((char *)0, 0)'; then
+if AC_CHECK_FUNCS 'fchdir(0)' || AC_CHECK_FUNCS getcwd ; then
AC_SUB 'THEME' ''
else
AC_SUB 'THEME' '#'