libgpg-error: update to 1.58
authorW. Michael Petullo <mike@flyn.org>
Thu, 8 Jan 2026 02:49:07 +0000 (20:49 -0600)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 9 Jan 2026 09:54:35 +0000 (10:54 +0100)
Fixes a syntax error in a non-DLL build.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
libs/libgpg-error/Makefile
libs/libgpg-error/patches/010-add-arc-support.patch [deleted file]

index dba7bf452f28e570835f2deeb75370ebfe9bbeb5..43066009009487e089e6fe8d4ebe6272395d6e16 100644 (file)
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libgpg-error
-PKG_VERSION:=1.55
+PKG_VERSION:=1.58
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://mirrors.dotsrc.org/gcrypt/libgpg-error \
                http://ring.ksc.gr.jp/archives/net/gnupg/libgpg-error \
                https://www.gnupg.org/ftp/gcrypt/libgpg-error
-PKG_HASH:=95b178148863f07d45df0cea67e880a79b9ef71f5d230baddc0071128516ef78
+PKG_HASH:=f943aea9a830a8bd938e5124b579efaece24a3225ff4c3d27611a80ce1260c27
 
 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
 PKG_LICENSE:=LGPL-2.1-or-later
diff --git a/libs/libgpg-error/patches/010-add-arc-support.patch b/libs/libgpg-error/patches/010-add-arc-support.patch
deleted file mode 100644 (file)
index 03387f8..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-From: Mylene Josserand <mylene.josserand at bootlin.com>
-
-DesignWare ARC Processors are a family of 32-bit CPUs from Synopsys.
-This change allows us to build for and use libgpg-error on ARC cores.
-
-These values were obtained from a test application executed on ARC
-in simulation this way:
-
-1. Instructions for cross-compilation used are here:
-   http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=README
-
-2. Commands used on host:
-   # build="$(build-aux/config.guess)"
-   # ./configure --prefix=build/tmp-uclibc/sysroots/nsimhs/usr/ --host=arc-oe-linux-uclibc --build=$build
-   # cd src
-   # make gen-posix-lock-obj
-
-3. Commands used on target:
-   # ./gen-posix-lock-obj
-
-Signed-off-by: Mylene Josserand <mylene.josserand at bootlin.com>
-Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
----
- src/Makefile.am                               |  1 +
- .../lock-obj-pub.arc-unknown-linux-gnu.h      | 23 +++++++++++++++++++
- 2 files changed, 24 insertions(+)
- create mode 100644 src/syscfg/lock-obj-pub.arc-unknown-linux-gnu.h
-
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -40,6 +40,7 @@ lock_obj_pub = \
-         syscfg/lock-obj-pub.aarch64-unknown-linux-gnu_ilp32.h \
-       syscfg/lock-obj-pub.aarch64-apple-darwin.h          \
-         syscfg/lock-obj-pub.alpha-unknown-linux-gnu.h       \
-+        syscfg/lock-obj-pub.arc-unknown-linux-gnu.h         \
-         syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h \
-         syscfg/lock-obj-pub.arm-unknown-linux-gnueabi.h     \
-       syscfg/lock-obj-pub.arm-apple-darwin.h              \
---- /dev/null
-+++ b/src/syscfg/lock-obj-pub.arc-unknown-linux-gnu.h
-@@ -0,0 +1,23 @@
-+## lock-obj-pub.arc-oe-linux-uclibc.h
-+## File created by gen-posix-lock-obj - DO NOT EDIT
-+## To be included by mkheader into gpg-error.h
-+
-+typedef struct
-+{
-+  long _vers;
-+  union {
-+    volatile char _priv[24];
-+    long _x_align;
-+    long *_xp_align;
-+  } u;
-+} gpgrt_lock_t;
-+
-+#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
-+                                    0,0,0,0,0,0,0,0, \
-+                                    0,0,0,0,0,0,0,0}}}
-+##
-+## Local Variables:
-+## mode: c
-+## buffer-read-only: t
-+## End:
-+##