git: 3558e704325b - main - security/opensc: try to fix build on -CURRENT.

From: Alex Dupre <ale_at_FreeBSD.org>
Date: Mon, 13 Mar 2023 12:00:52 UTC
The branch main has been updated by ale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3558e704325bc36a609fbf53e769a0b373ce5618

commit 3558e704325bc36a609fbf53e769a0b373ce5618
Author:     Alex Dupre <ale@FreeBSD.org>
AuthorDate: 2023-03-13 12:00:26 +0000
Commit:     Alex Dupre <ale@FreeBSD.org>
CommitDate: 2023-03-13 12:00:26 +0000

    security/opensc: try to fix build on -CURRENT.
---
 .../opensc/files/patch-src_libopensc_card-openpgp.c  | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/security/opensc/files/patch-src_libopensc_card-openpgp.c b/security/opensc/files/patch-src_libopensc_card-openpgp.c
new file mode 100644
index 000000000000..7c840b899a44
--- /dev/null
+++ b/security/opensc/files/patch-src_libopensc_card-openpgp.c
@@ -0,0 +1,20 @@
+--- src/libopensc/card-openpgp.c.orig	2023-03-13 11:54:48 UTC
++++ src/libopensc/card-openpgp.c
+@@ -129,7 +129,7 @@ static pgp_ec_curves_t	ec_curves_gnuk[] = {
+ 
+ static int		pgp_get_card_features(sc_card_t *card);
+ static int		pgp_finish(sc_card_t *card);
+-static void		pgp_iterate_blobs(pgp_blob_t *, void (*func)());
++static void		pgp_iterate_blobs(pgp_blob_t *, void (*func)(pgp_blob_t *));
+ 
+ static int		pgp_get_blob(sc_card_t *card, pgp_blob_t *blob,
+ 				 unsigned int id, pgp_blob_t **ret);
+@@ -1150,7 +1150,7 @@ pgp_free_blob(pgp_blob_t *blob)
+  * Internal: iterate through the blob tree, calling a function for each blob.
+  */
+ static void
+-pgp_iterate_blobs(pgp_blob_t *blob, void (*func)())
++pgp_iterate_blobs(pgp_blob_t *blob, void (*func)(pgp_blob_t *))
+ {
+ 	if (blob) {
+ 		pgp_blob_t *child = blob->files;