Skip to contentSkip to conversation

[2011.03-maintenance]

2011.03-maintenance Applied George C. Huntington III 2 participants 3 messages Jul 8, 2011 – Jul 9, 2011

lore
Share & tools
lore

George C. Huntington III

author Tested-by
#0 lore raw

Cherry-pick: 0f0ee32d7045bc75ce9759805d04874499f1c958

please add this to the 2011.03-maintenance branch (sorry, i think i screwed up my last attempt to send this request)

Robert Schuster (1):
cacao-native_hg: Fix cacao-shutdownguard.patch

 recipes/cacao/cacao-native_hg.bb              |    2 +-
 recipes/cacao/files/cacao-shutdownguard.patch |   32 +++++++++++++-----------
 2 files changed, 18 insertions(+), 16 deletions(-)
Signature · 1 line
1.7.4.1
#1 lore raw

[2011.03-maintenance] cacao-native_hg: Fix cacao-shutdownguard.patch

From: Robert Schuster <[email protected]>

The patch contained some left-over debug code which can result into problems if other programs (like configure) relays on the output of the JVM

---
 recipes/cacao/cacao-native_hg.bb              |    2 +-
 recipes/cacao/files/cacao-shutdownguard.patch |   32 +++++++++++++-----------
 2 files changed, 18 insertions(+), 16 deletions(-)
recipes/cacao/cacao-native_hg.bb +1 -1
index dc35ce8..020dee3 100644
@@ -1,7 +1,7 @@
 require cacao-native.inc
 
 PV = "1.1.0+hgr${SRCPV}"
-PR = "r4"
+PR = "r5"
 
 SRCREV = "c7bf150bfa46"
 SRC_URI = "hg://mips.complang.tuwien.ac.at/hg/;module=cacao;rev=${SRCREV} \
recipes/cacao/files/cacao-shutdownguard.patch +17 -15
index b89170c..b0d9d92 100644
@@ -1,6 +1,7 @@
-diff -r c7bf150bfa46 src/threads/posix/mutex-posix.hpp
---- a/src/threads/posix/mutex-posix.hpp	Fri Mar 11 23:35:56 2011 +0100
-+++ b/src/threads/posix/mutex-posix.hpp	Fri Apr 01 16:16:07 2011 +0200
+Index: cacao/src/threads/posix/mutex-posix.hpp
+===================================================================
+--- cacao.orig/src/threads/posix/mutex-posix.hpp	2011-03-08 13:13:00.000000000 +0100
++++ cacao/src/threads/posix/mutex-posix.hpp	2011-05-10 11:51:48.534869875 +0200
 @@ -53,6 +53,9 @@
  
  	inline void lock();
@@ -80,9 +81,10 @@ diff -r c7bf150bfa46 src/threads/posix/mutex-posix.hpp
  #else
  
  // This structure must have the same layout as the class above.
-diff -r c7bf150bfa46 src/threads/posix/thread-posix.cpp
---- a/src/threads/posix/thread-posix.cpp	Fri Mar 11 23:35:56 2011 +0100
-+++ b/src/threads/posix/thread-posix.cpp	Fri Apr 01 16:16:07 2011 +0200
+Index: cacao/src/threads/posix/thread-posix.cpp
+===================================================================
+--- cacao.orig/src/threads/posix/thread-posix.cpp	2011-03-17 10:41:29.000000000 +0100
++++ cacao/src/threads/posix/thread-posix.cpp	2011-05-10 11:51:48.534869875 +0200
 @@ -74,6 +74,23 @@
  #include "vm/string.hpp"
  #include "vm/vm.hpp"
@@ -107,9 +109,10 @@ diff -r c7bf150bfa46 src/threads/posix/thread-posix.cpp
  #if defined(ENABLE_STATISTICS)
  # include "vm/statistics.h"
  #endif
-diff -r c7bf150bfa46 src/vm/vm.cpp
---- a/src/vm/vm.cpp	Fri Mar 11 23:35:56 2011 +0100
-+++ b/src/vm/vm.cpp	Fri Apr 01 16:16:07 2011 +0200
+Index: cacao/src/vm/vm.cpp
+===================================================================
+--- cacao.orig/src/vm/vm.cpp	2011-03-17 10:41:29.000000000 +0100
++++ cacao/src/vm/vm.cpp	2011-05-10 11:56:36.564882762 +0200
 @@ -52,6 +52,7 @@
  
  #include "native/vm/nativevm.hpp"
@@ -141,12 +144,10 @@ diff -r c7bf150bfa46 src/vm/vm.cpp
  
  /* vm_run **********************************************************************
  
-@@ -1865,6 +1882,15 @@
+@@ -1865,6 +1882,13 @@
  
  void vm_shutdown(s4 status)
  {
-+	log_println("vm_shutdown");
-+
 +	if (VM::get_current()->shutdown_guard())
 +	{
 +		/* Shutdown in progress by another thread already.
@@ -157,9 +158,10 @@ diff -r c7bf150bfa46 src/vm/vm.cpp
  	if (opt_verbose 
  #if defined(ENABLE_STATISTICS)
  		|| opt_getcompilingtime || opt_stat
-diff -r c7bf150bfa46 src/vm/vm.hpp
---- a/src/vm/vm.hpp	Fri Mar 11 23:35:56 2011 +0100
-+++ b/src/vm/vm.hpp	Fri Apr 01 16:16:07 2011 +0200
+Index: cacao/src/vm/vm.hpp
+===================================================================
+--- cacao.orig/src/vm/vm.hpp	2011-03-08 13:13:00.000000000 +0100
++++ cacao/src/vm/vm.hpp	2011-05-10 11:51:48.554844342 +0200
 @@ -64,6 +64,7 @@
  	bool    _initializing;
  	bool    _created;
Signature · 1 line
1.7.4.1
Applied
#2 lore raw
In reply to George C. Huntington III

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · George C. Huntington III

Cherry-pick: 0f0ee32d7045bc75ce9759805d04874499f1c958

please add this to the 2011.03-maintenance branch (sorry, i think i screwed up my last attempt to send this request)

Quoted 6 lines

Robert Schuster (1):
cacao-native_hg: Fix cacao-shutdownguard.patch

 recipes/cacao/cacao-native_hg.bb              |    2 +-
 recipes/cacao/files/cacao-shutdownguard.patch |   32 +++++++++++++-----------
 2 files changed, 18 insertions(+), 16 deletions(-)

Applied, thanks!

- --
Tom Rini
Mentor Graphics Corporation
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOGHBNAAoJEI4NMjfc3nJxuOsH/1O/ZfgfQgeBC1LsPmlMFAIN KZZORUK8fr1fTnkX6ANcCm3vSGWlxLG+1M3K0tr877aQ6Zi9FCqfHQHwVo328wlW r/sU5sipDQksaIhRkbgjUSr2wojTDd2OLaHcn0SOGdQ30ZAOMffK+uh9p4SwUbDF ccVX9SyOJzS/jZ2JlbVzKGsVh9TeL0XQuScx/+YZ2/s98bp7VFxNixktQSXBh9Vf Rn6hD9lTInPQKZtX02JFCyyyNzcG+r6auV+GkBD5FPFjkY1oPar+mNPFoEBhKOFl rxrWiDCiHz+y08WW1s17wRaHr9VunGhZH5qF1MwK59jUVIcYWmhmg4SbGZcXqg4= =gHu5
-----END PGP SIGNATURE-----