tag 373679 + patch
thanks
* James Vega [Thu, 15 Jun 2006 00:43:54 -0400]:
> > ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'
> -rdynamic -Wl\,-export-dynamic
> This was working with libruby1.8 1.8.4-2. I'm not sure if the breakage
> occurred in 1.8.4-3 or -4, but I could probably test this tomorrow and
> report back.
Well, -3 FTBFS'ed everywhere except for the maintainer's upload (i386),
so... it's not very relevant. :)
Attached is a patch to fix this issue (tested). Mangling config.status
directly seems quite error prone to me, but well, nothing we can change.
Cheers,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Listening to: Los Planetas - Mis problemas con la justicia
diff -u ruby1.8-1.8.4/debian/changelog ruby1.8-1.8.4/debian/changelog
--- ruby1.8-1.8.4/debian/changelog
+++ ruby1.8-1.8.4/debian/changelog
@@ -1,3 +1,11 @@
+ruby1.8 (1.8.4-4.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Update debian/patches/903_mkconfig.rb.patch to unquote commas, unbreaking
+ CONFIG["LDFLAGS"]. (Closes: #373679)
+
+ -- Adeodato Simó <[EMAIL PROTECTED]> Fri, 16 Jun 2006 17:58:11 +0200
+
ruby1.8 (1.8.4-4) unstable; urgency=medium
* added debian/patches/903_mkconfig.rb.patch
diff -u ruby1.8-1.8.4/debian/patches/903_mkconfig.rb.patch
ruby1.8-1.8.4/debian/patches/903_mkconfig.rb.patch
--- ruby1.8-1.8.4/debian/patches/903_mkconfig.rb.patch
+++ ruby1.8-1.8.4/debian/patches/903_mkconfig.rb.patch
@@ -3,12 +3,14 @@
+- updated to unquote commas
+ (Closes: #373679)
--- ruby-1.8.4/mkconfig.rb 2006-06-10 06:40:15.000000000 +0900
+++ ruby-1.8.4/mkconfig.rb 2006-06-10 07:34:00.000000000 +0900
-@@ -37,6 +37,7 @@
+@@ -37,6 +37,8 @@
has_version = false
File.foreach "config.status" do |line|
next if /^#/ =~ line
+ line.gsub!(/\|\#_!!_\#\|/, '')
++ line.gsub!(/\,/, ',')
if /^s[%,[EMAIL PROTECTED]@[%,]s,(.*)/ =~ line
next if $install_name
- ptn = $1.sub(/\$\$/, '$').split(/,/) #'
-
+ ptn = $1.sub(/\$\$/, '$').split(/,/) #'