File gnome-vfs-2.24.0-build.patch of Package mingw64-gnome-vfs2

--- gnome-vfs-2.24.0/schemas/Makefile.am	2008-09-14 13:24:44.000000000 +0200
+++ gnome-vfs-2.24.0/schemas/Makefile.am	2009-01-12 02:00:48.000000000 +0100
@@ -12,28 +12,12 @@
 
 # don't do this if we are building in eg. rpm
 if GCONF_SCHEMAS_INSTALL
-if OS_WIN32
-# Work around MSYS feature. If we pass GCONF_CONFIG_SOURCE as an
-# environment variable, MSYS is "helpful" and thinks the colons in the
-# variable means that is is a search path, and changes the colons into
-# semicolons and slashes into backslashes. Usually this feature is
-# useful, but not this time.
-install-data-local:
-	if test -z "$(DESTDIR)" ; then \
-		for p in $(schema_DATA) ; do \
-			(echo set GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE); \
-			 echo $(GCONFTOOL) --makefile-install-rule $$p) >_temp.bat; \
-			cmd /c _temp.bat; \
-		done \
-	fi
-else
 install-data-local:
 	if test -z "$(DESTDIR)" ; then \
 		for p in $(schema_DATA) ; do \
 			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p; \
 		done \
 	fi
-endif
 else
 install-data-local:
 endif
--- gnome-vfs-2.24.0/imported/neon/ne_defs.h	2008-09-14 13:24:45.000000000 +0200
+++ gnome-vfs-2.24.0/imported/neon/ne_defs.h	2009-01-12 01:56:37.000000000 +0100
@@ -30,8 +30,12 @@
 #endif
 
 /* define ssize_t for Win32 */
-#if defined(WIN32) && !defined(ssize_t)
-#define ssize_t int
+#include <sys/types.h>
+#ifdef WIN32
+#  include <sys/types.h>
+#  ifndef ssize_t
+#    define ssize_t int
+#  endif
 #endif
 
 #ifdef __GNUC__
--- gnome-vfs-2.24.0/libgnomevfs/gnome-vfs-address.c	2009-02-18 09:45:08.000000000 +0100
+++ gnome-vfs-2.24.0/libgnomevfs/gnome-vfs-address.c	2009-02-18 09:47:28.000000000 +0100
@@ -389,6 +389,12 @@
 }
 
 #ifdef ENABLE_IPV6
+
+#ifndef IN6_ARE_ADDR_EQUAL
+#define IN6_ARE_ADDR_EQUAL(a, b)	\
+    (memcmp ((void*)(a), (void*)(b), sizeof (struct in6_addr)) == 0)
+#endif
+
 static gboolean
 v6_v6_equal (const struct sockaddr_in6 *a,
 	     const struct sockaddr_in6 *b)
openSUSE Build Service is sponsored by