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

Bug#648055: ruby1.9.1: Please include the following patch until next upstream version is released



Package: ruby1.9.1
Version: 1.9.3.0-1
Importance: important
Tags: patch, upstream, pending
User: debian-hurd@lists.debian.org
Usertags: hurd

In order to make ruby1.9.1 build properly PATH_MAX has to be defined to
allocate a fixed-length buffer for code to be run when the program is
dumping a backtrace.

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;

Thanks!




Reply to: