texlive-20131002-vine.patch 1.1 KB

1234567891011121314151617181920212223
  1. We use --with-system-libpng in configure options against libpng-1.2.50.
  2. --- texlive-source-20130823/texk/dvipdfm-x/configure.vine 2013-08-10 22:02:06.000000000 +0900
  3. +++ texlive-source-20130823/texk/dvipdfm-x/configure 2013-08-23 04:42:17.243610092 +0900
  4. @@ -15766,7 +15766,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
  5. int
  6. main ()
  7. {
  8. -png_const_structp png; png_const_infop info; int err;
  9. +png_structp png; png_infop info; int err;
  10. err=png_get_image_width(png, info);
  11. ;
  12. return 0;
  13. --- texlive-source-20130823/texk/dvipdfm-x/configure.ac.vine 2013-08-10 22:02:06.000000000 +0900
  14. +++ texlive-source-20130823/texk/dvipdfm-x/configure.ac 2013-08-23 04:41:00.326093739 +0900
  15. @@ -75,7 +75,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#inclu
  16. KPSE_ADD_FLAGS([libpng])
  17. AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <png.h>]],
  18. - [[png_const_structp png; png_const_infop info; int err;
  19. + [[png_structp png; png_infop info; int err;
  20. err=png_get_image_width(png, info);]])],
  21. [],
  22. [AC_MSG_ERROR([Sorry, you need libpng])])