png.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Index: pngconf.h
  2. --- pngconf.h.orig 2009-05-07 18:05:28 +0200
  3. +++ pngconf.h 2009-05-08 10:22:24 +0200
  4. @@ -331,9 +331,9 @@
  5. # ifdef _SETJMP_H
  6. /* If you encounter a compiler error here, see the explanation
  7. * near the end of INSTALL.
  8. - */
  9. __pngconf.h__ in libpng already includes setjmp.h;
  10. __dont__ include it again.;
  11. + */
  12. # endif
  13. # endif /* __linux__ */
  14. # endif /* PNG_SKIP_SETJMP_CHECK */
  15. Index: scripts/libpng.pc-configure.in
  16. --- scripts/libpng.pc-configure.in.orig 2008-05-29 19:39:19 +0200
  17. +++ scripts/libpng.pc-configure.in 2009-05-08 10:21:50 +0200
  18. @@ -6,6 +6,6 @@
  19. Name: libpng
  20. Description: Loads and saves PNG files
  21. Version: @PNGLIB_VERSION@
  22. -Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
  23. -Libs.private: @LIBS@
  24. +Libs: -L${libdir} -lpng
  25. +Libs.private: -lz @LIBS@
  26. Cflags: -I${includedir} @LIBPNG_NO_MMX@
  27. Index: scripts/libpng.pc.in
  28. --- scripts/libpng.pc.in.orig 2009-05-07 18:05:35 +0200
  29. +++ scripts/libpng.pc.in 2009-05-08 10:21:50 +0200
  30. @@ -6,5 +6,6 @@
  31. Name: libpng
  32. Description: Loads and saves PNG files
  33. Version: 1.2.38
  34. -Libs: -L${libdir} -lpng12
  35. +Libs: -L${libdir} -lpng
  36. +Libs.private: -lz
  37. Cflags: -I${includedir}