[folks] build: Fix regular expression to extract dlname



commit c5e2ce8c784018e5516e8578d1eb6c6bd086480b
Author: Colin Walters <walters verbum org>
Date:   Wed Sep 21 12:13:31 2011 -0400

    build: Fix regular expression to extract dlname
    
    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              |    1 +
 folks/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index c862e0a..72c5117 100644
--- 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.
diff --git a/folks/Makefile.am b/folks/Makefile.am
index ff6e391..7799a45 100644
--- a/folks/Makefile.am
+++ b/folks/Makefile.am
@@ -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 =



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]