[packages/tvtime] Rel 3; build fix (+ ugly workaround)
arekm
arekm at pld-linux.org
Mon Aug 25 17:52:19 CEST 2025
commit 48ecf8e55ce3715c6fb8578e9bb450f39dd39d42
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Aug 25 17:52:12 2025 +0200
Rel 3; build fix (+ ugly workaround)
build.patch | 10 ++++++++++
tvtime.spec | 6 +++++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/tvtime.spec b/tvtime.spec
index bdb37c7..76078e4 100644
--- a/tvtime.spec
+++ b/tvtime.spec
@@ -1,8 +1,10 @@
+# TODO:
+# - figure out why configure scripts checks for wrong gcc path (while priting another) and drop CC/CXX forcing in the spec
Summary: A high quality TV viewer
Summary(pl.UTF-8): Program do oglądania TV w wysokiej jakości
Name: tvtime
Version: 1.0.11
-Release: 2
+Release: 3
License: GPL v2+
Group: Applications/Multimedia
Source0: https://linuxtv.org/downloads/tvtime/%{name}-%{version}.tar.gz
@@ -64,6 +66,8 @@ wysokiej jakości obrazu, co czyni go idealnym dla wideofili.
%{__autoheader}
%{__automake}
%configure \
+ CC=gcc \
+ CXX=g++ \
--disable-silent-rules
%{__make}
diff --git a/build.patch b/build.patch
index 18a2527..e113c7c 100644
--- a/build.patch
+++ b/build.patch
@@ -17,3 +17,13 @@
po/Makefile.in
m4/Makefile
docs/man/Makefile
+--- tvtime-1.0.11/src/get_media_devices.c~ 2016-02-24 16:25:31.000000000 +0100
++++ tvtime-1.0.11/src/get_media_devices.c 2025-08-25 17:50:15.998022265 +0200
+@@ -23,6 +23,7 @@
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <malloc.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tvtime.git/commitdiff/48ecf8e55ce3715c6fb8578e9bb450f39dd39d42
More information about the pld-cvs-commit
mailing list