Subject: CVS commit: pkgsrc/security/libgpg-error
From: Taylor R Campbell
Date: 2023-06-16 01:41:31
Message id: 20230615234131.5994FFA89@cvs.NetBSD.org

Log Message:
libgpg-error: Make this cross-compile on NetBSD.

Provide an architecture-independent definition of a structure that
wraps pthread_mutex_t.  For some reason libgpg-error tries to
discover this by a runtime test in the configure script and spit out
C approximating the declaration automagically, which is incompatible
with cross-compilation.  Since PTHREAD_MUTEX_INITIALIZER always works
on NetBSD, just use that.

No change to native compilation because it always tries
`lock-obj-pub.native.h' first -- the one it generated during
configure -- and then falls back to the cross options like this patch
adds.

Files:
RevisionActionfile
1.59modifypkgsrc/security/libgpg-error/distinfo
1.1addpkgsrc/security/libgpg-error/patches/patch-src_syscfg_lock-obj-pub.netbsd.h