Package: netpbm
Version: 2:10.0-12
Severity: important

Hello Andreas,

Please apply the following patch that allow netpbm to build with
both libjpeg62-dev and libjpeg7-dev.
Please also change the Build-Depends to 'libjpeg-dev' (without the version
indication).

This will make the transition to libjpeg7-dev easier.

Cheers,
-- 
Bill. <[email protected]>

Imagine a large red swirl here. 
diff -u netpbm-free-10.0/debian/changelog netpbm-free-10.0/debian/changelog
--- netpbm-free-10.0/debian/changelog
+++ netpbm-free-10.0/debian/changelog
@@ -1,3 +1,9 @@
+netpbm-free (2:10.0-13) unstable; urgency=low
+
+  * Apply patch for compatibility with libjpeg7.
+
+ -- Bill Allombert <[email protected]>  Fri, 11 Sep 2009 20:31:34 +0200
+
 netpbm-free (2:10.0-12) unstable; urgency=medium
 
   * Reupload to unstable.
only in patch2:
unchanged:
--- netpbm-free-10.0.orig/ppm/ppmtompeg/jpeg.c
+++ netpbm-free-10.0/ppm/ppmtompeg/jpeg.c
@@ -480,6 +480,8 @@
   /* Make an 8-row-high sample array that will go away when done with image */
 #ifdef JPEG4
   buffer_height = 8;  /* could be 2, 4,8 rows high */
+#elif JPEG_LIB_VERSION >= 70
+  buffer_height = cinfo.max_v_samp_factor * cinfo.min_DCT_v_scaled_size;
 #else
   buffer_height = cinfo.max_v_samp_factor * cinfo.min_DCT_scaled_size;
 #endif

Reply via email to