packages/libs/p11-kit/patches/010-stdint.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

22 lines
652 B
Diff

From 507c394cfcf4edffc5e4450c5d737e545c26b857 Mon Sep 17 00:00:00 2001
From: Daniel Engberg <daniel.engberg.lists@pyret.net>
Date: Sat, 12 Dec 2020 18:56:38 +0100
Subject: [PATCH] p11-kit/lists.c: Add stdint.h to fix compilation
Add stdint.h otherwise compilation fails on FreeBSD 13-CURRENT with "use of undeclared identifier 'SIZE_MAX'"
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
---
p11-kit/lists.c | 1 +
1 file changed, 1 insertion(+)
--- a/p11-kit/lists.c
+++ b/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>