Received: by mail.netbsd.org (Postfix, from userid 605) id 6A70D852A3; Sat, 13 Jan 2024 04:16:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 96CD984F04 for ; Sat, 13 Jan 2024 04:16:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id VD3GyvHgIKNJ for ; Sat, 13 Jan 2024 04:16:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0DE1584CF4 for ; Sat, 13 Jan 2024 04:16:41 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 07BBAFA42; Sat, 13 Jan 2024 04:16:41 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_170511940124700" MIME-Version: 1.0 Date: Sat, 13 Jan 2024 04:16:41 +0000 From: "Taylor R Campbell" Subject: CVS commit: pkgsrc/security/libgpg-error To: pkgsrc-changes@NetBSD.org Reply-To: riastradh@netbsd.org X-Mailer: log_accum Message-Id: <20240113041641.07BBAFA42@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_170511940124700 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: riastradh Date: Sat Jan 13 04:16:40 UTC 2024 Modified Files: pkgsrc/security/libgpg-error: distinfo Added Files: pkgsrc/security/libgpg-error/patches: patch-src_syscfg_lock-obj-pub.netbsdelf.h Log Message: security/libgpg-error: Allow cross-build on older NetBSD ports. These ones are identified as `netbsdelf' rather than `netbsd' owing to their prior a.out incarnations. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 pkgsrc/security/libgpg-error/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/security/libgpg-error/patches/patch-src_syscfg_lock-obj-pub.netbsdelf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_170511940124700 Content-Disposition: inline Content-Length: 1953 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/libgpg-error/distinfo diff -u pkgsrc/security/libgpg-error/distinfo:1.60 pkgsrc/security/libgpg-error/distinfo:1.61 --- pkgsrc/security/libgpg-error/distinfo:1.60 Sat Jan 13 04:16:24 2024 +++ pkgsrc/security/libgpg-error/distinfo Sat Jan 13 04:16:40 2024 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.60 2024/01/13 04:16:24 riastradh Exp $ +$NetBSD: distinfo,v 1.61 2024/01/13 04:16:40 riastradh Exp $ BLAKE2s (libgpg-error-1.47.tar.bz2) = 91e8ad1fa6a7f42b68a9dca5b285c90bf9f3def9bdae1c23767c9bc29e5658fd SHA512 (libgpg-error-1.47.tar.bz2) = bbb4b15dae75856ee5b1253568674b56ad155524ae29a075cb5b0a7e74c4af685131775c3ea2226fff2f84ef80855e77aa661645d002b490a795c7ae57b66a30 @@ -7,3 +7,4 @@ SHA1 (patch-doc_yat2m.c) = c5c497f6bcd11 SHA1 (patch-src_argparse.c) = 3e753aac4bce4273887bbb4818ae68a4016fb6d8 SHA1 (patch-src_estream.c) = 0502a55403062abeab22c83a6d919c57ff1c5d82 SHA1 (patch-src_syscfg_lock-obj-pub.netbsd.h) = 6f00890bc3d821da9b715c00a8f068fa4964df9e +SHA1 (patch-src_syscfg_lock-obj-pub.netbsdelf.h) = e963c2efe74191e199d4fb694a6d04ffe87594d0 Added files: Index: pkgsrc/security/libgpg-error/patches/patch-src_syscfg_lock-obj-pub.netbsdelf.h diff -u /dev/null pkgsrc/security/libgpg-error/patches/patch-src_syscfg_lock-obj-pub.netbsdelf.h:1.1 --- /dev/null Sat Jan 13 04:16:40 2024 +++ pkgsrc/security/libgpg-error/patches/patch-src_syscfg_lock-obj-pub.netbsdelf.h Sat Jan 13 04:16:40 2024 @@ -0,0 +1,17 @@ +$NetBSD: patch-src_syscfg_lock-obj-pub.netbsdelf.h,v 1.1 2024/01/13 04:16:40 riastradh Exp $ + +Provide a generic NetBSD definition of lock and initializer, for +cross-compilation. + +--- src/syscfg/lock-obj-pub.netbsdelf.h.orig 2023-06-15 19:44:14.451323950 +0000 ++++ src/syscfg/lock-obj-pub.netbsdelf.h +@@ -0,0 +1,9 @@ ++#include ++ ++typedef struct ++{ ++ long _vers; ++ pthread_mutex_t u; ++} gpgrt_lock_t; ++ ++#define GPGRT_LOCK_INITIALIZER {1, PTHREAD_MUTEX_INITIALIZER} --_----------=_170511940124700--