diff options
author | spz <spz@pkgsrc.org> | 2021-01-27 19:40:46 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2021-01-27 19:40:46 +0000 |
commit | b5ff38c99b974609a802a851ed52c0c027998b63 (patch) | |
tree | 14984d81cb334abf095088afb0f20c20e1b748b9 | |
parent | 863773222fee6d6673fa3ea1e281cf669a6144fe (diff) | |
download | pkgsrc-b5ff38c99b974609a802a851ed52c0c027998b63.tar.gz |
Pullup ticket #6414 - requested by sborrill
security/p11-kit: build fix for FreeBSD
Revisions pulled up:
- security/p11-kit/Makefile 1.19
- security/p11-kit/distinfo 1.14
- security/p11-kit/patches/patch-p11-kit_lists.c 1.1
-------------------------------------------------------------------
Module Name: pkgsrc
Committed By: triaxx
Date: Fri Jan 8 21:09:08 UTC 2021
Modified Files:
pkgsrc/security/p11-kit: Makefile distinfo
Added Files:
pkgsrc/security/p11-kit/patches: patch-p11-kit_lists.c
Log Message:
p11-kit: Fix build on FreeBSD
The build step failed on FreeBSD due to undeclared SIZE_MAX. This error
has been fixed upstream (https://github.com/p11-glue/p11-kit/commit/507c394)
and the patch could be removed at the next update.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/security/p11-kit/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/security/p11-kit/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/p11-kit/patches/patch-p11-kit_lists.c
-rw-r--r-- | security/p11-kit/Makefile | 3 | ||||
-rw-r--r-- | security/p11-kit/distinfo | 5 | ||||
-rw-r--r-- | security/p11-kit/patches/patch-p11-kit_lists.c | 15 |
3 files changed, 20 insertions, 3 deletions
diff --git a/security/p11-kit/Makefile b/security/p11-kit/Makefile index 041f2d4004c..efbc9374a45 100644 --- a/security/p11-kit/Makefile +++ b/security/p11-kit/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.17.4.1 2021/01/04 17:27:43 bsiegert Exp $ +# $NetBSD: Makefile,v 1.17.4.2 2021/01/27 19:40:46 spz Exp $ DISTNAME= p11-kit-0.23.22 +PKGREVISION= 1 CATEGORIES= security #MASTER_SITES= http://p11-glue.freedesktop.org/releases/ MASTER_SITES+= ${MASTER_SITE_GITHUB:=p11-glue/} diff --git a/security/p11-kit/distinfo b/security/p11-kit/distinfo index 40b94af5c6e..4a375547a70 100644 --- a/security/p11-kit/distinfo +++ b/security/p11-kit/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.12.4.1 2021/01/04 17:27:43 bsiegert Exp $ +$NetBSD: distinfo,v 1.12.4.2 2021/01/27 19:40:46 spz Exp $ SHA1 (p11-kit-0.23.22.tar.xz) = 339e5163ed50a9984a74739b9207ea8cd77fa7e2 RMD160 (p11-kit-0.23.22.tar.xz) = 35bc18cde9610ceb1a4c1c167360b7ef4a81288d SHA512 (p11-kit-0.23.22.tar.xz) = 098819e6ca4ad9cc2a0bc2e478aea67354d051a4f03e6c7d75d13d2469b6dc7654f26b15530052f6ed51acb35531c2539e0f971b31e29e6673e857c903afb080 Size (p11-kit-0.23.22.tar.xz) = 830016 bytes -SHA1 (patch-Makefile.in) = 1393b1c8892e90362575d5d325a583921f629b3c SHA1 (patch-common_compat.c) = bdcb10cebe5e7755c81f88ef033b9dfecd7a1aad +SHA1 (patch-Makefile.in) = 1393b1c8892e90362575d5d325a583921f629b3c +SHA1 (patch-p11-kit_lists.c) = 5834dd7cb09de7776205dac0a21a31a5ad5f3dae diff --git a/security/p11-kit/patches/patch-p11-kit_lists.c b/security/p11-kit/patches/patch-p11-kit_lists.c new file mode 100644 index 00000000000..d72e4b2e969 --- /dev/null +++ b/security/p11-kit/patches/patch-p11-kit_lists.c @@ -0,0 +1,15 @@ +$NetBSD: patch-p11-kit_lists.c,v 1.1.2.2 2021/01/27 19:40:46 spz Exp $ + +Add missing header for SIZE_MAX on FreeBSD. +https://github.com/p11-glue/p11-kit/commit/507c394 + +--- p11-kit/lists.c.orig 2021-01-08 21:05:52.577818000 +0100 ++++ p11-kit/lists.c +@@ -39,6 +39,7 @@ + + #include <assert.h> + #include <ctype.h> ++#include <stdint.h> + #include <string.h> + #include <stdio.h> + #include <stdlib.h> |