build: Fix regular expression to extract dlname
authorColin Walters <walters@verbum.org>
Wed, 21 Sep 2011 16:13:31 +0000 (12:13 -0400)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Wed, 21 Sep 2011 17:35:20 +0000 (10:35 -0700)
The regex writer unintentially made a character range in ".-+".
This was always wrong, but it actively fails when LANG=C.

Closes: bgo#658002 - defective typelib

NEWS
folks/Makefile.am

diff --git a/NEWS b/NEWS
index c862e0a..72c5117 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Overview of changes from libfolks 0.6.3 to libfolks 0.6.4
 ===========================================================
 Bugs fixed:
 * Bug 658631 — Deprecate PersonaStore.can-[alias|group]-personas
+* Bug 658002 — defective typelib
 
 API changes:
 * Deprecate Folks.PersonaStore.can_[alias, group]_personas.
index ff6e391..7799a45 100644 (file)
@@ -121,7 +121,7 @@ MAINTAINERCLEANFILES =
 # We have to extract our own dlname from libfolks.la; see bgo#658002.
 # This is what g-ir-scanner does.
 libfolks_dlname = \
-       `$(SED) -n "s/^dlname='\([A-Za-z0-9.-+]\+\)'/\1/p" libfolks.la`
+       `$(SED) -n "s/^dlname='\([A-Za-z0-9.+-]\+\)'/\1/p" libfolks.la`
 
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =