diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2011-06-06 10:58:35 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2011-06-06 10:58:35 +0000 |
commit | f01f6ed8fc9f1a74552799c54ab3fbd4138c0e08 (patch) | |
tree | ec79942f7249b6eb6ca6da3942a96346cb368bea /dev-python/pypy/files | |
parent | Version bumped (diff) | |
download | gentoo-2-f01f6ed8fc9f1a74552799c54ab3fbd4138c0e08.tar.gz gentoo-2-f01f6ed8fc9f1a74552799c54ab3fbd4138c0e08.tar.bz2 gentoo-2-f01f6ed8fc9f1a74552799c54ab3fbd4138c0e08.zip |
Initial version of PyPy (bug 300301).
(Portage version: 2.1.9.50/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pypy/files')
-rw-r--r-- | dev-python/pypy/files/1.5-patches.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/pypy/files/1.5-patches.patch b/dev-python/pypy/files/1.5-patches.patch new file mode 100644 index 000000000000..92fb524ee168 --- /dev/null +++ b/dev-python/pypy/files/1.5-patches.patch @@ -0,0 +1,41 @@ +diff -ur pypy-1.5-src_orig/pypy/rlib/ropenssl.py pypy-1.5-src/pypy/rlib/ropenssl.py +--- pypy-1.5-src_orig/pypy/rlib/ropenssl.py 2011-04-30 17:18:50.000000000 +0300 ++++ pypy-1.5-src/pypy/rlib/ropenssl.py 2011-05-07 16:22:21.387000017 +0300 +@@ -98,6 +98,7 @@ + ssl_external('SSL_load_error_strings', [], lltype.Void) + ssl_external('SSL_library_init', [], rffi.INT) + if HAVE_OPENSSL_RAND: ++ eci.includes = eci.includes + ('openssl/rand.h',); + ssl_external('RAND_add', [rffi.CCHARP, rffi.INT, rffi.DOUBLE], lltype.Void) + ssl_external('RAND_status', [], rffi.INT) + ssl_external('RAND_egd', [rffi.CCHARP], rffi.INT) +diff -ur pypy-1.5-src_orig/pypy/translator/goal/translate.py pypy-1.5-src/pypy/translator/goal/translate.py +--- pypy-1.5-src_orig/pypy/translator/goal/translate.py 2011-04-30 17:18:50.000000000 +0300 ++++ pypy-1.5-src/pypy/translator/goal/translate.py 2011-05-06 23:32:58.855999980 +0300 +@@ -253,7 +253,6 @@ + log.event("batch mode, not calling interactive helpers") + return + +- log.event("start debugger...") + + if translateconfig.view: + try: +@@ -264,7 +263,6 @@ + page = graphpage.TranslatorPage(t1, translateconfig.huge) + page.display_background() + +- pdb_plus_show.start(tb) + + try: + drv = driver.TranslationDriver.from_targetspec(targetspec_dic, config, args, +diff -ur pypy-1.5-src_orig/pypy/translator/c/gcc/trackgcroot.py pypy-1.5-src/pypy/translator/c/gcc/trackgcroot.py +--- pypy-1.5-src_orig/pypy/translator/c/gcc/trackgcroot.py 2011-05-27 12:41:49.005000002 +0300 ++++ pypy-1.5-src/pypy/translator/c/gcc/trackgcroot.py 2011-05-27 12:56:16.292000001 +0300 +@@ -1640,6 +1640,7 @@ + } + """ + elif self.format in ('elf64', 'darwin64'): ++ print >> output, "\t.section .note.GNU-stack,\"\",%progbits" + print >> output, "\t.text" + print >> output, "\t.globl %s" % _globalname('pypy_asm_stackwalk') + _variant(elf64='.type pypy_asm_stackwalk, @function', |