* [gentoo-commits] repo/gentoo:master commit in: media-tv/linuxtv-dvb-apps/files/, media-tv/linuxtv-dvb-apps/
@ 2020-11-01 3:19 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2020-11-01 3:19 UTC (permalink / raw
To: gentoo-commits
commit: 147c971aa4733fcbe450ee768a08204603b191f2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 1 03:19:48 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 1 03:19:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147c971a
media-tv/linuxtv-dvb-apps: fix gcc 10 build
Thanks-to: Nico R <n-roeser <AT> gmx.net>
Closes: https://bugs.gentoo.org/723420
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch | 11 +++++++++++
.../linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild | 3 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch
new file mode 100644
index 00000000000..d218183be14
--- /dev/null
+++ b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch
@@ -0,0 +1,11 @@
+https://723420.bugs.gentoo.org/attachment.cgi?id=639692
+--- a/util/alevt/vbi.c
++++ b/util/alevt/vbi.c
+@@ -35,7 +35,6 @@
+
+ static u8 *rawbuf; // one common buffer for raw vbi data
+ static int rawbuf_size; // its current size
+-u_int16_t sid;
+ static char *vbi_names[]
+ = { "/dev/vbi", "/dev/vbi0", "/dev/video0", "/dev/dvb/adapter0/demux0",
+ NULL }; // default device names if none was given at the command line
diff --git a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild
index e0dddee3f36..821333cff38 100644
--- a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild
+++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild
@@ -38,6 +38,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.1.1.20100223-perl526.patch
"${FILESDIR}"/${PN}-no-ca_set_pid.patch
"${FILESDIR}"/${PN}-glibc-2.31.patch
+ "${FILESDIR}"/${PN}-1.1.1.20140321-gcc10.patch
)
src_prepare() {
@@ -89,5 +90,5 @@ src_install() {
}
pkg_postinst() {
- elog "/usr/bin/scan has been installed as scan-dvb."
+ elog "${EPREFIX}/usr/bin/scan has been installed as scan-dvb."
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-tv/linuxtv-dvb-apps/files/, media-tv/linuxtv-dvb-apps/
@ 2023-04-22 15:20 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-04-22 15:20 UTC (permalink / raw
To: gentoo-commits
commit: 81e99f1c753d1cb564be29b22dcd8927830c4b9a
Author: Anna (navi) Figueiredo Gomes <navi <AT> vlhl <DOT> dev>
AuthorDate: Sat Apr 22 15:02:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 15:19:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81e99f1c
media-tv/linuxtv-dvb-apps: fix build w/ -Wint-conversion
Closes: https://bugs.gentoo.org/885539
Closes: https://github.com/gentoo/gentoo/pull/30703
Signed-off-by: Anna (navi) Figueiredo Gomes <navi <AT> vlhl.dev>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/linuxtv-dvb-apps-1.1.1.20140321-dvbdate.patch | 11 +++++++++++
...21-r1.ebuild => linuxtv-dvb-apps-1.1.1.20140321-r2.ebuild} | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-dvbdate.patch b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-dvbdate.patch
new file mode 100644
index 000000000000..87d9a62ad9f5
--- /dev/null
+++ b/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-dvbdate.patch
@@ -0,0 +1,11 @@
+--- a/util/dvbdate/dvbdate.c
++++ b/util/dvbdate/dvbdate.c
+@@ -310,7 +310,7 @@
+ int set_time(time_t * new_time)
+ {
+ struct timespec s = {0};
+- s.tv_sec = new_time;
++ s.tv_sec = *new_time;
+
+ if (clock_settime(CLOCK_REALTIME, &s)) {
+ perror("Unable to set time");
diff --git a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r2.ebuild
similarity index 95%
rename from media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild
rename to media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r2.ebuild
index dcb2c62d3f2c..2b5377d5ba58 100644
--- a/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r1.ebuild
+++ b/media-tv/linuxtv-dvb-apps/linuxtv-dvb-apps-1.1.1.20140321-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -27,6 +27,7 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-lang/perl
virtual/linuxtv-dvb-headers
+ dev-libs/libusb-compat
"
RDEPEND+="
media-tv/dtv-scan-tables
@@ -39,6 +40,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-no-ca_set_pid.patch
"${FILESDIR}"/${PN}-glibc-2.31.patch
"${FILESDIR}"/${PN}-1.1.1.20140321-gcc10.patch
+ "${FILESDIR}"/${PN}-1.1.1.20140321-dvbdate.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-22 15:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-01 3:19 [gentoo-commits] repo/gentoo:master commit in: media-tv/linuxtv-dvb-apps/files/, media-tv/linuxtv-dvb-apps/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2023-04-22 15:20 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox