pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/p11-kit



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Fri Jul 13 11:21:29 UTC 2018

Modified Files:
        pkgsrc/security/p11-kit: Makefile

Log Message:
reallocarray exists in NetBSD's libc, so AC_CHECK_LIB will find it.
For some reason it is hidden in stdlib.h by _OPENBSD_SOURCE, so add
that to p11-kit's Makefile to avoid coredumps. Fixes PR pkg/53426.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/p11-kit/Makefile

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

Modified files:

Index: pkgsrc/security/p11-kit/Makefile
diff -u pkgsrc/security/p11-kit/Makefile:1.8 pkgsrc/security/p11-kit/Makefile:1.9
--- pkgsrc/security/p11-kit/Makefile:1.8        Fri Jul  6 15:33:39 2018
+++ pkgsrc/security/p11-kit/Makefile    Fri Jul 13 11:21:29 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2018/07/06 15:33:39 prlw1 Exp $
+# $NetBSD: Makefile,v 1.9 2018/07/13 11:21:29 prlw1 Exp $
 
 DISTNAME=      p11-kit-0.23.12
+PKGREVISION=   1
 CATEGORIES=    security
 #MASTER_SITES= http://p11-glue.freedesktop.org/releases/
 MASTER_SITES+= ${MASTER_SITE_GITHUB:=p11-glue/}
@@ -23,6 +24,9 @@ USE_TOOLS+=   pkg-config
 # dirfd(3)
 CFLAGS.NetBSD+=        -D_NETBSD_SOURCE
 
+# reallocarray(3)
+CFLAGS.NetBSD+=        -D_OPENBSD_SOURCE
+
 CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
 LDFLAGS.SunOS+=        -lsocket -lnsl
 



Home | Main Index | Thread Index | Old Index