Re: ruby1.9.1: diff for NMU version 1.9.3.0-2.1
Dear maintainer,
I've prepared an NMU for ruby1.9.1 (versioned as 1.9.3.0-2.1), just
using the git commit that fixes Hurd FTBFS, and uploaded it to
DELAYED/5. Please feel free to tell me if I should delay it longer.
Regards.
diff -Nru ruby1.9.1-1.9.3.0/debian/changelog ruby1.9.1-1.9.3.0/debian/changelog
--- ruby1.9.1-1.9.3.0/debian/changelog 2011-12-19 21:35:50.000000000 +0100
+++ ruby1.9.1-1.9.3.0/debian/changelog 2012-04-26 19:06:11.000000000 +0200
@@ -1,3 +1,10 @@
+ruby1.9.1 (1.9.3.0-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add hurd-path-max.diff. Fixes FTBFS on Hurd. Closes: #648055
+
+ -- Samuel Thibault <sthibault@debian.org> Thu, 26 Apr 2012 18:51:03 +0200
+
ruby1.9.1 (1.9.3.0-2) unstable; urgency=low
* gcc's #635126 requiring -fno-tree-sra has been fixed.
diff -Nru ruby1.9.1-1.9.3.0/debian/patches/hurd-path-max.diff ruby1.9.1-1.9.3.0/debian/patches/hurd-path-max.diff
--- ruby1.9.1-1.9.3.0/debian/patches/hurd-path-max.diff 1970-01-01 01:00:00.000000000 +0100
+++ ruby1.9.1-1.9.3.0/debian/patches/hurd-path-max.diff 2012-04-26 19:06:11.000000000 +0200
@@ -0,0 +1,16 @@
+Debian-bug: #648055
+Upstream backport from trunk:
+http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/addr2line.c?r1=32461&r2=33675
+
+--- trunk/addr2line.c 2011/07/08 12:23:10 32461
++++ trunk/addr2line.c 2011/11/08 14:31:56 33675
+@@ -68,6 +68,9 @@
+ # define ElfW(x) Elf32##_##x
+ # endif
+ #endif
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
+
+ typedef struct {
+ const char *dirname;
diff -Nru ruby1.9.1-1.9.3.0/debian/patches/series ruby1.9.1-1.9.3.0/debian/patches/series
--- ruby1.9.1-1.9.3.0/debian/patches/series 2011-12-19 21:21:11.000000000 +0100
+++ ruby1.9.1-1.9.3.0/debian/patches/series 2012-04-26 19:06:11.000000000 +0200
@@ -15,3 +15,4 @@
110829-freebsd_assert_normal_exit.patch
110829-hurd_dirent_usage.patch
sparc-continuations.diff
+hurd-path-max.diff
Reply to: