summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-23 20:19:53 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-23 20:19:53 +0000
commit583e627e3e4e1eb85a4ec96ebbcb72b25715328a (patch)
tree03125d37796a545ecca583630b8f334a9e860a94 /media-video/alevt
parentRemove old. (diff)
downloadhistorical-583e627e3e4e1eb85a4ec96ebbcb72b25715328a.tar.gz
historical-583e627e3e4e1eb85a4ec96ebbcb72b25715328a.tar.bz2
historical-583e627e3e4e1eb85a4ec96ebbcb72b25715328a.zip
old
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64
Diffstat (limited to 'media-video/alevt')
-rw-r--r--media-video/alevt/ChangeLog9
-rw-r--r--media-video/alevt/Manifest26
-rw-r--r--media-video/alevt/alevt-1.6.1-r1.ebuild48
-rw-r--r--media-video/alevt/alevt-1.6.1-r3.ebuild50
-rw-r--r--media-video/alevt/alevt-1.6.1-r4.ebuild51
-rw-r--r--media-video/alevt/files/alevt-1.6.1-gcc4.patch25
-rw-r--r--media-video/alevt/files/alevt-1.6.1-gentoo.diff21
-rw-r--r--media-video/alevt/files/alevt-1.6.1-respectflags.patch44
-rw-r--r--media-video/alevt/files/alevt-1.6.1-v4l2.patch42
-rw-r--r--media-video/alevt/files/alevt-1.6.1-vbi.patch11
10 files changed, 18 insertions, 309 deletions
diff --git a/media-video/alevt/ChangeLog b/media-video/alevt/ChangeLog
index 5c79f27e6a69..db516f79ad45 100644
--- a/media-video/alevt/ChangeLog
+++ b/media-video/alevt/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/alevt
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/alevt/ChangeLog,v 1.32 2011/10/04 21:34:32 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/alevt/ChangeLog,v 1.33 2011/10/23 20:19:53 ssuominen Exp $
+
+ 23 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> -alevt-1.6.1-r1.ebuild,
+ -alevt-1.6.1-r3.ebuild, -alevt-1.6.1-r4.ebuild,
+ -files/alevt-1.6.1-gcc4.patch, -files/alevt-1.6.1-gentoo.diff,
+ -files/alevt-1.6.1-respectflags.patch, -files/alevt-1.6.1-v4l2.patch,
+ -files/alevt-1.6.1-vbi.patch:
+ old
04 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> alevt-1.6.2.ebuild:
x86 stable wrt bug #385199
diff --git a/media-video/alevt/Manifest b/media-video/alevt/Manifest
index 0a839ebb312c..82c4ba93f367 100644
--- a/media-video/alevt/Manifest
+++ b/media-video/alevt/Manifest
@@ -1,26 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
-AUX alevt-1.6.1-gcc4.patch 658 RMD160 c642d3c9282fe94854ad33d8f261c892ab2fb1f4 SHA1 c8767d575a6b0cc8513dcdcefb774231a7d8b1f9 SHA256 32cda1f82cc7e844842bf1803b2f79a03dc8ba0d2ef4a929f59dc3aaa186e175
-AUX alevt-1.6.1-gentoo.diff 734 RMD160 3686fc92095ccb8a00d9714aca7a130956ae9e8f SHA1 6068619443b04f9865c94c1b56c594042119ddae SHA256 f6ea36b1856241077db6379488aae9e4a33a5f3d089204b64fb50319bdcce73a
-AUX alevt-1.6.1-respectflags.patch 1393 RMD160 331c947593704211f278d6e401a0b3e2b2556617 SHA1 1877d4c479e81888a6730020a01d86c077ad47c3 SHA256 34c0df3e80a5bf04f4d9127d3487f9de92bbfca3037cedd52214d1df2d94afce
-AUX alevt-1.6.1-v4l2.patch 1328 RMD160 0307eaa492a955f0c1acd4252316b15545d6d859 SHA1 6236f5dfc83211bb3285febc302c01f8be9eb61d SHA256 eb1ffed392f1b91e84d39fd9f3d9dc6312c900e988336583bd0a1c83b471b902
-AUX alevt-1.6.1-vbi.patch 219 RMD160 b6172f8382dbe7d0eadb9c731da59d26fd911568 SHA1 05134720ff0cb59c6e6cdfb44705702bb86ef730 SHA256 35bd7aa7f6b5bf975e17f3b2a003e008697d6f4f61d217e980bedd5ae89636ff
AUX alevt-1.6.2-libpng15.patch 179 RMD160 712c14fbad5e17b4778a2697bb7beb18bfcbb072 SHA1 773603d8a11a5c885f841d21117c4610e80efe29 SHA256 686d2d0720ac880a1ced5b29ae0cb454553178e5c53ded94dcc6289e3415b126
AUX alevt-1.6.2-respectflags.patch 1178 RMD160 486b334cb1276d16c9265223022f03a81ff41078 SHA1 2bdce50ba3f2f084393e55d05156626e481cd6cb SHA256 92151dafd890b0a04cf2f7ac1631b7812406fb51d072b93c1d9c0e10aa3aa135
-DIST alevt-1.6.1.tar.gz 117731 RMD160 9c38525387140610c17fc474c87896aa74cb877d SHA1 0dffba71b911e79fce34a2e6aba9bf69c8a71d28 SHA256 38a3cf23afd48970ee2bc0c63d2152614082cefc7b5ab346c5f4cda22ea707b7
DIST alevt-1.6.2.tar.gz 133234 RMD160 19bab54e5d5c22cd18d73229524ddc87636850ab SHA1 17f661a22f11f648215efd8d73e1b4dc4a06c5e2 SHA256 9347c2af4b528edec87df8a424ddccebcc252ca7a06f6b18310733cfa547e5f5
-DIST alevt-dvb.patch 55489 RMD160 5395099049854ff39c0bf6006a93116b0c1f3b35 SHA1 7c6bea5638f636b47758fdfe7d86c033db5919a8 SHA256 22c2c411096c04e1fa61f5486e3ddf3bf944e92ea452ab5c86f8580dd7020b84
-EBUILD alevt-1.6.1-r1.ebuild 1224 RMD160 08a6aa04101e4f84d6f93a726ea24e95bc5f0047 SHA1 af80d18a655fdeec663052ad9f52161daf4bf786 SHA256 c4dfd27cf4287ee06e92b991c38bd36ab9952f5124807c239634ba3e7769122b
-EBUILD alevt-1.6.1-r3.ebuild 1338 RMD160 928a6a58e6a6d877f6291283368c56501a0a33a9 SHA1 27ac9e0b3625250e9e6e170aa6878b7be59d445d SHA256 f2d983a0ae74506f8c7f7d52c17b0c1561b4f7176e056ab7827a59238a34c340
-EBUILD alevt-1.6.1-r4.ebuild 1379 RMD160 18bf8728143e2ce7485126ce1f597cd517258b4b SHA1 1b883c2e22bdc0d2d182171934910e7c7b8e1695 SHA256 54961c94ed623cdf2011ae5db0b91058f62ca8173996bd86f1b09d59f118022d
EBUILD alevt-1.6.2.ebuild 1127 RMD160 45845e7b5c08b1e8b70dc7a7ae9c975b2b22136e SHA1 dc5a4c158dc223e6288759b6c23ed9273007e089 SHA256 86bc81df7298bd75e130b5a4636374450bcebbfc08ed0b2ce63d11ca39c536a2
-MISC ChangeLog 5269 RMD160 2aaa672412ce74b896cafccfbbce9811c4d19311 SHA1 cce4354370ad078b2a967de9dc0bad2594844a3c SHA256 b4a15181aa27afd6cbc86fb62dbea8344dbb9a082202bc509be3a10cbb3af377
+MISC ChangeLog 5572 RMD160 17a0538b85fbea40401b91c890405b2587a6e0d1 SHA1 b021091718509eda87523550a6b2446b9fe38c4c SHA256 612b0f4ab63bf353fcccd3f31600ec2b9c9ea0a51e4115eb8a9ea04d2cf9c0c6
MISC metadata.xml 161 RMD160 fee76f69ba822cd04301c58fa0c26ecaf8cc8fb9 SHA1 0aee2176f15a238a6d8fbbf83e4e0fd58653a3fa SHA256 82d33b3ca60662bc745d30d53bb20d04ea588d5aae556ed16efcacdcc37fd4bd
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEAREKAAYFAk6Le+4ACgkQuUQtlDBCeQKKHQCeL6mWuE4hTlD32stFw6toUOQR
-GgYAn19c0K6z2JTb5CcEKR9A/FMGL2eZ
-=iXyS
+iQEcBAEBAgAGBQJOpHa7AAoJEEdUh39IaPFND/0H/0x1pRWZFYgsTUrVvGCw/rzD
+oj258ICAbo9cRKIzBXNFr7M/ehOfglPB71/4I7Axnr6XrHuI/2CkhFk7yVc8liWw
+A37i5ZCtIh+PQlsJwMCDYSOsJCxrUuXHDk93CwHfa5+t05wziVmeY5792KtvSZBK
+7d6w43G8dz5Is0XtSGCG5K7dyiyFbeiNItA4FPqysHchd70q3JUhf7wkFN+CnIJz
+sFXb1N3efnWYkFqrpOL4z+ZshgilBds/YL6np0M+e4+Fnt/78/wyzjC+UQvBB/0N
+GjdDxIFAAfNY39RwnFuP5MP5Sd0Y4zrwyGQWNa99l/tIqGISSTW5B1HHHqoaqUg=
+=XilO
-----END PGP SIGNATURE-----
diff --git a/media-video/alevt/alevt-1.6.1-r1.ebuild b/media-video/alevt/alevt-1.6.1-r1.ebuild
deleted file mode 100644
index 898d0f44a07b..000000000000
--- a/media-video/alevt/alevt-1.6.1-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/alevt/alevt-1.6.1-r1.ebuild,v 1.6 2007/11/27 11:58:57 zzam Exp $
-
-inherit eutils
-
-DESCRIPTION="Teletext viewer for X11"
-HOMEPAGE="http://www.goron.de/~froese/"
-SRC_URI="http://www.ibiblio.org/pub/Linux/apps/video/${P}.tar.gz
- http://fresh.t-systems-sfr.com/linux/src/${P}.tar.gz
- http://www.baycom.org/~tom/${PN}-dvb.patch"
-
-IUSE=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc x86"
-
-RDEPEND="x11-libs/libX11
- >=media-libs/libpng-1.0.12"
-
-DEPEND="${RDEPEND}
- x11-proto/xproto"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e "s:^OPT=.*:OPT = ${CFLAGS} -s:" Makefile
- epatch "${FILESDIR}"/${P}-gentoo.diff
- epatch "${FILESDIR}"/${P}-gcc4.patch
- epatch "${DISTDIR}"/${PN}-dvb.patch
-}
-
-src_compile() {
- emake || die
-}
-
-src_install() {
- dobin alevt alevt-cap alevt-date
- doman alevt.1x alevt-date.1 alevt-cap.1
- dodoc CHANGELOG COPYRIGHT README
-
- insinto /usr/share/icons/hicolor/16x16/apps
- newins contrib/mini-alevt.xpm alevt.xpm
- insinto /usr/share/icons/hicolor/48x48/apps
- newins contrib/icon48x48.xpm alevt.xpm
-
- make_desktop_entry alevt "AleVT" alevt
-}
diff --git a/media-video/alevt/alevt-1.6.1-r3.ebuild b/media-video/alevt/alevt-1.6.1-r3.ebuild
deleted file mode 100644
index 99c63390b8ff..000000000000
--- a/media-video/alevt/alevt-1.6.1-r3.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/alevt/alevt-1.6.1-r3.ebuild,v 1.5 2007/11/27 11:58:57 zzam Exp $
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="Teletext viewer for X11"
-HOMEPAGE="http://www.goron.de/~froese/"
-SRC_URI="http://www.ibiblio.org/pub/Linux/apps/video/${P}.tar.gz
- http://fresh.t-systems-sfr.com/linux/src/${P}.tar.gz
- http://www.baycom.org/~tom/${PN}-dvb.patch"
-
-IUSE=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-
-RDEPEND="x11-libs/libX11
- >=media-libs/libpng-1.0.12"
-
-DEPEND="${RDEPEND}
- x11-proto/xproto"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-gentoo.diff"
- epatch "${FILESDIR}/${P}-gcc4.patch"
- epatch "${DISTDIR}/${PN}-dvb.patch"
- epatch "${FILESDIR}/${P}-v4l2.patch"
- epatch "${FILESDIR}/${P}-respectflags.patch"
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing
- emake CC="$(tc-getCC)" || die
-}
-
-src_install() {
- dobin alevt alevt-cap alevt-date
- doman alevt.1x alevt-date.1 alevt-cap.1
- dodoc CHANGELOG COPYRIGHT README
-
- insinto /usr/share/icons/hicolor/16x16/apps
- newins contrib/mini-alevt.xpm alevt.xpm
- insinto /usr/share/icons/hicolor/48x48/apps
- newins contrib/icon48x48.xpm alevt.xpm
-
- make_desktop_entry alevt "AleVT" alevt
-}
diff --git a/media-video/alevt/alevt-1.6.1-r4.ebuild b/media-video/alevt/alevt-1.6.1-r4.ebuild
deleted file mode 100644
index d3485460eeaf..000000000000
--- a/media-video/alevt/alevt-1.6.1-r4.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/alevt/alevt-1.6.1-r4.ebuild,v 1.4 2007/07/22 08:59:12 dberkholz Exp $
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="Teletext viewer for X11"
-HOMEPAGE="http://www.goron.de/~froese/"
-SRC_URI="http://www.ibiblio.org/pub/Linux/apps/video/${P}.tar.gz
- http://fresh.t-systems-sfr.com/linux/src/${P}.tar.gz
- http://www.baycom.org/~tom/${PN}-dvb.patch"
-
-IUSE=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc x86"
-
-RDEPEND="x11-libs/libX11
- >=media-libs/libpng-1.0.12"
-
-DEPEND="${RDEPEND}
- x11-proto/xproto"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-gentoo.diff"
- epatch "${FILESDIR}/${P}-gcc4.patch"
- epatch "${DISTDIR}/${PN}-dvb.patch"
- epatch "${FILESDIR}/${P}-v4l2.patch"
- epatch "${FILESDIR}/${P}-respectflags.patch"
- epatch "${FILESDIR}/${P}-vbi.patch"
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing
- emake CC="$(tc-getCC)" || die
-}
-
-src_install() {
- dobin alevt alevt-cap alevt-date
- doman alevt.1x alevt-date.1 alevt-cap.1
- dodoc CHANGELOG COPYRIGHT README
-
- insinto /usr/share/icons/hicolor/16x16/apps
- newins contrib/mini-alevt.xpm alevt.xpm
- insinto /usr/share/icons/hicolor/48x48/apps
- newins contrib/icon48x48.xpm alevt.xpm
-
- make_desktop_entry alevt "AleVT" alevt
-}
diff --git a/media-video/alevt/files/alevt-1.6.1-gcc4.patch b/media-video/alevt/files/alevt-1.6.1-gcc4.patch
deleted file mode 100644
index 868ba36f2f50..000000000000
--- a/media-video/alevt/files/alevt-1.6.1-gcc4.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -ur alevt-1.6.1/xio.c alevt-1.6.1-gcc4/xio.c
---- alevt-1.6.1/xio.c 2002-08-20 05:09:38.000000000 +0200
-+++ alevt-1.6.1-gcc4/xio.c 2005-07-28 15:08:53.281978632 +0200
-@@ -31,11 +31,12 @@
-
- static struct dl_head dpys[1]; /* list of all displays */
-
-+static void xio_timer();
-+static void handle_event();
-
- static int
- timer_init(int argc, char **argv)
- {
-- static void xio_timer();
- int p[2], timer_pid, i;
-
- if (pipe(p) == -1)
-@@ -160,7 +161,6 @@
- xio_open_dpy(char *dpy, int argc, char **argv)
- {
- XClassHint classhint[1];
-- static void handle_event(); //forward ref
- struct xio *xio;
-
- if (local_init(argc, argv) == -1)
diff --git a/media-video/alevt/files/alevt-1.6.1-gentoo.diff b/media-video/alevt/files/alevt-1.6.1-gentoo.diff
deleted file mode 100644
index bea603a9c251..000000000000
--- a/media-video/alevt/files/alevt-1.6.1-gentoo.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ru alevt-1.6.0.orig/main.c alevt-1.6.0/main.c
---- alevt-1.6.0.orig/main.c Sat Sep 16 23:34:18 2000
-+++ alevt-1.6.0/main.c Wed Apr 10 23:09:40 2002
-@@ -15,7 +15,7 @@
- /* current args for next start() */
- static char *geometry;
- static char *dpy_name;
--static char *vbi_name = "/dev/vbi";
-+static char *vbi_name = "/dev/v4l/vbi0";
- static struct xio *xio;
- static struct vbi *vbi;
- static int fine_tune = 1; // auto = 999;
-@@ -32,7 +32,7 @@
- " Valid options:\t\tDefault:\n"
- " --help\n"
- " --version\n"
-- " -vbi <vbidev>\t\t/dev/vbi\n"
-+ " -vbi <vbidev>\t\t/dev/v4l/vbi0\n"
- " -display <dpy>\t\t$DISPLAY\n"
- " -geometry <geo>\t\t41x25\n"
- " -finetune <-4..4|auto>\t0\n"
diff --git a/media-video/alevt/files/alevt-1.6.1-respectflags.patch b/media-video/alevt/files/alevt-1.6.1-respectflags.patch
deleted file mode 100644
index d8eafe504863..000000000000
--- a/media-video/alevt/files/alevt-1.6.1-respectflags.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Index: alevt-1.6.1/Makefile
-===================================================================
---- alevt-1.6.1.orig/Makefile
-+++ alevt-1.6.1/Makefile
-@@ -1,12 +1,11 @@
- VER=1.6.1
--OPT=-O2 -s
- #OPT=-O -g
- DEFS=-DWITH_PNG
- FONT=vtxt
- # a smaller and thinner font
- #FONT=neep9
-
--CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I/usr/X11R6/include -I/usr/local/include -W
-+CFLAGS+=-DVERSION=\"$(VER)\" $(DEFS)
-
- EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
- OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS)
-@@ -21,13 +20,13 @@ all: alevt alevt-date alevt-cap alevt.1x
- sync
-
- alevt: $(OBJS)
-- $(CC) $(OPT) $(OBJS) -o alevt -L/usr/X11R6/lib -lX11 $(EXPLIBS)
-+ $(CC) $(LDFLAGS) $(OPT) $(OBJS) -o alevt -L/usr/X11R6/lib -lX11 $(EXPLIBS)
-
- alevt-date: $(TOBJS)
-- $(CC) $(OPT) $(TOBJS) -o alevt-date
-+ $(CC) $(LDFLAGS) $(OPT) $(TOBJS) -o alevt-date
-
- alevt-cap: $(COBJS)
-- $(CC) $(OPT) $(COBJS) -o alevt-cap $(EXPLIBS)
-+ $(CC) $(LDFLAGS) $(OPT) $(COBJS) -o alevt-cap $(EXPLIBS)
-
- font.o: font1.xbm font2.xbm
- fontsize.h: font1.xbm font2.xbm
-@@ -40,7 +39,7 @@ font2.xbm: bdf2xbm $(FONT)-latin-2.bdf
- ./bdf2xbm font2 <$(FONT)-latin-2.bdf >font2.xbm
-
- bdf2xbm: bdf2xbm.c
-- $(CC) -O -s bdf2xbm.c -o bdf2xbm
-+ $(CC) $(CFLAGS) $(LDFLAGS) bdf2xbm.c -o bdf2xbm
-
- alevt.1x: alevt.1x.in
- sed s/VERSION/$(VER)/g <alevt.1x.in >alevt.1x
diff --git a/media-video/alevt/files/alevt-1.6.1-v4l2.patch b/media-video/alevt/files/alevt-1.6.1-v4l2.patch
deleted file mode 100644
index 04ca4f28ed49..000000000000
--- a/media-video/alevt/files/alevt-1.6.1-v4l2.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -ru alevt-1.6.1/vbi.c alevt/vbi.c
---- alevt-1.6.1/vbi.c 2001-03-03 19:14:03.000000000 +0100
-+++ alevt/vbi.c 2005-08-09 00:32:22.000000000 +0200
-@@ -41,15 +41,17 @@
- struct v4l2_format
- {
- u32 type; /* V4L2_BUF_TYPE_* */
-+
- union
- {
-+ double dummy_to_force_correct_64_bit_alignment;
- struct v4l2_vbi_format vbi; /* VBI data */
- u8 raw_data[200]; /* user-defined */
- } fmt;
- };
-
- #define V4L2_VBI_SF_UBYTE 1
--#define V4L2_BUF_TYPE_VBI 0x00000009
-+#define V4L2_BUF_TYPE_VBI_CAPTURE 0x00000004
- #define VIDIOC_G_FMT _IOWR('V', 4, struct v4l2_format)
-
- /***** end of api definitions *****/
-@@ -468,7 +470,7 @@
- int soc, eoc; // start/end of clock run-in
- int bpl; // bytes per line
-
-- if (p->sample_format != V4L2_VBI_SF_UBYTE)
-+ if (0 && p->sample_format != V4L2_VBI_SF_UBYTE)
- {
- error("v4l2: unsupported vbi data format");
- return -1;
-@@ -526,8 +528,9 @@
- struct v4l2_format v4l2_format[1];
- struct v4l2_vbi_format *vbifmt = &v4l2_format->fmt.vbi;
-
-+ v4l2_format[0].type = V4L2_BUF_TYPE_VBI_CAPTURE;
- if (ioctl(vbi->fd, VIDIOC_G_FMT, v4l2_format) == -1
-- || v4l2_format->type != V4L2_BUF_TYPE_VBI)
-+ || v4l2_format->type != V4L2_BUF_TYPE_VBI_CAPTURE)
- {
- // not a v4l2 device. assume bttv and create a standard fmt-struct.
- int size;
diff --git a/media-video/alevt/files/alevt-1.6.1-vbi.patch b/media-video/alevt/files/alevt-1.6.1-vbi.patch
deleted file mode 100644
index 71a2e9752b91..000000000000
--- a/media-video/alevt/files/alevt-1.6.1-vbi.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- vbi.c 2001-03-03 19:14:03.000000000 +0100
-+++ vbi.c.new 2006-06-19 23:43:29.000000000 +0200
-@@ -555,6 +555,8 @@
- }
- }
-
-+ vbifmt->offset = 244;
-+
- if (set_decode_parms(vbi, vbifmt) == -1)
- return -1;
-