--- - branch: MAIN date: Thu Jun 15 23:41:31 UTC 2023 files: - new: '1.59' old: '1.58' path: pkgsrc/security/libgpg-error/distinfo pathrev: pkgsrc/security/libgpg-error/distinfo@1.59 type: modified - new: '1.1' old: '0' path: pkgsrc/security/libgpg-error/patches/patch-src_syscfg_lock-obj-pub.netbsd.h pathrev: pkgsrc/security/libgpg-error/patches/patch-src_syscfg_lock-obj-pub.netbsd.h@1.1 type: added id: 20230615T234131Z.bfe44c6dd891a66417b04e6228e9fca9b0944f28 log: | 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. module: pkgsrc subject: 'CVS commit: pkgsrc/security/libgpg-error' unixtime: '1686872491' user: riastradh