Hi, > http://build-failures.rhaalovely.net/sparc64/2020-11-17/x11/gnome/gucharmap.log (same thing on macppc)
This new version of gucharmap "requires" the -Bsymbolic-functions linker flag. Bypassing the check allows to build gucharmap. I didn't bump REVISION; this changes nothing on amd64 and it has never been built on ld.bfd archs. The runtime is fine on macppc. Comments/feedback are welcome, Charlène. [0] https://bin.charlenew.xyz/gucharmap.log Index: patches/patch-meson_build =================================================================== RCS file: /cvs/ports/x11/gnome/gucharmap/patches/patch-meson_build,v retrieving revision 1.1 diff -u -p -u -p -r1.1 patch-meson_build --- patches/patch-meson_build 7 Nov 2020 08:59:35 -0000 1.1 +++ patches/patch-meson_build 25 Nov 2020 09:22:44 -0000 @@ -1,6 +1,8 @@ $OpenBSD: patch-meson_build,v 1.1 2020/11/07 08:59:35 jasper Exp $ -ERROR: C shared or static library 'dl' not found +Hunk #1: ERROR: C shared or static library 'dl' not found +Hunk #2: fix the build on ld.bfd archs, where the -Bsymbolic-functions + linker flag is not supported Index: meson.build --- meson.build.orig @@ -24,3 +26,17 @@ Index: meson.build # Compiler flags compiler_flags_common = [ +@@ -226,8 +214,11 @@ linker_flags = [ + ] + + foreach flag: linker_flags +- assert(cc.has_link_argument(flag), flag + ' is required but not supported') +- add_project_link_arguments(flag, language: 'c',) ++ if cc.has_link_argument(flag) ++ add_project_link_arguments(flag, language: 'c',) ++ else ++ message(flag + ' is not supported') ++ endif + endforeach + + # Dependencies