]> git.pld-linux.org Git - packages/mythtv.git/blame - gcc11.patch
- fix building with gcc 11 and glibc 2.34
[packages/mythtv.git] / gcc11.patch
CommitLineData
5bbebe7d
JR
1--- mythtv-0.26.1/libs/libmythtv/videosource.cpp~ 2021-09-26 10:48:30.000000000 +0200
2+++ mythtv-0.26.1/libs/libmythtv/videosource.cpp 2021-09-26 10:52:24.567959263 +0200
3@@ -379,7 +379,7 @@
4 void DataDirect_config::Load()
5 {
6 VerticalConfigurationGroup::Load();
7- bool is_sd_userid = userid->getValue().contains('@') > 0;
8+ bool is_sd_userid = userid->getValue().contains('@') != 0;
9 bool match = ((is_sd_userid && (source == DD_SCHEDULES_DIRECT)) ||
10 (!is_sd_userid && (source == DD_ZAP2IT)));
11 if (((userid->getValue() != lastloadeduserid) ||
12--- mythtv-0.26.1/programs/mythlcdserver/lcdprocclient.cpp~ 2013-08-15 16:44:02.000000000 +0200
13+++ mythtv-0.26.1/programs/mythlcdserver/lcdprocclient.cpp 2021-09-26 11:05:59.118439631 +0200
14@@ -2104,7 +2104,7 @@
15
16 for (int x = 0; x < text.length(); x++)
17 {
18- if (separators.contains(text[x]) > 0)
19+ if (separators.contains(text[x]) != 0)
20 lastSplit = line.length();
21
22 line += text[x];
23--- mythtv-0.26.1/programs/mythbackend/httpstatus.cpp~ 2013-08-15 16:44:02.000000000 +0200
24+++ mythtv-0.26.1/programs/mythbackend/httpstatus.cpp 2021-09-26 11:09:22.088415336 +0200
25@@ -1478,8 +1478,8 @@
26
27 // Only include HTML line break if display value doesn't already
28 // contain breaks.
29- if ((display.contains("<p>", Qt::CaseInsensitive) > 0) ||
30- (display.contains("<br", Qt::CaseInsensitive) > 0))
31+ if ((display.contains("<p>", Qt::CaseInsensitive) != 0) ||
32+ (display.contains("<br", Qt::CaseInsensitive) != 0))
33 {
34 // matches <BR> or <br /
35 linebreak = "\r\n";
This page took 0.051938 seconds and 4 git commands to generate.