dev-libs/libassuan: Sync with Gentoo

It's from Gentoo commit f79fb97e6bcb4a812383757552a8d5c58cccaef1.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Flatcar Buildbot 2025-07-21 07:11:20 +00:00 committed by Mathieu Tortuyaux
parent 54d9287c17
commit 6465d28807
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8
3 changed files with 40 additions and 3 deletions

View File

@ -0,0 +1,31 @@
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libassuan.git;a=commitdiff;h=b8148b4f5735e1215eb72f208e1ae2891213247e
From b8148b4f5735e1215eb72f208e1ae2891213247e Mon Sep 17 00:00:00 2001
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Thu, 11 Jul 2024 09:57:31 +0900
Subject: [PATCH] Fix typo in assuan.h.
* src/assuan.h.in (ASSUAN_NO_NPTH_SYSTEM_HOOKS_ANY_MORE): Fix.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
---
src/assuan.h.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/assuan.h.in b/src/assuan.h.in
index 809a59d..69e3c3b 100644
--- a/src/assuan.h.in
+++ b/src/assuan.h.in
@@ -566,7 +566,7 @@ assuan_pid_t __assuan_waitpid (assuan_context_t ctx, assuan_pid_t pid,
int nowait, int *status, int options);
#if defined(LIBASSUAN_API_REQUESTED) && LIBASSUAN_API_REQUESTED >= 3
-#defined ASSUAN_NO_NPTH_SYSTEM_HOOKS_ANY_MORE 1
+#define ASSUAN_NO_NPTH_SYSTEM_HOOKS_ANY_MORE 1
#endif
#if defined(ASSUAN_REALLY_REQUIRE_V2_NPTH_SYSTEM_HOOKS) \
--
2.30.2

View File

@ -21,11 +21,14 @@ LICENSE="GPL-3 LGPL-2.1"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
# Note: On each bump, update dep bounds on each version from configure.ac!
RDEPEND=">=dev-libs/libgpg-error-1.33"
DEPEND="${RDEPEND}"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gnupg )"
PATCHES=(
"${FILESDIR}"/${PN}-3.0.0-fix-typo.patch
)
src_prepare() {
default
# for Solaris shared libraries

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -21,11 +21,14 @@ LICENSE="GPL-3 LGPL-2.1"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
# Note: On each bump, update dep bounds on each version from configure.ac!
RDEPEND=">=dev-libs/libgpg-error-1.33"
DEPEND="${RDEPEND}"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gnupg )"
PATCHES=(
"${FILESDIR}"/${PN}-3.0.0-fix-typo.patch
)
src_prepare() {
default
# for Solaris shared libraries