aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2009-10-04 02:54:20 +0800
committerlme <lme@FreeBSD.org>2009-10-04 02:54:20 +0800
commit85261d62de211a63960d4d312961538f4434b352 (patch)
tree2be707cf4f7d3bc9bb487b358e3ffc7fe277f903
parent7bcf0f2d077ade39b48605147fc798f694392322 (diff)
downloadfreebsd-ports-gnome-85261d62de211a63960d4d312961538f4434b352.tar.gz
freebsd-ports-gnome-85261d62de211a63960d4d312961538f4434b352.tar.zst
freebsd-ports-gnome-85261d62de211a63960d4d312961538f4434b352.zip
- Fix pwcview crash when taking still images
- Bump PORTREVISION PR: ports/137265 Submitted by: Ralf Gebhart <gebhart (AT) burdawireless.com>
-rw-r--r--multimedia/pwcbsd/Makefile2
-rw-r--r--multimedia/pwcbsd/files/patch-pwcview.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/pwcbsd/Makefile b/multimedia/pwcbsd/Makefile
index d9a8523ba83c..0a312562f2a2 100644
--- a/multimedia/pwcbsd/Makefile
+++ b/multimedia/pwcbsd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pwcbsd
PORTVERSION= 1.4.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= multimedia sysutils kld
MASTER_SITES= http://raaf.atspace.org/ \
http://www.bsd-geek.de/FreeBSD/distfiles/ \
diff --git a/multimedia/pwcbsd/files/patch-pwcview.c b/multimedia/pwcbsd/files/patch-pwcview.c
new file mode 100644
index 000000000000..d0bd54bf9eaa
--- /dev/null
+++ b/multimedia/pwcbsd/files/patch-pwcview.c
@@ -0,0 +1,11 @@
+--- ./pwcview.c.orig 2009-10-03 20:45:17.711703547 +0200
++++ ./pwcview.c 2009-10-03 20:46:00.814254980 +0200
+@@ -837,6 +837,8 @@
+ jdata[1] = jimage[1];
+ jdata[2] = jimage[2];
+
++ cinfo->raw_data_in = TRUE;
++ cinfo->do_fancy_downsampling = FALSE;
+ jpeg_stdio_dest(cinfo, outfile);
+ jpeg_start_compress(cinfo, TRUE);
+