public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbpdf-font/
Date: Thu, 28 Dec 2023 13:53:20 +0000 (UTC)	[thread overview]
Message-ID: <1703771595.7c4c5cdd8086b4b0b4c86e785ae25c625272399f.graaff@gentoo> (raw)

commit:     7c4c5cdd8086b4b0b4c86e785ae25c625272399f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 13:52:12 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 13:53:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c4c5cdd

dev-ruby/rbpdf-font: fix c99 undeclared function getopt

Closes: https://bugs.gentoo.org/919868
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r2.ebuild b/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r2.ebuild
index ce8050597779..1d97bbe90fdf 100644
--- a/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r2.ebuild
+++ b/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r2.ebuild
@@ -20,7 +20,6 @@ RUBY_S="rbpdf-${PV}/rbpdf-font"
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 ruby_add_bdepend ">=dev-ruby/test-unit-3:2"
 
@@ -31,7 +30,10 @@ all_ruby_prepare() {
 	pushd lib/fonts/src || die
 	tar xf ttf2ufm-src.tar.gz || die
 	emake -C ttf2ufm-src clean
-	sed -i -e '/^CFLAGS_SYS=/ s/-O/$(CFLAGS)/' -e '/CFLAGS.*LIBS/ s/CFLAGS/LDFLAGS/' ttf2ufm-src/Makefile || die
+	sed -e '/^CFLAGS_SYS=/ s/-O/$(CFLAGS)/' \
+		-e '/CFLAGS.*LIBS/ s/CFLAGS/LDFLAGS/' \
+		-i ttf2ufm-src/Makefile || die
+	sed -e '/limits.h/a#include <getopt.h>' -i ttf2ufm-src/t1asm.c || die
 	popd || die
 }
 


             reply	other threads:[~2023-12-28 13:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-28 13:53 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-31  8:53 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbpdf-font/ Hans de Graaff
2023-12-27 13:55 Hans de Graaff
2023-12-27 13:55 Hans de Graaff
2023-07-20 10:50 Hans de Graaff
2023-03-21  5:21 Hans de Graaff
2022-04-09  7:38 Hans de Graaff
2021-11-24  7:29 Hans de Graaff
2021-11-24  7:29 Hans de Graaff
2020-07-26 15:12 Hans de Graaff
2019-01-21  6:49 Hans de Graaff
2018-06-17  7:16 Hans de Graaff
2018-02-08 18:45 Hans de Graaff
2017-03-30  6:08 Hans de Graaff
2016-09-20  5:07 Hans de Graaff
2016-08-10  6:01 Hans de Graaff
2015-12-14 22:38 Manuel Rüger
2015-12-14 22:37 Manuel Rüger

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=1703771595.7c4c5cdd8086b4b0b4c86e785ae25c625272399f.graaff@gentoo \
    --to=graaff@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