summaryrefslogtreecommitdiff
path: root/multimedia/pwcbsd
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2009-10-03 18:54:20 +0000
committerLars Engels <lme@FreeBSD.org>2009-10-03 18:54:20 +0000
commit1700809496aa2308dabeca7814e41dfa69d9ece9 (patch)
treea66f35565ce8deeff2f40bd18b0659239dba2063 /multimedia/pwcbsd
parentUpgrade to llvm trunk r83078. Bump the major version to 2.7 since 2.6 (diff)
- Fix pwcview crash when taking still images
- Bump PORTREVISION PR: ports/137265 Submitted by: Ralf Gebhart <gebhart (AT) burdawireless.com>
Notes
Notes: svn path=/head/; revision=242415
Diffstat (limited to 'multimedia/pwcbsd')
-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);
+