pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/cmark cmark: Fix building dependencies with s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/958b7676417c
branches:  trunk
changeset: 770323:958b7676417c
user:      cirnatdan <cirnatdan%pkgsrc.org@localhost>
date:      Mon Nov 29 10:44:16 2021 +0000

description:
cmark: Fix building dependencies with strict function prototypes

diffstat:

 textproc/cmark/Makefile                  |   3 ++-
 textproc/cmark/distinfo                  |   3 ++-
 textproc/cmark/patches/patch-src_cmark.h |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 5bcdea2be6a5 -r 958b7676417c textproc/cmark/Makefile
--- a/textproc/cmark/Makefile   Mon Nov 29 10:39:58 2021 +0000
+++ b/textproc/cmark/Makefile   Mon Nov 29 10:44:16 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2021/10/09 19:20:08 adam Exp $
+# $NetBSD: Makefile,v 1.11 2021/11/29 10:44:16 cirnatdan Exp $
 
 DISTNAME=      cmark-0.30.2
+PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jgm/}
 
diff -r 5bcdea2be6a5 -r 958b7676417c textproc/cmark/distinfo
--- a/textproc/cmark/distinfo   Mon Nov 29 10:39:58 2021 +0000
+++ b/textproc/cmark/distinfo   Mon Nov 29 10:44:16 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 11:21:47 nia Exp $
+$NetBSD: distinfo,v 1.11 2021/11/29 10:44:16 cirnatdan Exp $
 
 BLAKE2s (cmark-0.30.2.tar.gz) = b164ae5a797abba43c6829af282e271abe94ccecd6a347c2e8216e33320ec2fb
 SHA512 (cmark-0.30.2.tar.gz) = aaa9b2103cf89c522f9b42a2b43c07ecf75e07eb42214c0be5de17682ea1faf9c85e3dd28fe91d446b69a34f9980bcab6e276a99b42540c40c9ee1481b3a0d17
 Size (cmark-0.30.2.tar.gz) = 246033 bytes
 SHA1 (patch-src_CMakeLists.txt) = 6403931bb8c07738d4e8c0f1fc96db67c04addb4
+SHA1 (patch-src_cmark.h) = 4cc0740bc605cf701f06bf9cf1ec68348366e891
diff -r 5bcdea2be6a5 -r 958b7676417c textproc/cmark/patches/patch-src_cmark.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/cmark/patches/patch-src_cmark.h  Mon Nov 29 10:44:16 2021 +0000
@@ -0,0 +1,16 @@
+$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



Home | Main Index | Thread Index | Old Index