aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/libgpg-error/Makefile5
-rw-r--r--security/libgpg-error/distinfo6
-rw-r--r--security/libgpg-error/files/patch-git-01-a59e902b887fd92337c9728f668cf9c89da3957a30
-rw-r--r--security/libgpg-error/pkg-plist2
4 files changed, 36 insertions, 7 deletions
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index efd887cf2522..1e4f972af3a6 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libgpg-error
-DISTVERSION= 1.49
+DISTVERSION= 1.50
CATEGORIES= security devel
MASTER_SITES= GNUPG
@@ -17,12 +17,11 @@ CPE_VENDOR= gnupg
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
+INSTALL_TARGET= install-strip
DOCS= AUTHORS ChangeLog NEWS README
INFO= gpgrt
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --enable-static=yes \
--enable-install-gpg-error-config
diff --git a/security/libgpg-error/distinfo b/security/libgpg-error/distinfo
index d49f921a9747..70ab0dc9d42f 100644
--- a/security/libgpg-error/distinfo
+++ b/security/libgpg-error/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1714755898
-SHA256 (libgpg-error-1.49.tar.bz2) = 8b79d54639dbf4abc08b5406fb2f37e669a2dec091dd024fb87dd367131c63a9
-SIZE (libgpg-error-1.49.tar.bz2) = 1081175
+TIMESTAMP = 1718990852
+SHA256 (libgpg-error-1.50.tar.bz2) = 69405349e0a633e444a28c5b35ce8f14484684518a508dc48a089992fe93e20a
+SIZE (libgpg-error-1.50.tar.bz2) = 1082003
diff --git a/security/libgpg-error/files/patch-git-01-a59e902b887fd92337c9728f668cf9c89da3957a b/security/libgpg-error/files/patch-git-01-a59e902b887fd92337c9728f668cf9c89da3957a
new file mode 100644
index 000000000000..5bcf5647d946
--- /dev/null
+++ b/security/libgpg-error/files/patch-git-01-a59e902b887fd92337c9728f668cf9c89da3957a
@@ -0,0 +1,30 @@
+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
+
diff --git a/security/libgpg-error/pkg-plist b/security/libgpg-error/pkg-plist
index 89b33dd70cac..13f79befecbf 100644
--- a/security/libgpg-error/pkg-plist
+++ b/security/libgpg-error/pkg-plist
@@ -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.36.0
+lib/libgpg-error.so.0.37.0
libdata/pkgconfig/gpg-error.pc
share/man/man1/gpg-error-config.1.gz
share/man/man1/gpgrt-config.1.gz