gst-plugins-good: Fix build

http://hydra.nixos.org/build/3891290
This commit is contained in:
Eelco Dolstra 2013-01-28 17:43:05 +01:00
parent dbedbdc939
commit 163c1d3acf
2 changed files with 15 additions and 2 deletions

View File

@ -5,16 +5,18 @@
}:
stdenv.mkDerivation rec {
name = "gst-plugins-good-0.10.30";
name = "gst-plugins-good-0.10.31";
src = fetchurl {
urls = [
"${meta.homepage}/src/gst-plugins-good/${name}.tar.bz2"
"mirror://gentoo/distfiles/${name}.tar.bz2"
];
sha256 = "1xlmw211fcn60y2m5gxrryb3knqril4kk2c01b6j713xna8blb5i";
sha256 = "1ijswgcrdp243mfsyza31fpzq6plz40p4b83vkr2x4x7807889vy";
};
patches = [ ./v4l.patch ];
configureFlags = "--disable-oss";
buildInputs =

View File

@ -0,0 +1,11 @@
diff -ru -x '*~' gst-plugins-good-0.10.31-orig/sys/v4l2/gstv4l2bufferpool.c gst-plugins-good-0.10.31/sys/v4l2/gstv4l2bufferpool.c
--- gst-plugins-good-0.10.31-orig/sys/v4l2/gstv4l2bufferpool.c 2011-12-30 14:59:13.000000000 +0100
+++ gst-plugins-good-0.10.31/sys/v4l2/gstv4l2bufferpool.c 2013-01-28 17:41:25.549523708 +0100
@@ -181,7 +181,6 @@
GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u",
ret->vbuffer.m.offset);
GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length);
- GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input);
data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd,