summaryrefslogtreecommitdiff
path: root/multimedia/kaffeine/kaffeine-fix-gcc4.7.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-05 19:26:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit4710ee3fa730dcc37d1c6430741e0db2c59e3296 (patch)
tree149748bee5dc5703d922cfa22652ca289ae453bc /multimedia/kaffeine/kaffeine-fix-gcc4.7.patch
parentc58bc4ec30c7aab3553a14eef50cd18e59f753d3 (diff)
downloadslackbuilds-4710ee3fa730dcc37d1c6430741e0db2c59e3296.tar.gz
multimedia/kaffeine: Updated for version 1.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/kaffeine/kaffeine-fix-gcc4.7.patch')
-rw-r--r--multimedia/kaffeine/kaffeine-fix-gcc4.7.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/multimedia/kaffeine/kaffeine-fix-gcc4.7.patch b/multimedia/kaffeine/kaffeine-fix-gcc4.7.patch
deleted file mode 100644
index 7d8785aa6b..0000000000
--- a/multimedia/kaffeine/kaffeine-fix-gcc4.7.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Christoph Pfister <christophpfister@gmail.com>
-Date: Wed, 04 Apr 2012 19:22:09 +0000
-Subject: fix build for gcc 4.7
-X-Git-Url: http://quickgit.kde.org/?p=kaffeine.git&amp;a=commitdiff&amp;h=2da9df1e67004c3cfa879578c351300a99f23da1
----
-fix build for gcc 4.7
----
-
-
---- a/src/dvb/dvbepg.cpp
-+++ b/src/dvb/dvbepg.cpp
-@@ -690,15 +690,15 @@
- // 1980-01-06T000000 minus 15 secs (= UTC - GPS in 2011)
- QDateTime baseDateTime = QDateTime(QDate(1980, 1, 5), QTime(23, 59, 45), Qt::UTC);
-
-- for (AtscEitSectionEntry entry = eitSection.entries(); (entryCount > 0) && entry.isValid();
-- --entryCount, entry.advance()) {
-+ for (AtscEitSectionEntry eitEntry = eitSection.entries();
-+ (entryCount > 0) && eitEntry.isValid(); --entryCount, eitEntry.advance()) {
- DvbEpgEntry epgEntry;
- epgEntry.channel = channel;
-- epgEntry.begin = baseDateTime.addSecs(entry.startTime());
-- epgEntry.duration = QTime().addSecs(entry.duration());
-- epgEntry.title = entry.title();
--
-- quint32 id = ((quint32(fakeChannel.networkId) << 16) | quint32(entry.eventId()));
-+ epgEntry.begin = baseDateTime.addSecs(eitEntry.startTime());
-+ epgEntry.duration = QTime().addSecs(eitEntry.duration());
-+ epgEntry.title = eitEntry.title();
-+
-+ quint32 id = ((quint32(fakeChannel.networkId) << 16) | quint32(eitEntry.eventId()));
- DvbSharedEpgEntry entry = epgEntries.value(id);
-
- if (entry.isValid() && (entry->channel == epgEntry.channel) &&
-