File goffice-0.8.17-win32.patch of Package mingw64-goffice

--- goffice-0.8.17/goffice/goffice.h	2010-05-17 23:57:56.000000000 +0200
+++ goffice-0.8.17/goffice/goffice.h	2011-09-05 15:27:09.039206708 +0200
@@ -32,7 +32,7 @@
 #endif
 
 #ifndef GO_VAR_DECL
-#  ifdef WIN32
+#  ifdef G_OS_WIN32
 #    ifdef GOFFICE_COMPILATION
 #      define GO_VAR_DECL __declspec(dllexport)
 #    else
--- goffice-0.8.17/goffice/utils/regutf8.c
+++ goffice-0.8.17/goffice/utils/regutf8.c
@@ -155,7 +155,7 @@ go_regcomp (GORegexp *gor, const char *p
 		default: return GO_REG_BADPAT;
 		}
 	} else {
-		gor->re_nsub = pcre_info (r, NULL, NULL);
+		gor->re_nsub = pcre_fullinfo (r, NULL, 0, NULL);
 		gor->nosub = (cflags & GO_REG_NOSUB) != 0;
 		return 0;
 	}
openSUSE Build Service is sponsored by