public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/
Date: Thu, 29 Feb 2024 02:43:59 +0000 (UTC)	[thread overview]
Message-ID: <1709174382.aa92fe230950fbd19ca6d9a432d914117c6ae51d.sam@gentoo> (raw)

commit:     aa92fe230950fbd19ca6d9a432d914117c6ae51d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 02:39:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 02:39:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa92fe23

sci-geosciences/liblas: filter LTO

Reported the aliasing violation upstream.

Bug: https://github.com/libLAS/libLAS/issues/224
Closes: https://bugs.gentoo.org/862585
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
index 7c9fd5b2fea8..8865b0241ae5 100644
--- a/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
+++ b/sci-geosciences/liblas/liblas-1.8.1-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="C/C++ library for manipulating the LAS LiDAR format common in GIS"
 HOMEPAGE="https://github.com/libLAS/libLAS/"
@@ -49,6 +49,10 @@ src_prepare() {
 }
 
 src_configure() {
+	# Aliasing violations (bug #862585)
+	filter-lto
+	append-flags -fno-strict-aliasing
+
 	local mycmakeargs=(
 		-DLIBLAS_LIB_SUBDIR=$(get_libdir)
 		-DWITH_GDAL=$(usex gdal)


             reply	other threads:[~2024-02-29  2:44 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-29  2:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-29  2:43 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/liblas/ Sam James
2023-12-09 17:01 Arthur Zamarin
2023-06-26 16:48 Sam James
2021-04-23 13:46 Sam James
2021-03-28  7:14 Sam James
2020-03-08 20:32 Andreas Sturmlechner
2020-03-02 11:34 Sergei Trofimovich
2020-03-02 11:22 Sergei Trofimovich
2020-02-28 17:50 Agostino Sarubbo
2020-02-27  9:49 Agostino Sarubbo
2019-06-22 19:38 Andreas Sturmlechner
2019-05-30 20:33 Sergei Trofimovich
2019-05-30 20:30 Sergei Trofimovich
2019-05-27 17:26 Agostino Sarubbo
2019-05-24 19:26 Andreas Sturmlechner
2019-05-24 19:26 Andreas Sturmlechner
2018-04-10  1:19 Sam Jorna
2018-03-12  4:33 Matt Turner
2018-03-05 22:14 Andreas Sturmlechner
2018-03-04 22:30 Sergei Trofimovich
2018-01-17  5:11 Thomas Deutschmann
2017-10-16  3:34 David Seifert
2017-07-20 20:57 Sergei Trofimovich
2017-05-24  7:06 Michael Weber
2016-11-29 20:19 Pacho Ramos
2016-11-25  3:01 Sam Jorna
2016-03-14 23:37 Sam Jorna
2015-10-30  6:19 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709174382.aa92fe230950fbd19ca6d9a432d914117c6ae51d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox