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