File dia-0.97.1-mwindows.patch of Package mingw64-dia

--- dia-0.97.1/app/Makefile.am	2009-11-07 18:13:53.000000000 +0100
+++ dia-0.97.1/app/Makefile.am	2010-08-30 14:19:14.000000000 +0200
@@ -235,6 +235,9 @@
 if HAVE_GCC
 # OS X would like += rather than =, but Linux automake no like that.  Grrr.
 dia_LDFLAGS = -export-dynamic
+if OS_WIN32
+dia_LDFLAGS += -mwindows
+endif
 endif
 
 EXTRA_DIST = \
openSUSE Build Service is sponsored by