OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dia/configure-fix.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- dia-0.94/configure.orig 2004-12-31 20:24:48.750816816 +0100
  17. +++ dia-0.94/configure 2004-12-31 20:25:19.817094024 +0100
  18. @@ -22377,7 +22377,7 @@
  19. #define HAVE_LIBPNG 1
  20. _ACEOF
  21. - LIBS="-lpng $LIBS"
  22. + LIBS="-lpng -lz -lm $LIBS"
  23. else
  24. png_ok=no
  25. @@ -22387,7 +22387,7 @@
  26. echo "$as_me:$LINENO: checking for png_structp in png.h" >&5
  27. echo $ECHO_N "checking for png_structp in png.h... $ECHO_C" >&6
  28. old_LDFLAGS="${LDFLAGS}"
  29. - LDFLAGS="${LDFLAGS} -lz -lm"
  30. + LDFLAGS="${LDFLAGS}"
  31. cat >conftest.$ac_ext <<_ACEOF
  32. #include <png.h>
  33. png_structp pp;