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: media-plugins/vdr-fritzbox/files/, media-plugins/vdr-fritzbox/
Date: Fri, 20 Aug 2021 01:10:48 +0000 (UTC)	[thread overview]
Message-ID: <1629421824.70fb657a44f8967db0d1096ebfc1b21d978e8d5a.sam@gentoo> (raw)

commit:     70fb657a44f8967db0d1096ebfc1b21d978e8d5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 20 01:06:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 20 01:10:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70fb657a

media-plugins/vdr-fritzbox: fix build with GCC 11

See: https://github.com/jowi24/libnetpp/pull/1
Closes: https://bugs.gentoo.org/808665
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/vdr-fritzbox-1.5.3-boost-1.67.patch          |  6 ------
 .../files/vdr-fritzbox-1.5.3-gcc11-include.patch       | 18 ++++++++++++++++++
 .../vdr-fritzbox/files/vdr-fritzbox-1.5.3_clang.patch  |  5 ++---
 .../vdr-fritzbox/vdr-fritzbox-1.5.3-r4.ebuild          |  7 ++++---
 4 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3-boost-1.67.patch b/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3-boost-1.67.patch
index f5733878279..c47d6e849dc 100644
--- a/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3-boost-1.67.patch
+++ b/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3-boost-1.67.patch
@@ -4,12 +4,6 @@ Date: Thu, 28 Jun 2018 12:56:54 +0200
 Subject: [PATCH] Add compatibility with boost 1.67
 
 Refers to https://github.com/jowi24/vdr-fritz/issues/1
----
- TcpClient.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/TcpClient.cpp b/TcpClient.cpp
-index b9b38e9..c6cc08e 100644
 --- a/libnet++/TcpClient.cpp
 +++ b/libnet++/TcpClient.cpp
 @@ -19,6 +19,7 @@

diff --git a/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3-gcc11-include.patch b/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3-gcc11-include.patch
new file mode 100644
index 00000000000..923a24112f0
--- /dev/null
+++ b/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3-gcc11-include.patch
@@ -0,0 +1,18 @@
+https://bugs.gentoo.org/808665
+https://github.com/jowi24/libnetpp/pull/1
+
+From: Sam James <sam@gentoo.org>
+Date: Fri, 20 Aug 2021 02:03:34 +0100
+Subject: [PATCH] Add missing <map> include
+
+Needed for std::map. Fixes GCC 11 build.
+--- a/libnet++/HttpClient.h
++++ b/libnet++/HttpClient.h
+@@ -22,6 +22,7 @@
+ #ifndef HTTPCLIENT_H
+ #define HTTPCLIENT_H
+ 
++#include <map>
+ #include <string>
+ 
+ #include "TcpClient.h"

diff --git a/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3_clang.patch b/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3_clang.patch
index 1819244ffba..b6d0326ef76 100644
--- a/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3_clang.patch
+++ b/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3_clang.patch
@@ -3,9 +3,8 @@ compile fix llvm/clang
 https://bugs.gentoo.org/740290
 
 Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (14 May 2021)
-diff -Naur fritzbox-1.5.3.orig/notifyosd.cpp fritzbox-1.5.3/notifyosd.cpp
---- fritzbox-1.5.3.orig/notifyosd.cpp	2021-05-14 14:20:08.973067369 +0200
-+++ fritzbox-1.5.3/notifyosd.cpp	2021-05-14 14:21:17.945067369 +0200
+--- a/notifyosd.cpp
++++ b/notifyosd.cpp
 @@ -128,7 +128,7 @@
  		delete osd;
  	osd = cOsdProvider::NewOsd(left, top);

diff --git a/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3-r4.ebuild b/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3-r4.ebuild
index 8d282d5f871..628b4bc7e06 100644
--- a/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3-r4.ebuild
+++ b/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3-r4.ebuild
@@ -21,9 +21,10 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 PATCHES=(
-		"${FILESDIR}/${P}-boost-1.67.patch"
-		"${FILESDIR}/${P}_clang.patch"
-		)
+	"${FILESDIR}/${P}-boost-1.67.patch"
+	"${FILESDIR}/${P}_clang.patch"
+	"${FILESDIR}/${P}-gcc11-include.patch"
+)
 
 src_prepare() {
 	vdr-plugin-2_src_prepare


             reply	other threads:[~2021-08-20  1:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20  1:10 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-14 14:33 [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-fritzbox/files/, media-plugins/vdr-fritzbox/ Jörg Bornkessel
2019-06-30 11:51 Andreas Sturmlechner

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=1629421824.70fb657a44f8967db0d1096ebfc1b21d978e8d5a.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