]> git.pld-linux.org Git - packages/perl-Coro.git/commitdiff
- initial revision
authorpascalek <pascalek@pld-linux.org>
Wed, 7 Feb 2007 20:27:30 +0000 (20:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Coro-libc.patch -> 1.1

Coro-libc.patch [new file with mode: 0644]

diff --git a/Coro-libc.patch b/Coro-libc.patch
new file mode 100644 (file)
index 0000000..4c74c29
--- /dev/null
@@ -0,0 +1,20 @@
+diff -Nur Coro-3.41.orig/Coro/libcoro/coro.c Coro-3.41.chng/Coro/libcoro/coro.c
+--- Coro-3.41.orig/Coro/libcoro/coro.c 2006-11-29 12:46:19.000000000 +0100
++++ Coro-3.41.chng/Coro/libcoro/coro.c 2007-02-06 23:01:35.000000000 +0100
+@@ -215,8 +215,16 @@
+   ctx->env[0].__jmpbuf[0].__pc = (char *)coro_init;
+   ctx->env[0].__jmpbuf[0].__sp = (void *)((char *)sptr + ssize);
+ #elif defined(__GNU_LIBRARY__) && defined(__amd64__)
++
++#ifndef JB_PC
++#define JB_PC 7
++#define JB_RSP 6
++#define JB_RBP 1
++#endif
++
+   ctx->env[0].__jmpbuf[JB_PC]  = (long)coro_init;
+   ctx->env[0].__jmpbuf[JB_RSP] = (long)STACK_ADJUST_PTR (sptr,ssize);
++  
+ #else
+ #error "linux libc or architecture not supported"
+ #endif
This page took 0.259593 seconds and 4 git commands to generate.