Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 19:45:46 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341084 - in head/multimedia/mythtv-frontend: . files
Message-ID:  <201401251945.s0PJjk4Z067772@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Sat Jan 25 19:45:46 2014
New Revision: 341084
URL: http://svnweb.freebsd.org/changeset/ports/341084
QAT: https://qat.redports.org/buildarchive/r341084/

Log:
  - Update to latest 0.27 stable branch from github
  - Add patches to build with clang [1]
  - Use OPTIONS_SUB
  
  PR:		ports/186005 [1]
  Submitted by:	John Clark <clarkjc@runbox.com> [1]

Added:
  head/multimedia/mythtv-frontend/files/patch-libs__libmyth__remoteutil.h   (contents, props changed)
  head/multimedia/mythtv-frontend/files/patch-libs__libmythtv__recorders__dvbdev__dvbci.cpp   (contents, props changed)
  head/multimedia/mythtv-frontend/files/patch-libs__libmythui__mythgesture.cpp   (contents, props changed)
  head/multimedia/mythtv-frontend/files/patch-libs__libmythui__mythpainter.cpp   (contents, props changed)
  head/multimedia/mythtv-frontend/files/patch-libs__libmythupnp__mmulticastsocketdevice.h   (contents, props changed)
Modified:
  head/multimedia/mythtv-frontend/Makefile
  head/multimedia/mythtv-frontend/distinfo

Modified: head/multimedia/mythtv-frontend/Makefile
==============================================================================
--- head/multimedia/mythtv-frontend/Makefile	Sat Jan 25 19:44:21 2014	(r341083)
+++ head/multimedia/mythtv-frontend/Makefile	Sat Jan 25 19:45:46 2014	(r341084)
@@ -2,8 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	mythtv-frontend
-PORTVERSION=	0.27
+PORTVERSION=	0.27.0.20140121
 CATEGORIES=	multimedia
+MASTER_SITES=	http://people.freebsd.org/~decke/distfiles/
 DISTNAME=	mythtv-${PORTVERSION}
 
 MAINTAINER=	decke@FreeBSD.org
@@ -21,11 +22,11 @@ CONFLICTS=	mythtv-[0-9]*
 USE_GITHUB=	yes
 GH_ACCOUNT=	MythTV
 GH_PROJECT=	mythtv
-GH_TAGNAME=	v${PORTVERSION}
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	5a5e1cd
 
