[117565] trunk/dports/multimedia/mythtv-core.25
devans at macports.org
devans at macports.org
Mon Mar 3 14:14:59 PST 2014
Revision: 117565
https://trac.macports.org/changeset/117565
Author: devans at macports.org
Date: 2014-03-03 14:14:59 -0800 (Mon, 03 Mar 2014)
Log Message:
-----------
mythtv-core.25: maintainer fix for Mavericks build, livecheck (#42707).
Modified Paths:
--------------
trunk/dports/multimedia/mythtv-core.25/Portfile
Added Paths:
-----------
trunk/dports/multimedia/mythtv-core.25/files/patch-clang_compat.diff
Modified: trunk/dports/multimedia/mythtv-core.25/Portfile
===================================================================
--- trunk/dports/multimedia/mythtv-core.25/Portfile 2014-03-03 21:27:28 UTC (rev 117564)
+++ trunk/dports/multimedia/mythtv-core.25/Portfile 2014-03-03 22:14:59 UTC (rev 117565)
@@ -13,7 +13,7 @@
github.setup MythTV mythtv ${shorthash}
name mythtv-core${majorversion}
version 0${majorversion}${minorversion}-Fixes-20130811
-revision 2
+revision 3
categories multimedia
platforms darwin
license GPL-2
@@ -86,6 +86,9 @@
patch-protect-metadata-loads-from-multiple-threads.diff \
patch-restore-fe-netcontrol-play-resume-functionality.diff
+# http://code.mythtv.org/trac/ticket/12020
+patchfiles-append patch-clang_compat.diff \
+
post-extract {
file mkdir ${worksrcpath}/macports
foreach {applescript} ${applescripts} {
@@ -376,5 +379,5 @@
#
############################################################################"
-livecheck.version ${version}
-livecheck.regex "tarball/v(0.25\[^\"\]+)"
+livecheck.version 0${majorversion}${minorversion}
+livecheck.regex "archive/v(0.27\[\\.\\d\]?)${extract.suffix}"
Added: trunk/dports/multimedia/mythtv-core.25/files/patch-clang_compat.diff
===================================================================
--- trunk/dports/multimedia/mythtv-core.25/files/patch-clang_compat.diff (rev 0)
+++ trunk/dports/multimedia/mythtv-core.25/files/patch-clang_compat.diff 2014-03-03 22:14:59 UTC (rev 117565)
@@ -0,0 +1,56 @@
+From bcd7344c533bd0b4cf0b2ecaf82b570202bebccc Mon Sep 17 00:00:00 2001
+From: Amar Takhar <verm at darkbeer.org>
+Date: Wed, 15 Jan 2014 21:44:48 +0000
+Subject: [PATCH] Fixes for FreeBSD 10.0 + clang.
+
+---
+ mythtv/libs/libmyth/remoteutil.h | 2 ++
+ mythtv/libs/libmythbase/mythmiscutil.h | 1 +
+ mythtv/libs/libmythbase/mythsystemlegacy.h | 1 +
+ mythtv/libs/libmythbase/mythtimer.cpp | 2 ++
+ mythtv/libs/libmythbase/mythtimezone.cpp | 1 +
+ mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp | 6 +++++-
+ mythtv/libs/libmythui/mythgesture.cpp | 1 +
+ mythtv/libs/libmythui/mythpainter.cpp | 1 +
+ mythtv/libs/libmythupnp/mmulticastsocketdevice.h | 4 ++++
+ 9 files changed, 18 insertions(+), 1 deletion(-)
+
+see https://code.mythtv.org/trac/ticket/12020
+
+diff --git mythtv/libs/libmyth/remoteutil.h mythtv/libs/libmyth/remoteutil.h
+index 7acff6a..4dc6a54 100644
+--- mythtv/libs/libmyth/remoteutil.h
++++ mythtv/libs/libmyth/remoteutil.h
+@@ -1,6 +1,8 @@
+ #ifndef REMOTEUTIL_H_
+ #define REMOTEUTIL_H_
+
++#include <time.h>
++
+ #include <QStringList>
+ #include <QDateTime>
+
+diff --git mythtv/libs/libmythui/mythgesture.cpp mythtv/libs/libmythui/mythgesture.cpp
+index 37846e4..f020f1a 100644
+--- mythtv/libs/libmythui/mythgesture.cpp
++++ mythtv/libs/libmythui/mythgesture.cpp
+@@ -30,6 +30,7 @@
+
+ #include <cmath>
+ #include <algorithm>
++#include <complex>
+
+ #include <QMutex>
+ #include <QMap>
+ diff -u mythtv/libs/libmythui/mythpainter.cpp.orig mythtv/libs/libmythui/mythpainter.cpp
+--- mythtv/libs/libmythui/mythpainter.cpp.orig 2013-08-11 19:30:33.000000000 -0400
++++ mythtv/libs/libmythui/mythpainter.cpp 2014-03-03 14:32:55.000000000 -0500
+@@ -1,4 +1,5 @@
+ #include <stdint.h>
++#include <complex>
+
+ // QT headers
+ #include <QRect>
+ --
+1.8.5.2
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140303/87152823/attachment.html>
More information about the macports-changes
mailing list