aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2013-05-25 04:23:52 +0800
committernox <nox@FreeBSD.org>2013-05-25 04:23:52 +0800
commita9673b245b69f24e9e38ec720c3faa05dbda47ae (patch)
treea49f96a0ce3dc299059b1625c000c0406ceb856b
parent641a52c9fffb000fe8badd5b6844a2b0a7e34094 (diff)
downloadfreebsd-ports-gnome-a9673b245b69f24e9e38ec720c3faa05dbda47ae.tar.gz
freebsd-ports-gnome-a9673b245b69f24e9e38ec720c3faa05dbda47ae.tar.zst
freebsd-ports-gnome-a9673b245b69f24e9e38ec720c3faa05dbda47ae.zip
- Fix build with recent(?) clang.
- Strip Makefile header. Submitted by: pointyhat amd64 10-exprun via miwi
-rw-r--r--multimedia/vdr-plugin-control/Makefile6
-rw-r--r--multimedia/vdr-plugin-control/files/patch-Makefile9
2 files changed, 10 insertions, 5 deletions
diff --git a/multimedia/vdr-plugin-control/Makefile b/multimedia/vdr-plugin-control/Makefile
index 4517346d88c1..e77899ea14bf 100644
--- a/multimedia/vdr-plugin-control/Makefile
+++ b/multimedia/vdr-plugin-control/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: vdr-plugin-control
-# Date created: Wed Apr 14 18:11:42 CEST 2010
-# Whom: Juergen Lock <nox@freebsd.org>
-#
+# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= vdr-plugin-control
PORTVERSION= 0.0.2a45
diff --git a/multimedia/vdr-plugin-control/files/patch-Makefile b/multimedia/vdr-plugin-control/files/patch-Makefile
index 8bd4da587bb1..df1ed41927b4 100644
--- a/multimedia/vdr-plugin-control/files/patch-Makefile
+++ b/multimedia/vdr-plugin-control/files/patch-Makefile
@@ -1,5 +1,14 @@
--- a/Makefile
+++ b/Makefile
+@@ -29,6 +29,8 @@ TMPDIR = /tmp
+
+ -include $(VDRDIR)/Make.config
+
++CXXFLAGS += -Wno-error=overloaded-virtual
++
+ ### The version number of VDR (taken from VDR's "config.h"):
+
+ VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
@@ -67,6 +67,11 @@ dist: clean
clean:
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~