babl: Lacking a non-standard linker arg shouldn't hard error.

Just don't use it.
This commit is contained in:
nia 2020-03-28 18:24:06 +00:00
parent a4181ca3de
commit 7bad517b0f
2 changed files with 16 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.24 2020/02/26 14:45:13 nia Exp $
$NetBSD: distinfo,v 1.25 2020/03/28 18:24:06 nia Exp $
SHA1 (babl-0.1.74.tar.xz) = c9b3dc51c9e266f7431d31927b7c09fd01b42bc4
RMD160 (babl-0.1.74.tar.xz) = 7338e32a3ba10f17c44baaaebeb119cb38c30b7f
SHA512 (babl-0.1.74.tar.xz) = 97b4a5aad76b7d6dee1835774cee48f866a9513c6454d74c3378068a60359704c1ba106a7542b9ac6a7968b3cf632ed2626b835ec9c7f3fcc6e29968c1e39396
Size (babl-0.1.74.tar.xz) = 294156 bytes
SHA1 (patch-babl_meson.build) = 8d524864db91d3da617ec7c6f5d1e9dfda4e0400
SHA1 (patch-extensions_gggl.c) = 4981d58c145a84a8b4f579127221e6289f13c036

View file

@ -0,0 +1,14 @@
$NetBSD: patch-babl_meson.build,v 1.1 2020/03/28 18:24:06 nia Exp $
Don't make lacking --version-script a hard error
--- babl/meson.build.orig 2020-01-12 23:26:51.000000000 +0000
+++ babl/meson.build
@@ -36,7 +36,6 @@ elif host_machine.system() == 'darwin' a
# Clang on Darwin
babl_link_args = ['-Wl,-exported_symbols_list',version_script_clang]
else
- error('Linker doesn\'t support --version-script or -exported_symbols_list')
endif
if platform_win32
babl_link_args += '-Wl,--no-undefined'