public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpegoptim/
Date: Mon, 25 Nov 2024 08:59:02 +0000 (UTC)	[thread overview]
Message-ID: <1732525105.c679b6bcbc3a675f7bfbdb703cea0689af6d73f8.ionen@gentoo> (raw)

commit:     c679b6bcbc3a675f7bfbdb703cea0689af6d73f8
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 08:51:46 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 08:58:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c679b6bc

media-gfx/jpegoptim: avoid broken/dated getopt.c with musl

*Should* fix bug #944902 but lazily haven't actually tried gcc15+musl
given my ready-to-use musl chroot is llvm-musl. Did try it with glibc
and gcc-15 is fine as-is though.

Closes: https://bugs.gentoo.org/944902
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-gfx/jpegoptim/jpegoptim-1.5.5.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-gfx/jpegoptim/jpegoptim-1.5.5.ebuild b/media-gfx/jpegoptim/jpegoptim-1.5.5.ebuild
index 46f1697664d6..76927fefe6ac 100644
--- a/media-gfx/jpegoptim/jpegoptim-1.5.5.ebuild
+++ b/media-gfx/jpegoptim/jpegoptim-1.5.5.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=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Utility to optimize JPEG files"
 HOMEPAGE="https://www.kokkonen.net/tjko/projects.html"
@@ -23,6 +23,8 @@ PATCHES=(
 )
 
 src_configure() {
+	use elibc_musl && append-cppflags -D__GNU_LIBRARY__ #944902
+
 	local mycmakeargs=(
 		-DUSE_MOZJPEG=no
 	)


             reply	other threads:[~2024-11-25  8:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-25  8:59 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-12 16:15 [gentoo-commits] repo/gentoo:master commit in: media-gfx/jpegoptim/ Ionen Wolkens
2023-09-11  0:18 Sam James
2023-09-11  0:18 Sam James
2023-08-10  3:40 Ionen Wolkens
2023-08-06  4:32 Ionen Wolkens
2023-05-29 17:49 Arthur Zamarin
2023-05-29 14:06 Sam James
2023-05-15 15:11 Ionen Wolkens
2023-05-06 11:17 Ionen Wolkens
2023-05-06 11:17 Ionen Wolkens
2023-04-30  8:28 Ionen Wolkens
2023-04-30  7:43 Ionen Wolkens
2023-04-29 20:30 John Helmert III
2019-04-01 19:33 Andreas Sturmlechner
2019-04-01 17:21 Thomas Deutschmann
2019-03-16 21:39 Agostino Sarubbo
2019-03-10 23:57 Andreas Sturmlechner
2019-02-09 16:07 Andreas Sturmlechner
2019-02-09 16:07 Andreas Sturmlechner
2017-08-22  0:15 Tim Harder
2017-08-21 23:56 Tim Harder
2017-08-21 23:56 Tim Harder
2017-08-21 23:56 Tim Harder
2015-08-28  7:03 Tim Harder

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=1732525105.c679b6bcbc3a675f7bfbdb703cea0689af6d73f8.ionen@gentoo \
    --to=ionen@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