kumquat-buildroot/package/kodi-pvr-mediaportal-tvserver/0001-Revert-Removed-no-more-supported-C-17-declaration-ke.patch
Bernd Kuhls da3a5b45cb package/kodi-pvr-mediaportal-tvserver: bump version to 8.1.0-Matrix
Added patch series from upstream PR 127 to remove the dependency to
kodi-platform, switch dependency to kodi.

Added missing dependency to tinyxml.

Switch license file to LICENSE.md.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-03-06 22:56:48 +01:00

30 lines
901 B
Diff

From 8696d5408d6ec14b1ff4395ed538b7a48528fe68 Mon Sep 17 00:00:00 2001
From: phunkyfish <phunkyfish@gmail.com>
Date: Thu, 8 Oct 2020 16:12:18 +0100
Subject: [PATCH] Revert "Removed no more supported (C++17) declaration keyword
(register)"
This reverts commit a8edcafe6cc7a424615319995f4f7bdfab3856b1.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
src/lib/tsreader/DvbUtil.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/tsreader/DvbUtil.cpp b/src/lib/tsreader/DvbUtil.cpp
index c973062..8c4798a 100644
--- a/src/lib/tsreader/DvbUtil.cpp
+++ b/src/lib/tsreader/DvbUtil.cpp
@@ -77,7 +77,7 @@ namespace MPTV
//*******************************************************************
uint32_t crc32(char *data, int len)
{
- int i;
+ register int i;
uint32_t crc = 0xffffffff;
for (i = 0; i < len; i++)
--
2.29.2