aboutsummaryrefslogtreecommitdiff
path: root/graphics/netpbm/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-07-18 11:11:29 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-07-18 11:11:29 +0000
commit3bbc108312c59a9d56e6bd7a9130f8572093caaf (patch)
tree8e56c67cbd222afd02e8ebaf5562ceb6431033ac /graphics/netpbm/files
parent4e0edf1034c6e05efb7571da455f2c7ff894a993 (diff)
downloadports-3bbc108312c59a9d56e6bd7a9130f8572093caaf.tar.gz
ports-3bbc108312c59a9d56e6bd7a9130f8572093caaf.zip
Notes
Diffstat (limited to 'graphics/netpbm/files')
-rw-r--r--graphics/netpbm/files/patch-jpeg.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/netpbm/files/patch-jpeg.c b/graphics/netpbm/files/patch-jpeg.c
new file mode 100644
index 000000000000..9722be16d2ea
--- /dev/null
+++ b/graphics/netpbm/files/patch-jpeg.c
@@ -0,0 +1,11 @@
+--- converter/ppm/ppmtompeg/jpeg.c.orig 2002-10-17 16:49:49.000000000 +0200
++++ converter/ppm/ppmtompeg/jpeg.c 2009-07-07 09:29:29.000000000 +0200
+@@ -481,7 +481,7 @@
+ #ifdef JPEG4
+ buffer_height = 8; /* could be 2, 4,8 rows high */
+ #else
+- buffer_height = cinfo.max_v_samp_factor * cinfo.min_DCT_scaled_size;
++ buffer_height = cinfo.max_v_samp_factor * cinfo.min_DCT_v_scaled_size;
+ #endif
+
+ for(cp=0,compptr = cinfo.comp_info;cp<cinfo.num_components;