1 |
commit: 41994240d5a6caae4fd9dfff2b7ed6c40eff46fd |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 30 11:39:40 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 30 11:51:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41994240 |
7 |
|
8 |
media-plugins/vdr-fritzbox: Fix build with >=boost-1.67 |
9 |
|
10 |
Non-maintainer commit after timeout. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/671468 |
13 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
.../files/vdr-fritzbox-1.5.3-boost-1.67.patch | 22 ++++++++++++++ |
17 |
.../vdr-fritzbox/vdr-fritzbox-1.5.3-r1.ebuild | 34 ++++++++++++++++++++++ |
18 |
2 files changed, 56 insertions(+) |
19 |
|
20 |
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 |
21 |
new file mode 100644 |
22 |
index 00000000000..f5733878279 |
23 |
--- /dev/null |
24 |
+++ b/media-plugins/vdr-fritzbox/files/vdr-fritzbox-1.5.3-boost-1.67.patch |
25 |
@@ -0,0 +1,22 @@ |
26 |
+From 212847f0efaeffee8422059b8e202d844174aaf3 Mon Sep 17 00:00:00 2001 |
27 |
+From: Joachim Wilke <github.com@×××××××××××××.de> |
28 |
+Date: Thu, 28 Jun 2018 12:56:54 +0200 |
29 |
+Subject: [PATCH] Add compatibility with boost 1.67 |
30 |
+ |
31 |
+Refers to https://github.com/jowi24/vdr-fritz/issues/1 |
32 |
+--- |
33 |
+ TcpClient.cpp | 1 + |
34 |
+ 1 file changed, 1 insertion(+) |
35 |
+ |
36 |
+diff --git a/TcpClient.cpp b/TcpClient.cpp |
37 |
+index b9b38e9..c6cc08e 100644 |
38 |
+--- a/libnet++/TcpClient.cpp |
39 |
++++ b/libnet++/TcpClient.cpp |
40 |
+@@ -19,6 +19,7 @@ |
41 |
+ * |
42 |
+ */ |
43 |
+ |
44 |
++#define BOOST_ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM |
45 |
+ #include "TcpClient.h" |
46 |
+ |
47 |
+ #include <liblog++/Log.h> |
48 |
|
49 |
diff --git a/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3-r1.ebuild b/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3-r1.ebuild |
50 |
new file mode 100644 |
51 |
index 00000000000..eaa4abe5e23 |
52 |
--- /dev/null |
53 |
+++ b/media-plugins/vdr-fritzbox/vdr-fritzbox-1.5.3-r1.ebuild |
54 |
@@ -0,0 +1,34 @@ |
55 |
+# Copyright 1999-2019 Gentoo Authors |
56 |
+# Distributed under the terms of the GNU General Public License v2 |
57 |
+ |
58 |
+EAPI=6 |
59 |
+ |
60 |
+inherit vdr-plugin-2 |
61 |
+ |
62 |
+DESCRIPTION="VDR Plugin: Inform about incoming phone-calls and use the fritz!box phonebook" |
63 |
+HOMEPAGE="https://github.com/jowi24/vdr-fritz" |
64 |
+SRC_URI="https://github.com/jowi24/vdr-fritz/releases/download/1.5.3/${P}.tgz" |
65 |
+ |
66 |
+LICENSE="GPL-2" |
67 |
+SLOT="0" |
68 |
+KEYWORDS="~amd64 ~x86" |
69 |
+IUSE="" |
70 |
+ |
71 |
+DEPEND=" |
72 |
+ dev-libs/libgcrypt:0 |
73 |
+ dev-libs/boost[threads] |
74 |
+ >=media-video/vdr-1.7.34 |
75 |
+" |
76 |
+RDEPEND="${DEPEND}" |
77 |
+ |
78 |
+PATCHES=( "${FILESDIR}/${P}-boost-1.67.patch" ) |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ elog "It is recommend to update your firmware release to the latest." |
82 |
+ elog |
83 |
+ elog "The integrated call monitor (available in Fritz!Box official" |
84 |
+ elog "firmware releases >= *.04.29) has to be enabled in order to" |
85 |
+ elog "have the vdr-fritzbox plugin display anything on your tv. To" |
86 |
+ elog "enable it call #96*5* from your telephone. If that doesn't" |
87 |
+ elog "work for you, read the documentation for further instructions." |
88 |
+} |