1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

security/p11-kit: update to 0.23.8

Include two patches from upstream for:

 * Fixing build without debug
 * Adding missing stdint.h include to fix build on FreeBSD 10.x
This commit is contained in:
Roman Bogorodskiy 2017-09-03 07:21:13 +00:00
parent 65e92bdc6c
commit 49a0008ddf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449174
4 changed files with 27 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= p11-kit
PORTVERSION= 0.23.7
PORTVERSION= 0.23.8
CATEGORIES= security devel
MASTER_SITES= https://github.com/p11-glue/p11-kit/releases/download/${PORTVERSION}/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1496461827
SHA256 (p11-kit-0.23.7.tar.gz) = 988e7c86f2641b36702503481292ef0686e6b1c39d80b215699b6dbf1024be41
SIZE (p11-kit-0.23.7.tar.gz) = 1087009
TIMESTAMP = 1503207736
SHA256 (p11-kit-0.23.8.tar.gz) = 4ba134e5fe4b62bcaf7a2d66841767d9d23e875b977bba6939367a9f400b133f
SIZE (p11-kit-0.23.8.tar.gz) = 1090814

View File

@ -0,0 +1,10 @@
--- common/compat.c.orig 2017-08-26 16:30:23 UTC
+++ common/compat.c
@@ -51,6 +51,7 @@
#include <dirent.h>
#include <errno.h>
#include <stdlib.h>
+#include <stdint.h>
#include <string.h>
/*-

View File

@ -0,0 +1,13 @@
--- common/debug.h.orig 2017-06-16 14:55:26 UTC
+++ common/debug.h
@@ -144,6 +144,10 @@ void p11_debug_precond (const
#else /* !defined (WITH_DEBUG) */
+#undef p11_debug
+#define p11_debug(format, ...) \
+ do {} while (false)
+
#undef p11_debug_err
#define p11_debug_err(errnum, format, ...) \
do {} while (false)