        if (n < 13) {
  	code <<= 13 - n;
        }
-@@ -1963,6 +2011,12 @@
+@@ -1963,6 +2015,12 @@
      // allocate a buffer for the whole image
      bufWidth = ((width + mcuWidth - 1) / mcuWidth) * mcuWidth;
      bufHeight = ((height + mcuHeight - 1) / mcuHeight) * mcuHeight;

 
       for (x = 0; x < w; ++x) {
--- misc/xpdf-3.02/xpdf/JBIG2Stream.h	2007-02-27 23:05:52.000000000 +0100
+++ misc/build/xpdf-3.02/xpdf/JBIG2Stream.h	2009-04-22 19:21:14.293918758 +0200
@@ -78,6 +78,10 @@
 			     Guint *refSegs, Guint nRefSegs);
   void readGenericRegionSeg(Guint segNum, GBool imm,

 
   buf = EOF;
 }
@@ -1280,9 +1285,9 @@
   row = 0;
   nextLine2D = encoding < 0;
   inputBits = 0;
