pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/cmark



Module Name:    pkgsrc
Committed By:   cirnatdan
Date:           Mon Nov 29 10:44:16 UTC 2021

Modified Files:
        pkgsrc/textproc/cmark: Makefile distinfo
Added Files:
        pkgsrc/textproc/cmark/patches: patch-src_cmark.h

Log Message:
cmark: Fix building dependencies with strict function prototypes


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/cmark/Makefile \
    pkgsrc/textproc/cmark/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/cmark/patches/patch-src_cmark.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/cmark/Makefile
diff -u pkgsrc/textproc/cmark/Makefile:1.10 pkgsrc/textproc/cmark/Makefile:1.11
--- pkgsrc/textproc/cmark/Makefile:1.10 Sat Oct  9 19:20:08 2021
+++ pkgsrc/textproc/cmark/Makefile      Mon Nov 29 10:44:16 2021
@@ -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/}
 
Index: pkgsrc/textproc/cmark/distinfo
diff -u pkgsrc/textproc/cmark/distinfo:1.10 pkgsrc/textproc/cmark/distinfo:1.11
--- pkgsrc/textproc/cmark/distinfo:1.10 Tue Oct 26 11:21:47 2021
+++ pkgsrc/textproc/cmark/distinfo      Mon Nov 29 10:44:16 2021
@@ -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

Added files:

Index: pkgsrc/textproc/cmark/patches/patch-src_cmark.h
diff -u /dev/null pkgsrc/textproc/cmark/patches/patch-src_cmark.h:1.1
--- /dev/null   Mon Nov 29 10:44:16 2021
+++ pkgsrc/textproc/cmark/patches/patch-src_cmark.h     Mon Nov 29 10:44:16 2021
@@ -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