summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2007-10-06 13:51:05 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2007-10-06 13:51:05 +0000
commitf32f414d97f94f6971b8157aae80a9ea03cf13f4 (patch)
tree131c61a9fa8095e397ebd873dcd3e19821cf55ac /media-video/dvdimagecmp
parentFix from Andrew Gaffney to tee output from emerge when using just --pretend #... (diff)
downloadgentoo-2-f32f414d97f94f6971b8157aae80a9ea03cf13f4.tar.gz
gentoo-2-f32f414d97f94f6971b8157aae80a9ea03cf13f4.tar.bz2
gentoo-2-f32f414d97f94f6971b8157aae80a9ea03cf13f4.zip
changed SRC_URI and HOMEPAGE, fixed compile warnings, added largefile-support and LDFLAGS.
(Portage version: 2.1.3.11)
Diffstat (limited to 'media-video/dvdimagecmp')
-rw-r--r--media-video/dvdimagecmp/ChangeLog9
-rw-r--r--media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild31
-rw-r--r--media-video/dvdimagecmp/files/digest-dvdimagecmp-0.3-r13
-rw-r--r--media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff23
4 files changed, 65 insertions, 1 deletions
diff --git a/media-video/dvdimagecmp/ChangeLog b/media-video/dvdimagecmp/ChangeLog
index 704abd9aca94..459962ad8ca6 100644
--- a/media-video/dvdimagecmp/ChangeLog
+++ b/media-video/dvdimagecmp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/dvdimagecmp
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/dvdimagecmp/ChangeLog,v 1.7 2007/07/19 06:59:21 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvdimagecmp/ChangeLog,v 1.8 2007/10/06 13:51:04 sbriesen Exp $
+
+*dvdimagecmp-0.3-r1 (06 Oct 2007)
+
+ 06 Oct 2007; Stefan Briesenick <sbriesen@gentoo.org>
+ +files/dvdimagecmp-0.3.diff, +dvdimagecmp-0.3-r1.ebuild:
+ changed SRC_URI and HOMEPAGE, fixed compile warnings, added
+ largefile-support and LDFLAGS.
*dvdimagecmp-0.3 (19 Jul 2007)
diff --git a/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild b/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild
new file mode 100644
index 000000000000..875f65026309
--- /dev/null
+++ b/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild,v 1.1 2007/10/06 13:51:04 sbriesen Exp $
+
+inherit eutils toolchain-funcs flag-o-matic
+
+IUSE=""
+
+DESCRIPTION="Tool to compare a burned DVD with an image to check for errors"
+HOMEPAGE="http://panteltje.com/panteltje/dvd/"
+SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}.diff"
+}
+
+src_compile() {
+ append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin dvdimagecmp
+ dodoc CHANGES README
+}
diff --git a/media-video/dvdimagecmp/files/digest-dvdimagecmp-0.3-r1 b/media-video/dvdimagecmp/files/digest-dvdimagecmp-0.3-r1
new file mode 100644
index 000000000000..187a8bf07a2f
--- /dev/null
+++ b/media-video/dvdimagecmp/files/digest-dvdimagecmp-0.3-r1
@@ -0,0 +1,3 @@
+MD5 e1c42f7b7c6ae96723f00d45173b7b3c dvdimagecmp-0.3.tgz 10483
+RMD160 19ae3eff959e3367f5e31db6e004441476647f1d dvdimagecmp-0.3.tgz 10483
+SHA256 453df95038dfa7cf5de679323d82963f62adbf39b72cc863542a05ae1dba25a1 dvdimagecmp-0.3.tgz 10483
diff --git a/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff b/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff
new file mode 100644
index 000000000000..95917293c130
--- /dev/null
+++ b/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff
@@ -0,0 +1,23 @@
+diff -Naur dvdimagecmp-0.3.orig/dvdimagecmp.c dvdimagecmp-0.3/dvdimagecmp.c
+--- dvdimagecmp-0.3.orig/dvdimagecmp.c 2005-01-04 14:54:52.000000000 +0100
++++ dvdimagecmp-0.3/dvdimagecmp.c 2007-10-06 15:36:34.000000000 +0200
+@@ -33,6 +33,7 @@
+ #include <errno.h>
+ #include <ctype.h>
+ #include <time.h>
++#include <string.h>
+
+ #define MAX_RETRIES 1
+ #define BUFFER_SIZE 2048*16
+diff -Naur dvdimagecmp-0.3.orig/Makefile dvdimagecmp-0.3/Makefile
+--- dvdimagecmp-0.3.orig/Makefile 2005-01-04 14:54:52.000000000 +0100
++++ dvdimagecmp-0.3/Makefile 2007-10-06 15:36:59.000000000 +0200
+@@ -13,7 +13,7 @@
+ # -ltermcap
+
+ a.out : $(OBJECT)
+- $(CC) -o dvdimagecmp $(OBJECT)
++ $(CC) $(LDFLAGS) -o dvdimagecmp $(OBJECT)
+
+ # DEPENDENCIES
+