cmark: Fix building dependencies with strict function prototypesdiff -r1.10 -r1.11 pkgsrc/textproc/cmark/Makefile
(cirnatdan)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2021/10/09 19:20:08 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2021/11/29 10:44:16 cirnatdan Exp $ | |
2 | 2 | |||
3 | DISTNAME= cmark-0.30.2 | 3 | DISTNAME= cmark-0.30.2 | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= textproc | 5 | CATEGORIES= textproc | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=jgm/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=jgm/} | |
6 | 7 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= https://github.com/commonmark/cmark | 9 | HOMEPAGE= https://github.com/commonmark/cmark | |
9 | COMMENT= CommonMark parsing and rendering library and program in C | 10 | COMMENT= CommonMark parsing and rendering library and program in C | |
10 | LICENSE= 2-clause-bsd | 11 | LICENSE= 2-clause-bsd | |
11 | 12 | |||
12 | USE_CMAKE= yes | 13 | USE_CMAKE= yes | |
13 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
14 | USE_TOOLS+= pkg-config | 15 | USE_TOOLS+= pkg-config | |
15 | CONFIGURE_DIRS= build | 16 | CONFIGURE_DIRS= build | |
16 | CMAKE_ARG_PATH= ${WRKSRC} | 17 | CMAKE_ARG_PATH= ${WRKSRC} |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2021/10/26 11:21:47 nia Exp $ | 1 | $NetBSD: distinfo,v 1.11 2021/11/29 10:44:16 cirnatdan Exp $ | |
2 | 2 | |||
3 | BLAKE2s (cmark-0.30.2.tar.gz) = b164ae5a797abba43c6829af282e271abe94ccecd6a347c2e8216e33320ec2fb | 3 | BLAKE2s (cmark-0.30.2.tar.gz) = b164ae5a797abba43c6829af282e271abe94ccecd6a347c2e8216e33320ec2fb | |
4 | SHA512 (cmark-0.30.2.tar.gz) = aaa9b2103cf89c522f9b42a2b43c07ecf75e07eb42214c0be5de17682ea1faf9c85e3dd28fe91d446b69a34f9980bcab6e276a99b42540c40c9ee1481b3a0d17 | 4 | SHA512 (cmark-0.30.2.tar.gz) = aaa9b2103cf89c522f9b42a2b43c07ecf75e07eb42214c0be5de17682ea1faf9c85e3dd28fe91d446b69a34f9980bcab6e276a99b42540c40c9ee1481b3a0d17 | |
5 | Size (cmark-0.30.2.tar.gz) = 246033 bytes | 5 | Size (cmark-0.30.2.tar.gz) = 246033 bytes | |
6 | SHA1 (patch-src_CMakeLists.txt) = 6403931bb8c07738d4e8c0f1fc96db67c04addb4 | 6 | SHA1 (patch-src_CMakeLists.txt) = 6403931bb8c07738d4e8c0f1fc96db67c04addb4 | |
7 | SHA1 (patch-src_cmark.h) = 4cc0740bc605cf701f06bf9cf1ec68348366e891 |
$NetBSD: patch-src_cmark.h,v 1.1 2021/11/29 10:44:16 cirnatdan Exp $
Fix "strict" prototype
Submitted upstream: https://github.com/commonmark/cmark/pull/430
--- src/cmark.h.orig 2021-09-24 15:56:14.000000000 +0000
+++ src/cmark.h
@@ -102,7 +102,7 @@ typedef struct cmark_mem {
/** Returns a pointer to the default memory allocator.
*/
-CMARK_EXPORT cmark_mem *cmark_get_default_mem_allocator();
+CMARK_EXPORT cmark_mem *cmark_get_default_mem_allocator(void);
/**
* ## Creating and Destroying Nodes