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: app-text/dvisvgm/, app-text/dvisvgm/files/
Date: Mon,  3 Jul 2023 13:47:12 +0000 (UTC)	[thread overview]
Message-ID: <1688391991.9f1ffa4a2a46aef7387495ebc440b52608ebb987.sam@gentoo> (raw)

commit:     9f1ffa4a2a46aef7387495ebc440b52608ebb987
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  3 13:46:28 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 13:46:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f1ffa4a

app-text/dvisvgm: fix build w/ gcc 13 (again)

Closes: https://bugs.gentoo.org/906250
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/dvisvgm/dvisvgm-3.0.4.ebuild            |  4 ++++
 app-text/dvisvgm/files/dvisvgm-3.0.4-gcc13.patch | 29 ++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/app-text/dvisvgm/dvisvgm-3.0.4.ebuild b/app-text/dvisvgm/dvisvgm-3.0.4.ebuild
index c94c72cd11ca..d583b7ecb4d2 100644
--- a/app-text/dvisvgm/dvisvgm-3.0.4.ebuild
+++ b/app-text/dvisvgm/dvisvgm-3.0.4.ebuild
@@ -40,6 +40,10 @@ BDEPEND="
 	virtual/pkgconfig
 "
 
+PATCHES=(
+	"${FILESDIR}"/${P}-gcc13.patch
+)
+
 src_configure() {
 	local myargs=(
 		--disable-bundled-libs

diff --git a/app-text/dvisvgm/files/dvisvgm-3.0.4-gcc13.patch b/app-text/dvisvgm/files/dvisvgm-3.0.4-gcc13.patch
new file mode 100644
index 000000000000..a6452baf6794
--- /dev/null
+++ b/app-text/dvisvgm/files/dvisvgm-3.0.4-gcc13.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/906250
+https://github.com/mgieseki/dvisvgm/commit/b16a8d1c452d809118ceade4d2e8c6f9dfce48ac
+
+From b16a8d1c452d809118ceade4d2e8c6f9dfce48ac Mon Sep 17 00:00:00 2001
+From: Martin Gieseking <martin.gieseking@uos.de>
+Date: Fri, 5 May 2023 22:22:00 +0200
+Subject: [PATCH] added missing includes
+
+--- a/src/DVIActions.hpp
++++ b/src/DVIActions.hpp
+@@ -21,6 +21,7 @@
+ #ifndef DVIACTIONS_HPP
+ #define DVIACTIONS_HPP
+ 
++#include <cstdint>
+ #include <string>
+ #include <vector>
+ 
+--- a/src/Pair.hpp
++++ b/src/Pair.hpp
+@@ -22,6 +22,7 @@
+ #define PAIR_HPP
+ 
+ #include <cmath>
++#include <cstdint>
+ #include <ostream>
+ #include "macros.hpp"
+ 
+


             reply	other threads:[~2023-07-03 13:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-03 13:47 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-15  0:54 [gentoo-commits] repo/gentoo:master commit in: app-text/dvisvgm/, app-text/dvisvgm/files/ Sam James
2023-03-10  9:55 Sam James
2023-02-17 10:39 Sam James
2022-11-04 23:31 Sam James
2022-11-04  5:15 Sam James

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=1688391991.9f1ffa4a2a46aef7387495ebc440b52608ebb987.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