summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-06-16 14:19:32 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-06-16 14:19:32 +0000
commit388e019e4112d01045245927758a89dede5c087f (patch)
tree28bdb644e77e840a33bb14a384ce56b5f4c6b92b /media-video/noad
parentx86 stable wrt bug #322911 (diff)
downloadgentoo-2-388e019e4112d01045245927758a89dede5c087f.tar.gz
gentoo-2-388e019e4112d01045245927758a89dede5c087f.tar.bz2
gentoo-2-388e019e4112d01045245927758a89dede5c087f.zip
do not ignore cxxflags and fix build with ffmpeg-0.6
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-video/noad')
-rw-r--r--media-video/noad/ChangeLog6
-rw-r--r--media-video/noad/files/patches-0.7.x/noad-0.7.2-cflags.patch12
-rw-r--r--media-video/noad/noad-0.7.2.ebuild8
3 files changed, 23 insertions, 3 deletions
diff --git a/media-video/noad/ChangeLog b/media-video/noad/ChangeLog
index 00d3e00ae95b..80566f534670 100644
--- a/media-video/noad/ChangeLog
+++ b/media-video/noad/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/noad
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.43 2010/03/27 20:37:47 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.44 2010/06/16 14:19:32 aballier Exp $
+
+ 16 Jun 2010; Alexis Ballier <aballier@gentoo.org>
+ +files/patches-0.7.x/noad-0.7.2-cflags.patch, noad-0.7.2.ebuild:
+ do not ignore cxxflags and fix build with ffmpeg-0.6
27 Mar 2010; Joerg Bornkessel <hd_brummy@gentoo.org>
-noad-0.7.0.20100119.ebuild, -noad-0.7.1-r1.ebuild:
diff --git a/media-video/noad/files/patches-0.7.x/noad-0.7.2-cflags.patch b/media-video/noad/files/patches-0.7.x/noad-0.7.2-cflags.patch
new file mode 100644
index 000000000000..5e67e6814542
--- /dev/null
+++ b/media-video/noad/files/patches-0.7.x/noad-0.7.2-cflags.patch
@@ -0,0 +1,12 @@
+Index: noad-0.7.2/configure.ac
+===================================================================
+--- noad-0.7.2.orig/configure.ac
++++ noad-0.7.2/configure.ac
+@@ -267,7 +267,6 @@ AC_FUNC_STRFTIME
+ AC_CHECK_FUNCS([gettimeofday localtime_r memmove memset mkdir select socket strchr strdup strerror strrchr strstr])
+ AC_CHECK_FUNCS([strsignal])
+ #CXXFLAGS='-g -O3 -pg'
+-CXXFLAGS='-g -O3'
+
+ dnl ---------------------------------------------------------------------------
+ dnl check for a usable avcodec.h
diff --git a/media-video/noad/noad-0.7.2.ebuild b/media-video/noad/noad-0.7.2.ebuild
index 4fe4bab7701d..36893ae2b920 100644
--- a/media-video/noad/noad-0.7.2.ebuild
+++ b/media-video/noad/noad-0.7.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/noad-0.7.2.ebuild,v 1.1 2010/03/24 20:20:27 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/noad-0.7.2.ebuild,v 1.2 2010/06/16 14:19:32 aballier Exp $
EAPI="2"
-inherit eutils
+inherit eutils flag-o-matic autotools
DESCRIPTION="Mark commercial Breaks in VDR records"
HOMEPAGE="http://noad.heliohost.org/"
@@ -22,6 +22,10 @@ DEPEND="media-libs/libmpeg2
src_prepare() {
epatch "${FILESDIR}"/patches-0.7.x/"${P}"-hangcheck.diff
+ epatch "${FILESDIR}"/patches-0.7.x/"${P}"-cflags.patch
+ eautoreconf
+ # UINT64_C is needed by ffmpeg headers
+ append-flags -D__STDC_CONSTANT_MACROS
}
src_configure() {