Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/meson meson: Turn off -z ignore by default on Su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5041ff35f9db
branches:  trunk
changeset: 436688:5041ff35f9db
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Aug 07 13:04:08 2020 +0000

description:
meson: Turn off -z ignore by default on SunOS.

This shouldn't be applied to every single invocation, as it can be too
aggressive and for example remove -lssp when -fstack-protector is being used,
breaking PKGSRC_USE_SSP checks.

Fixes lots of packages.  Bump PKGREVISION.

diffstat:

 devel/meson/Makefile                                         |   4 +-
 devel/meson/distinfo                                         |   3 +-
 devel/meson/patches/patch-mesonbuild_compilers_mixins_gnu.py |  15 ++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 02aae9201150 -r 5041ff35f9db devel/meson/Makefile
--- a/devel/meson/Makefile      Fri Aug 07 12:42:07 2020 +0000
+++ b/devel/meson/Makefile      Fri Aug 07 13:04:08 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2020/07/28 22:43:01 tnn Exp $
+# $NetBSD: Makefile,v 1.16 2020/08/07 13:04:08 jperkin Exp $
 
 DISTNAME=      meson-0.55.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/meson/}
 
diff -r 02aae9201150 -r 5041ff35f9db devel/meson/distinfo
--- a/devel/meson/distinfo      Fri Aug 07 12:42:07 2020 +0000
+++ b/devel/meson/distinfo      Fri Aug 07 13:04:08 2020 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.13 2020/07/28 23:28:23 tnn Exp $
+$NetBSD: distinfo,v 1.14 2020/08/07 13:04:08 jperkin Exp $
 
 SHA1 (meson-0.55.0.tar.gz) = 266c35ad4ea0b526e3437500b99a0745adf82d92
 RMD160 (meson-0.55.0.tar.gz) = 59db72dded4bf8dfb53dd5eb00d229e377a2ae80
 SHA512 (meson-0.55.0.tar.gz) = bf2a5bab19deb433e363bf569527dbd1a9e8c0f77482aa077abbaa480dadc396e43148957473a31ecd9d3965578d2f7b7dc8808839c619ae2c0d419aed72d4e2
 Size (meson-0.55.0.tar.gz) = 1742882 bytes
+SHA1 (patch-mesonbuild_compilers_mixins_gnu.py) = 17f09e1b147f6baa434091f8a31b48f1941004f6
 SHA1 (patch-mesonbuild_dependencies_dev.py) = ce9b93369d771f7e24208923b58af769e51bcd98
 SHA1 (patch-mesonbuild_environment.py) = d0340ea4149c7ed89fd64d0f1631721f7b9f04aa
 SHA1 (patch-mesonbuild_modules_pkgconfig.py) = 7b5dff2fbc29199a2b1b18a0073e73461c517744
diff -r 02aae9201150 -r 5041ff35f9db devel/meson/patches/patch-mesonbuild_compilers_mixins_gnu.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/meson/patches/patch-mesonbuild_compilers_mixins_gnu.py      Fri Aug 07 13:04:08 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-mesonbuild_compilers_mixins_gnu.py,v 1.1 2020/08/07 13:04:08 jperkin Exp $
+
+Do not default to -z ignore on SunOS, it breaks for example -fstack-protector.
+
+--- mesonbuild/compilers/mixins/gnu.py.orig    2020-06-29 17:00:07.000000000 +0000
++++ mesonbuild/compilers/mixins/gnu.py
+@@ -144,7 +144,7 @@ class GnuLikeCompiler(metaclass=abc.ABCM
+                              'b_ndebug', 'b_staticpic', 'b_pie']
+         if not (self.info.is_windows() or self.info.is_cygwin() or self.info.is_openbsd()):
+             self.base_options.append('b_lundef')
+-        if not self.info.is_windows() or self.info.is_cygwin():
++        if not (self.info.is_windows() or self.info.is_sunos()) or self.info.is_cygwin():
+             self.base_options.append('b_asneeded')
+         if not self.info.is_hurd():
+             self.base_options.append('b_sanitize')



Home | Main Index | Thread Index | Old Index