package/meson: bump to version 0.53.0
PATCH v2 1/1 package/meson: bump to version 0.53.0
Removed patch that is now upstream.
Add patch to prevent passing an invalid linker to gcc fixing:
ERROR: Unable to determine dynamic linker
Signed-off-by James Hilliard <[email protected]>
---
Changes v1 -> v2:
- add patch to prevent passing an invalid linker to gcc
---
...ic-libs-when-default-library-static.patch} | 0
...dist.py-import-lzma-only-when-needed.patch | 50 -------------------
...ent-passing-an-invalid-linker-to-gcc.patch | 31 ++++++++++++
package/meson/meson.hash | 4 +-
package/meson/meson.mk | 2 +-
5 files changed, 34 insertions(+), 53 deletions(-)
rename package/meson/{0003-Prefer-ext-static-libs-when-default-library-static.patch => 0002-Prefer-ext-static-libs-when-default-library-static.patch} (100%)
delete mode 100644 package/meson/0002-mdist.py-import-lzma-only-when-needed.patch
create mode 100644 package/meson/0003-Prevent-passing-an-invalid-linker-to-gcc.patchpackage/meson/0002-Prefer-ext-static-libs-when-default-library-static.patch renamed from package/meson/0003-Prefer-ext-static-libs-when-default-library-static.patch +0 -0
package/meson/0002-mdist.py-import-lzma-only-when-needed.patch deleted +0 -50
50 lines not on this page · raw message
package/meson/0003-Prevent-passing-an-invalid-linker-to-gcc.patch new file +31 -0
@@ -0,0 +1,31 @@ +From 295a48be7bc1371b710280c81cb7caccb5b4253f Mon Sep 17 00:00:00 2001 +From: James Hilliard <[email protected]> +Date: Wed, 8 Jan 2020 19:32:09 -0600 +Subject: [PATCH] Prevent passing an invalid linker to gcc. + +Signed-off-by: James Hilliard <[email protected]> +[Upstream-Status: +https://github.com/mesonbuild/meson/pull/6436] +--- + mesonbuild/compilers/mixins/gnu.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/mesonbuild/compilers/mixins/gnu.py b/mesonbuild/compilers/mixins/gnu.py +index dcca2271..3ff20874 100644 +--- a/mesonbuild/compilers/mixins/gnu.py ++++ b/mesonbuild/compilers/mixins/gnu.py +@@ -304,7 +304,10 @@ class GnuLikeCompiler(metaclass=abc.ABCMeta): + + @classmethod + def use_linker_args(cls, linker: str) -> typing.List[str]: +- return ['-fuse-ld={}'.format(linker)] ++ if linker in ['bfd', 'gold', 'lld']: ++ return ['-fuse-ld={}'.format(linker)] ++ else: ++ return [] + + + class GnuCompiler(GnuLikeCompiler): +-- +2.20.1 +
package/meson/meson.hash +2 -2
@@ -1,4 +1,4 @@ # Locally calculated after checking pgp signature -# https://github.com/mesonbuild/meson/releases/download/0.52.1/meson-0.52.1.tar.gz.asc -sha256 0c277472e49950a5537e3de3e60c57b80dbf425788470a1a8ed27446128fc035 meson-0.52.1.tar.gz +# https://github.com/mesonbuild/meson/releases/download/0.53.0/meson-0.53.0.tar.gz.sig +sha256 035e75993ab6fa6c9ebf902b835c64cf397a763eb8e65c9bb6e1cc9730a9d3f6 meson-0.53.0.tar.gz sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
package/meson/meson.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -MESON_VERSION = 0.52.1 +MESON_VERSION = 0.53.0 MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) MESON_LICENSE = Apache-2.0 MESON_LICENSE_FILES = COPYING
Signature · 1 line
2.20.1