Ticket #25783: patch-configure-disablecheckbug.diff

File patch-configure-disablecheckbug.diff, 1.2 KB (added by nicos_pavlov@…, 14 years ago)
  • configure

    old new  
    30163016# csepdjvu affected by the bug is unable to use subsample ratio 12.
    30173017# Prior to pdf2djvu 0.5.0, pdf2djvu simply dissalowed subsample ratio 12 by
    30183018# itself.
    3019 echo 'P1 12 12' > conftest.458211.pbm
    3020 yes 0 | head -n 144 >> conftest.458211.pbm
    3021 "$djvulibre_bin_path/cjb2" conftest.458211.pbm conftest.458211.djvu
    3022 "$djvulibre_bin_path/ddjvu" -format=rle conftest.458211.djvu conftest.458211.sep
    3023 printf 'P6 1 1 255 xxx' >> conftest.458211.sep
    3024 "$djvulibre_bin_path/csepdjvu" conftest.458211.sep conftest.458211.djvu 2>/dev/null || djvulibre_bugs="$djvulibre_bugs 458211"
     3019#echo 'P1 12 12' > conftest.458211.pbm
     3020#yes 0 | head -n 144 >> conftest.458211.pbm
     3021#"$djvulibre_bin_path/cjb2" conftest.458211.pbm conftest.458211.djvu
     3022#"$djvulibre_bin_path/ddjvu" -format=rle conftest.458211.djvu conftest.458211.sep
     3023#printf 'P6 1 1 255 xxx' >> conftest.458211.sep
     3024#"$djvulibre_bin_path/csepdjvu" conftest.458211.sep conftest.458211.djvu 2>/dev/null || djvulibre_bugs="$djvulibre_bugs 458211"
    30253025
    30263026# Test for Debian bug #471149 <http://bugs.debian.org/471149>.
    30273027# djvused affected by the bug is unable to correctly set annotations.