glib2/glib2-fix-regex-build.patch
OBS User autobuild 4124b60b08 Accepting request 50426 from GNOME:Factory
Copy from GNOME:Factory/glib2 based on submit request 50426 from user dimstar

OBS-URL: https://build.opensuse.org/request/show/50426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=91
2010-10-14 14:41:47 +00:00

26 lines
703 B
Diff

commit ac05f990db211a27a950d61ef4bf47335ced7cc4
Author: Ryan Lortie <desrt@desrt.ca>
Date: Sat Sep 18 12:52:58 2010 -0400
Fix header cleaup fallout when using system pcre
Using the internal pcre has the side effect of exposing gregex.c to
glib.h. When we use the system one, we lose that, so we need to
explicitly include the things we use (glist, gatomic, etc..)
diff --git a/glib/gregex.c b/glib/gregex.c
index f21fbe8..b62bda7 100644
--- a/glib/gregex.c
+++ b/glib/gregex.c
@@ -32,6 +32,10 @@
#include "gtypes.h"
#include "gregex.h"
#include "glibintl.h"
+#include "glist.h"
+#include "gmessages.h"
+#include "gstrfuncs.h"
+#include "gatomic.h"
/**
* SECTION:gregex