[前][次][番号順一覧][スレッド一覧]

ruby-changes:40273

From: usa <ko1@a...>
Date: Thu, 29 Oct 2015 22:57:09 +0900 (JST)
Subject: [ruby-changes:40273] usa:r52354 (ruby_2_1): merge revision(s) 52124: [Backport #11591]

usa	2015-10-29 22:56:42 +0900 (Thu, 29 Oct 2015)

  New Revision: 52354

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52354

  Log:
    merge revision(s) 52124: [Backport #11591]
    
    * configure.in: check for libunwind.h, which is not available in
      very old OS X SDK.  [ruby-core:71080] [Bug #11591]

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/configure.in
    branches/ruby_2_1/version.h
    branches/ruby_2_1/vm_dump.c
Index: ruby_2_1/configure.in
===================================================================
--- ruby_2_1/configure.in	(revision 52353)
+++ ruby_2_1/configure.in	(revision 52354)
@@ -2850,6 +2850,7 @@ AS_CASE(["$target_cpu-$target_os"], https://github.com/ruby/ruby/blob/trunk/ruby_2_1/configure.in#L2850
     AC_CHECK_HEADERS([execinfo.h])
     if test "x$ac_cv_header_execinfo_h" = xyes; then
 	AC_CHECK_LIB([execinfo], [backtrace])
+	AC_CHECK_HEADERS([libunwind.h])
     fi],
 [*-freebsd*|x86_64-netbsd*], [
     AC_CHECK_HEADERS([execinfo.h])
Index: ruby_2_1/ChangeLog
===================================================================
--- ruby_2_1/ChangeLog	(revision 52353)
+++ ruby_2_1/ChangeLog	(revision 52354)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1
+Thu Oct 29 22:56:01 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in: check for libunwind.h, which is not available in
+	  very old OS X SDK.  [ruby-core:71080] [Bug #11591]
+
 Thu Oct 29 22:51:59 2015  Masatoshi SEKI  <m_seki@m...>
 
 	* test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 52353)
+++ ruby_2_1/version.h	(revision 52354)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.8"
 #define RUBY_RELEASE_DATE "2015-10-29"
-#define RUBY_PATCHLEVEL 406
+#define RUBY_PATCHLEVEL 407
 
 #define RUBY_RELEASE_YEAR 2015
 #define RUBY_RELEASE_MONTH 10
Index: ruby_2_1/vm_dump.c
===================================================================
--- ruby_2_1/vm_dump.c	(revision 52353)
+++ ruby_2_1/vm_dump.c	(revision 52354)
@@ -435,7 +435,7 @@ rb_vmdebug_thread_dump_state(VALUE self) https://github.com/ruby/ruby/blob/trunk/ruby_2_1/vm_dump.c#L435
 # if HAVE_LIBUNWIND
 #  undef backtrace
 #  define backtrace unw_backtrace
-# elif defined(__APPLE__) && defined(__x86_64__)
+# elif defined(__APPLE__) && defined(__x86_64__) && defined(HAVE_LIBUNWIND_H)
 #  define UNW_LOCAL_ONLY
 #  include <libunwind.h>
 #  undef backtrace

Property changes on: ruby_2_1
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r52124


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]