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-libs/oc/
Date: Thu, 21 Mar 2024 05:58:46 +0000 (UTC)	[thread overview]
Message-ID: <1711000662.ec105e48578ab0964c600fcd6cb09d42e349215e.sam@gentoo> (raw)

commit:     ec105e48578ab0964c600fcd6cb09d42e349215e
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 21 05:47:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 05:57:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec105e48

sci-libs/oc: mark as LTO-unsafe, strict-aliasing unsafe

Upstream is libdap. They exist. They have lots of maintained software,
it is simply that oc isn't one of them as far as I can tell.

What happened to it? I don't know. Maybe it's legacy abandoned software.
Their distfiles server still has it, but that's it.

Possibly we should delete the package instead...

Closes: https://bugs.gentoo.org/862906
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/oc/oc-2.0.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/sci-libs/oc/oc-2.0.ebuild b/sci-libs/oc/oc-2.0.ebuild
index ee688999d5dd..9dd7413b919e 100644
--- a/sci-libs/oc/oc-2.0.ebuild
+++ b/sci-libs/oc/oc-2.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 DESCRIPTION="Network Data Access Protocol client C library"
 HOMEPAGE="https://opendap.org/"
 SRC_URI="https://opendap.org/pub/OC/source/${P}.tar.gz"
@@ -18,6 +20,15 @@ RDEPEND="net-misc/curl"
 DEPEND="${RDEPEND}"
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/862906
+	#
+	# Upstream exists, they just don't seem to mention oc anymore, *anywhere*.
+	#
+	# Do not trust with LTO either.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	econf --disable-static
 }
 


             reply	other threads:[~2024-03-21  5:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21  5:58 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-21  5:58 [gentoo-commits] repo/gentoo:master commit in: sci-libs/oc/ Sam James
2020-06-11 12:25 David Seifert
2019-12-13 17:41 David Seifert

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=1711000662.ec105e48578ab0964c600fcd6cb09d42e349215e.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