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

[patches] Fix --with-bugurl for email addresses



I've applied this patch to make --with-bugurl work for URLs containing @ 
(generally email addresses).

Index: libc/manual/Makefile
===================================================================
--- libc/manual/Makefile	(revision 10129)
+++ libc/manual/Makefile	(working copy)
@@ -115,7 +115,8 @@
 pkgvers.texi: stamp-pkgvers
 stamp-pkgvers:
 	echo "@set PKGVERSION $(PKGVERSION)" > pkgvers-tmp
-	echo "@set REPORT_BUGS_TO $(REPORT_BUGS_TO)" >> pkgvers-tmp
+	echo "@set REPORT_BUGS_TO $(REPORT_BUGS_TO)" \
+	  | sed -e 's/@/@@/g' >> pkgvers-tmp
 	$(move-if-change) pkgvers-tmp pkgvers.texi
 	touch $@
 
Index: libc/ChangeLog.eglibc
===================================================================
--- libc/ChangeLog.eglibc	(revision 10129)
+++ libc/ChangeLog.eglibc	(working copy)
@@ -1,3 +1,8 @@
+2010-03-31  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* manual/Makefile (stamp-pkgvers): Substitute @@ for @ in
+	REPORT_BUGS_TO.
+
 2010-03-28  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* csu/Makefile: Include option-groups.mak.

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx