3 changed files with 3 additions and 69 deletions
			
			
		@ -1,35 +0,0 @@ | 
				
			|||||||
# --- 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;
 | 
					 | 
				
			||||||
@ -1,31 +0,0 @@ | 
				
			|||||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
 | 
					 | 
				
			||||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# Filename: package/.../dia/skipdoc.patch
 | 
					 | 
				
			||||||
# Copyright (C) 2007 The OpenSDE 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 ---
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Creating manpages leads to using external resouces. This results in an error.
 | 
					 | 
				
			||||||
So for the time being let's skip creating manpages (doc).
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
--- dia-0.96.1/Makefile.in.original	2007-06-27 09:55:31.000000000 +0200
 | 
					 | 
				
			||||||
+++ dia-0.96.1/Makefile.in	2007-06-27 09:56:06.000000000 +0200
 | 
					 | 
				
			||||||
@@ -301,7 +301,7 @@
 | 
					 | 
				
			||||||
 sysconfdir = @sysconfdir@
 | 
					 | 
				
			||||||
 target_alias = @target_alias@
 | 
					 | 
				
			||||||
 uidatadir = @uidatadir@
 | 
					 | 
				
			||||||
-SUBDIRS = lib objects plug-ins shapes app samples po sheets data doc tests
 | 
					 | 
				
			||||||
+SUBDIRS = lib objects plug-ins shapes app samples po sheets data tests
 | 
					 | 
				
			||||||
 gnomedatadir = $(datadir)
 | 
					 | 
				
			||||||
 pkgdata_DATA = dia_logo.png
 | 
					 | 
				
			||||||
 pixmapdir = $(gnomedatadir)/pixmaps
 | 
					 | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue