[packages/tvheadend] remove x32 patch (no longer seems necessary); rel 2

atler atler at pld-linux.org
Sun Apr 7 16:45:45 CEST 2024


commit 2e64c4586830b2544c760a2d6390ba98196ccdde
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Apr 7 16:08:14 2024 +0200

    remove x32 patch (no longer seems necessary); rel 2

 tvheadend.spec |  6 +-----
 x32.patch      | 22 ----------------------
 2 files changed, 1 insertion(+), 27 deletions(-)
---
diff --git a/tvheadend.spec b/tvheadend.spec
index 36a410f..c972b07 100644
--- a/tvheadend.spec
+++ b/tvheadend.spec
@@ -4,7 +4,7 @@
 
 %define		gitref	ab6ea89b11b1f1a8dcbfd7cfc29d65b3013f2702
 %define		snap	20240324
-%define		rel	1
+%define		rel	2
 
 Summary:	TV streaming server
 Name:		tvheadend
@@ -18,7 +18,6 @@ Source0:	https://github.com/tvheadend/tvheadend/archive/%{gitref}/%{name}-%{snap
 Source1:	%{name}.service
 Source2:	%{name}.sysconfig
 Source3:	%{name}.init
-Patch0:		x32.patch
 URL:		https://tvheadend.org/projects/tvheadend
 BuildRequires:	avahi-devel
 BuildRequires:	dbus-devel
@@ -52,9 +51,6 @@ DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
 
 %prep
 %setup -q -n %{name}-%{gitref}
-%ifarch x32
-%patch0 -p1
-%endif
 
 %{__sed} -i -e '1s,/usr/bin/env python3$,%{__python3},' lib/py/tvh/tv_meta_{tm,tv}db.py support/tvhmeta
 
diff --git a/x32.patch b/x32.patch
deleted file mode 100644
index 7bb82fb..0000000
--- a/x32.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- tvheadend-4.0.2/src/tvheadend.h~	2015-05-25 15:44:34.000000000 +0000
-+++ tvheadend-4.0.2/src/tvheadend.h	2015-07-16 20:06:46.787257990 +0000
-@@ -789,6 +789,8 @@
- 
- #if __WORDSIZE == 32 && defined(PLATFORM_FREEBSD)
- #define PRItime_t       "d"
-+#elif defined(__ILP32__)
-+#define PRItime_t       "lld"
- #else
- #define PRItime_t       "ld"
- #endif
---- tvheadend-4.0.2/src/epggrab/otamux.c~	2015-05-25 15:44:34.000000000 +0000
-+++ tvheadend-4.0.2/src/epggrab/otamux.c	2015-07-16 20:10:34.961370520 +0000
-@@ -592,7 +592,7 @@
- static void
- epggrab_ota_next_arm( time_t next )
- {
--  tvhtrace(LS_EPGGRAB, "next ota start event in %li seconds", next - time(NULL));
-+  tvhtrace(LS_EPGGRAB, "next ota start event in %"PRItime_t" seconds", next - time(NULL));
-   gtimer_arm_absn(&epggrab_ota_start_timer, epggrab_ota_start_cb, NULL, next);
-   dbus_emit_signal_s64("/epggrab/ota", "next", next);
- }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tvheadend.git/commitdiff/2e64c4586830b2544c760a2d6390ba98196ccdde



More information about the pld-cvs-commit mailing list