security/libgpg-error: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2025-01-07 13:54:15 +01:00
parent f87645990f
commit e3d32542d6
4 changed files with 5 additions and 35 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= libgpg-error
DISTVERSION= 1.50
DISTVERSION= 1.51
CATEGORIES= security devel
MASTER_SITES= GNUPG

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1718990852
SHA256 (libgpg-error-1.50.tar.bz2) = 69405349e0a633e444a28c5b35ce8f14484684518a508dc48a089992fe93e20a
SIZE (libgpg-error-1.50.tar.bz2) = 1082003
TIMESTAMP = 1732364261
SHA256 (libgpg-error-1.51.tar.bz2) = be0f1b2db6b93eed55369cdf79f19f72750c8c7c39fc20b577e724545427e6b2
SIZE (libgpg-error-1.51.tar.bz2) = 1085510

View file

@ -1,30 +0,0 @@
From a59e902b887fd92337c9728f668cf9c89da3957a Mon Sep 17 00:00:00 2001
From: Werner Koch <wk@gnupg.org>
Date: Thu, 20 Jun 2024 12:05:15 +0200
Subject: [PATCH] core: Declare environ for macOS and others.
* src/spawn-posix.c (environ): Declare.
--
GnuPG-bug-id: 7169
---
src/spawn-posix.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/spawn-posix.c b/src/spawn-posix.c
index 7de02a9..96f1536 100644
--- src/spawn-posix.c
+++ src/spawn-posix.c
@@ -57,6 +57,9 @@
#include "gpgrt-int.h"
+/* (Only glibc's unistd.h declares this iff _GNU_SOURCE is used.) */
+extern char **environ;
+
/* Definition for the gpgrt_spawn_actions_t. Note that there is a
* different one for Windows. */
--
2.30.2

View file

@ -7,7 +7,7 @@ include/gpgrt.h
lib/libgpg-error.a
lib/libgpg-error.so
lib/libgpg-error.so.0
lib/libgpg-error.so.0.37.0
lib/libgpg-error.so.0.38.0
libdata/pkgconfig/gpg-error.pc
share/man/man1/gpg-error-config.1.gz
share/man/man1/gpgrt-config.1.gz