summaryrefslogtreecommitdiff
path: root/lang/parrot/patches
diff options
context:
space:
mode:
authorhe <he>2009-05-19 21:41:48 +0000
committerhe <he>2009-05-19 21:41:48 +0000
commitce2e1a11030fb0e5207a24be751fb2917a84be89 (patch)
treef1c41b00280f92dce7befdd79634e07952fe3b08 /lang/parrot/patches
parenta57511a61fd3ae5b254c2bc107a5204d10d0e93d (diff)
downloadpkgsrc-ce2e1a11030fb0e5207a24be751fb2917a84be89.tar.gz
Update from version 1.0.0 to 1.1.0 (now that 1.2.0 is about to be released :)
Pkgsrc changes: o Add LICENSE setting (artistic-2.0) o Centralize version number setting o Assume that this supports user-destdir Upstream changes: - Core + Added op: load_language, find_caller_lex + socket IO are back as PMC + refactor some PMC: Hash, ManagedStruct - Compiler + PGE - Allow \x, \c, and \o in enumerated character classes (incl ranges) - Add initial greedy-only version of ** quantifier + PCT - Add HLL source line bytecode annotations - Add another dumper format to assist syntax highlighters - Revise mk_language_shell.pl to updated create_language.pl - Deprecations + Removed ops: gcd, exec, classname, need_finalize, runinterp, substr_r + Removed dynamic op: mul + Removed .HLL_map directive; use interp's .hll_map() instead + Removed PMCs: slice, bound_nci, ref + Removed Configure.pl option: --pmc + Removed PMC union struct - Documentation + Book - Reorganization and many improvements & additions - Tools + Add a parrot-fuzzer - Miscellaneous + Improve Debian/Ubuntu package + various bugfixes, code cleanups, and coding standard fixes
Diffstat (limited to 'lang/parrot/patches')
-rw-r--r--lang/parrot/patches/patch-aa56
-rw-r--r--lang/parrot/patches/patch-ab36
-rw-r--r--lang/parrot/patches/patch-ac90
3 files changed, 0 insertions, 182 deletions
diff --git a/lang/parrot/patches/patch-aa b/lang/parrot/patches/patch-aa
deleted file mode 100644
index 1330f83e571..00000000000
--- a/lang/parrot/patches/patch-aa
+++ /dev/null
@@ -1,56 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2009/03/25 23:01:48 he Exp $
-
-NetBSD's powerpc assembler wants % in front of registers, and
-the C compiler doesn't prepend _ to symbols it emits.
-
---- src/jit/ppc/asm.s.orig 2009-03-08 21:32:42.000000000 +0100
-+++ src/jit/ppc/asm.s
-@@ -1,25 +1,30 @@
- .text
- .align 12
-+#ifdef __linux__
- .globl _Parrot_ppc_jit_restore_nonvolatile_registers
- _Parrot_ppc_jit_restore_nonvolatile_registers:
-+#else
-+ .globl Parrot_ppc_jit_restore_nonvolatile_registers
-+Parrot_ppc_jit_restore_nonvolatile_registers:
-+#endif
-
-- lfd f14,-84(r1)
-- lfd f15,-92(r1)
-- lfd f16,-100(r1)
-- lfd f17,-108(r1)
-- lfd f18,-116(r1)
-- lfd f19,-124(r1)
-- lfd f20,-132(r1)
-- lfd f21,-140(r1)
-- lfd f22,-148(r1)
-- lfd f23,-156(r1)
-- lfd f24,-164(r1)
-- lfd f25,-172(r1)
-- lfd f26,-180(r1)
-- lfd f27,-188(r1)
-- lfd f28,-196(r1)
-- lfd f29,-204(r1)
-- lfd f30,-212(r1)
-- lfd f31,-220(r1)
-+ lfd %f14,-84(%r1)
-+ lfd %f15,-92(%r1)
-+ lfd %f16,-100(%r1)
-+ lfd %f17,-108(%r1)
-+ lfd %f18,-116(%r1)
-+ lfd %f19,-124(%r1)
-+ lfd %f20,-132(%r1)
-+ lfd %f21,-140(%r1)
-+ lfd %f22,-148(%r1)
-+ lfd %f23,-156(%r1)
-+ lfd %f24,-164(%r1)
-+ lfd %f25,-172(%r1)
-+ lfd %f26,-180(%r1)
-+ lfd %f27,-188(%r1)
-+ lfd %f28,-196(%r1)
-+ lfd %f29,-204(%r1)
-+ lfd %f30,-212(%r1)
-+ lfd %f31,-220(%r1)
-
- blr
diff --git a/lang/parrot/patches/patch-ab b/lang/parrot/patches/patch-ab
deleted file mode 100644
index 0abce3717e3..00000000000
--- a/lang/parrot/patches/patch-ab
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2009/04/20 07:55:00 he Exp $
-
-The R_PPC_ADDR16{HI,LO} constants are named something else on
-NetBSD, and might be elsewhere.
-Also add workarounds for NetBSD/powerpc 3.x, which has some
-constants defined as enums.
-
---- src/exec_save.c.orig 2009-03-08 21:32:43.000000000 +0100
-+++ src/exec_save.c 2009-04-19 12:55:25.000000000 +0200
-@@ -150,6 +150,26 @@
- # include <elf.h>
- # endif
-
-+# if defined(PARROT_PPC)
-+# if !defined(R_PPC_ADDR16_HI) && !defined(R_PPC_ADDR16_LO) && \
-+ defined(R_PPC_16_HI) && defined(R_PPC_16_LO)
-+# define R_PPC_ADDR16_HI R_PPC_16_HI
-+# define R_PPC_ADDR16_LO R_PPC_16_LO
-+# endif
-+ /*
-+ * NetBSD/powerpc 3.x and OpenBSD/powerpc doesn't define these constants,
-+ * but instead has them as enums, so add some workarounds for those.
-+ */
-+# if !defined(R_PPC_ADDR16_HI) && !defined(R_PPC_ADDR16_LO) && \
-+ (defined(__NetBSD__) || defined(__OpenBSD__))
-+# define R_PPC_ADDR16_HI RELOC_16_HI
-+# define R_PPC_ADDR16_LO RELOC_16_LO
-+# endif
-+# if !defined(R_PPC_REL24) && (defined(__NetBSD__) || defined(__OpenBSD__))
-+# define R_PPC_REL24 RELOC_REL24
-+# endif
-+# endif /* PARROT_PPC */
-+
- /* Add a section to the file
- *
- * n = Name
diff --git a/lang/parrot/patches/patch-ac b/lang/parrot/patches/patch-ac
deleted file mode 100644
index 60f26585f93..00000000000
--- a/lang/parrot/patches/patch-ac
+++ /dev/null
@@ -1,90 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2009/03/25 23:01:48 he Exp $
-
-Undo a GNUism, using == with test in place of =.
-
---- tools/dev/mk_native_pbc.orig 2009-03-09 05:19:51.000000000 +0100
-+++ tools/dev/mk_native_pbc
-@@ -37,16 +37,16 @@ ptrsize=$(./parrot_config ptrsize)
- # 8 or 12 or 16 on intel
- numvalsize=$(./parrot_config numvalsize)
-
--if [ "$ptrsize" == "4" ]
-+if [ "$ptrsize" = "4" ]
- then
-- if [ "$byteorder" == "1234" ]
-+ if [ "$byteorder" = "1234" ]
- then
-- if [ "$numvalsize" == "12" ]
-+ if [ "$numvalsize" = "12" ]
- then
- N=2
- echo "2: i386 32-bit opcode_t, 32-bit intval, 12-byte long double"
- else
-- if [ "$numvalsize" == "4" ]
-+ if [ "$numvalsize" = "4" ]
- then
- N=8
- echo "8: i386 32-bit opcode_t, 32-bit intval, 4-byte float"
-@@ -60,13 +60,13 @@ then
- fi
- fi
- else
-- if [ "$byteorder" == "4321" ]
-+ if [ "$byteorder" = "4321" ]
- then
- N=3
- echo "3: PPC BE 32 bit opcode_t, 32 bit intval"
- else
-- if [ "$byteorder" == "12345678" \
-- -a "$(./parrot_config osname)" == "cygwin" ]
-+ if [ "$byteorder" = "12345678" \
-+ -a "$(./parrot_config osname)" = "cygwin" ]
- then
- echo "1: cygwin use64bitint"
- N=1
-@@ -78,11 +78,11 @@ then
- fi
- fi
- else
-- if [ "$ptrsize" == "8" ]
-+ if [ "$ptrsize" = "8" ]
- then
-- if [ "$byteorder" == "12345678" ]
-+ if [ "$byteorder" = "12345678" ]
- then
-- if [ "$numvalsize" == "8" ]
-+ if [ "$numvalsize" = "8" ]
- then
- N=4
- echo "4: x86_64 double float 64 bit opcode_t, 8-byte double"
-@@ -95,7 +95,7 @@ else
- echo "5: x86_64 64 bit opcode_t, 16-byte long double"
- fi
- else
-- if [ "$numvalsize" == "8" ]
-+ if [ "$numvalsize" = "8" ]
- then
- N=6
- echo "6: big-endian 64-bit"
-@@ -139,8 +139,8 @@ perl t/harness t/native_pbc/integer.t &&
- perl t/harness t/native_pbc/number.t && \
- perl t/harness t/native_pbc/string.t
-
--if [ "$enable_long_double" == "1" ]; then
-- if [ "$1" == "--noconf" ]; then
-+if [ "$enable_long_double" = "1" ]; then
-+ if [ "$1" = "--noconf" ]; then
- echo "Hmm. You have no long double, and we want to try --floatval=long double"
- echo "However for this you must reconfigure your parrot and you gave --noconf"
- exit
-@@ -151,8 +151,8 @@ if [ "$enable_long_double" == "1" ]; the
- make -s || exit 1
- hugefloatvalsize=$(./parrot_config hugefloatvalsize)
- numvalsize=$(./parrot_config numvalsize)
-- #if [ "hugefloatvalsize" == "12" ]; then echo "Only 12 byte long double. Sorry"; exit; fi
-- #if [ "numvalsize" == "12" ]; then echo "Only 12 byte double. Sorry"; exit; fi
-+ #if [ "hugefloatvalsize" = "12" ]; then echo "Only 12 byte long double. Sorry"; exit; fi
-+ #if [ "numvalsize" = "12" ]; then echo "Only 12 byte double. Sorry"; exit; fi
- # 1+2, 4+5, 6+7
- M=$((N+1))
- [ -e t/op/number_1.pasm ] || perl t/harness t/op/number.t