summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2008-01-17 19:33:13 +0000
committerRyan Hill <dirtyepic@gentoo.org>2008-01-17 19:33:13 +0000
commit52d1ac2ea870cc5b88da9c783c8ba2209a9fb76a (patch)
tree2298c0a5d020bb0d56e0d39a473802b2f223b6c1 /dev-libs/xxl/files
parentold (diff)
downloadgentoo-2-52d1ac2ea870cc5b88da9c783c8ba2209a9fb76a.tar.gz
gentoo-2-52d1ac2ea870cc5b88da9c783c8ba2209a9fb76a.tar.bz2
gentoo-2-52d1ac2ea870cc5b88da9c783c8ba2209a9fb76a.zip
Add patch by Grigory Dorokhov fixing test failure and adding support for
more than two nested try blocks. Bug #165558. (Portage version: 2.1.4)
Diffstat (limited to 'dev-libs/xxl/files')
-rw-r--r--dev-libs/xxl/files/xxl-1.0.1-nested-exception.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/xxl/files/xxl-1.0.1-nested-exception.patch b/dev-libs/xxl/files/xxl-1.0.1-nested-exception.patch
new file mode 100644
index 000000000000..c6d52c5a09d4
--- /dev/null
+++ b/dev-libs/xxl/files/xxl-1.0.1-nested-exception.patch
@@ -0,0 +1,12 @@
+diff -Naur xxl-1.0.1-orig/xxl.c xxl-1.0.1/xxl.c
+--- xxl-1.0.1-orig/xxl.c 2004-12-22 03:42:52.000000000 -0600
++++ xxl-1.0.1/xxl.c 2008-01-17 13:25:18.000000000 -0600
+@@ -380,6 +380,8 @@
+ if (!tsd->contexts)
+ die("XXL: Exception thrown with no handler to catch it!\n");
+ tsd->contexts->exception = *exception;
++ how=XXL_SETJMP_TRY;
++ tsd->contexts->state |= XXL_STATE_THROWN;
+ xxl_leave_handler(how);
+ return;
+ }