-WRKSRC=		${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-e9545c0/${GH_PROJECT}
+WRKSRC=		${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}/${GH_PROJECT}
 
-USE_GCC=	any
 ONLY_FOR_ARCHS=	i386 amd64
 USES=		gmake pkgconfig
 USE_QT4=	gui sql network script linguist_build l10n sql-mysql_run \

Modified: head/multimedia/mythtv-frontend/distinfo
==============================================================================
--- head/multimedia/mythtv-frontend/distinfo	Sat Jan 25 19:44:21 2014	(r341083)
+++ head/multimedia/mythtv-frontend/distinfo	Sat Jan 25 19:45:46 2014	(r341084)
@@ -1,2 +1,2 @@
-SHA256 (mythtv-0.27.tar.gz) = e8d77c48f487bd057b2f887c27416d502b79c78c4e1cfb05d87ec70d690f8d0d
-SIZE (mythtv-0.27.tar.gz) = 85915149
+SHA256 (mythtv-0.27.0.20140121.tar.gz) = dcc6c2401110111793999faf8f317c9036378e2a90cbb55b990f138e76a39dad
+SIZE (mythtv-0.27.0.20140121.tar.gz) = 85938811

Added: head/multimedia/mythtv-frontend/files/patch-libs__libmyth__remoteutil.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/mythtv-frontend/files/patch-libs__libmyth__remoteutil.h	Sat Jan 25 19:45:46 2014	(r341084)
@@ -0,0 +1,11 @@
+--- libs/libmyth/remoteutil.h.orig	2013-09-18 16:06:08.000000000 -0400
++++ libs/libmyth/remoteutil.h	2014-01-22 08:26:34.000000000 -0500
+@@ -8,6 +8,7 @@
+ using namespace std;
+ 
+ #include "mythexp.h"
++#include <sys/types.h>
+ 
+ class ProgramInfo;
+ class MythEvent;
+

Added: head/multimedia/mythtv-frontend/files/patch-libs__libmythtv__recorders__dvbdev__dvbci.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/mythtv-frontend/files/patch-libs__libmythtv__recorders__dvbdev__dvbci.cpp	Sat Jan 25 19:45:46 2014	(r341084)
@@ -0,0 +1,14 @@
+--- libs/libmythtv/recorders/dvbdev/dvbci.cpp.orig	2010-04-26 23:30:52.000000000 +0200
++++ libs/libmythtv/recorders/dvbdev/dvbci.cpp	2014-01-22 09:13:22.000000000 -0500
+@@ -28,7 +28,11 @@
+ #include <errno.h>
+ #include <ctype.h>
+ #include <linux/dvb/ca.h>
++#ifndef __FreeBSD__
+ #include <malloc.h>
++#else
++#include <stdlib.h>
++#endif
+ #include <netinet/in.h>
+ #include <poll.h>
+ #include <string.h>

Added: head/multimedia/mythtv-frontend/files/patch-libs__libmythui__mythgesture.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/mythtv-frontend/files/patch-libs__libmythui__mythgesture.cpp	Sat Jan 25 19:45:46 2014	(r341084)
@@ -0,0 +1,19 @@
+--- libs/libmythui/mythgesture.cpp.orig	2013-09-18 16:06:08.000000000 -0400
++++ libs/libmythui/mythgesture.cpp	2014-01-22 08:20:33.000000000 -0500
+@@ -28,6 +28,7 @@
+ 
+ #include "mythgesture.h"
+ 
++#include <cstdlib>
+ #include <cmath>
+ #include <algorithm>
+ 
+@@ -283,7 +284,7 @@
+     int dely = p.y() - points.back().y();
+ 
+     /* step by the greatest delta direction */
+-    if (abs(delx) > abs(dely))
++    if (std::abs(delx) > std::abs(dely))
+     {
+         float iy = points.back().y();
+ 

Added: head/multimedia/mythtv-frontend/files/patch-libs__libmythui__mythpainter.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/mythtv-frontend/files/patch-libs__libmythui__mythpainter.cpp	Sat Jan 25 19:45:46 2014	(r341084)
@@ -0,0 +1,9 @@
+--- libs/libmythui/mythpainter.cpp.orig	2013-09-18 16:06:08.000000000 -0400
++++ libs/libmythui/mythpainter.cpp	2014-01-22 08:18:40.000000000 -0500
+@@ -1,5 +1,6 @@
+ #include <stdint.h>
+ #include <algorithm>
++#include <cstdlib>
+ 
+ // QT headers
+ #include <QRect>

Added: head/multimedia/mythtv-frontend/files/patch-libs__libmythupnp__mmulticastsocketdevice.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/mythtv-frontend/files/patch-libs__libmythupnp__mmulticastsocketdevice.h	Sat Jan 25 19:45:46 2014	(r341084)
@@ -0,0 +1,11 @@
+--- libs/libmythupnp/mmulticastsocketdevice.h.orig	2013-09-18 16:06:08.000000000 -0400
++++ libs/libmythupnp/mmulticastsocketdevice.h	2014-01-22 08:24:26.000000000 -0500
+@@ -18,6 +18,7 @@
+ #  include <ws2tcpip.h>
+ # endif
+ #else
++# include <sys/types.h>
+ # include <sys/socket.h>
+ # include <netinet/in.h>
+ # include <netinet/ip.h>
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401251945.s0PJjk4Z067772>