diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
| commit | e81f04fa53e7e01afdc834d9c22b5c982c98f59b (patch) | |
| tree | 763d6d68516ca9d184ddd2402978adcc4027a99d /lang/ruby/3.2/patches/patch-compile_c | |
| parent | 92e45e47c29ec037842c4a34ebc0c14143d413ff (diff) | |
This is due to the following two reasons:
1. it's very out of date compared with current ports tree (like by 2+
years!)
- some of the ports here were mainly just updates I didn't upstream,
which have since now been part of openbsd, like verilator
2. removing dependencies is a lot of headache to stay in sync and/or for
ports I no longer use
- e.g. dbus is very difficult to remove in a desktop while patching
to remove from gtk and downstream
- I don't want to spend more time reducing number of dependencies
when I can be working instead. I no longer have as much free time
as I did in high school :(
Diffstat (limited to 'lang/ruby/3.2/patches/patch-compile_c')
| -rw-r--r-- | lang/ruby/3.2/patches/patch-compile_c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lang/ruby/3.2/patches/patch-compile_c b/lang/ruby/3.2/patches/patch-compile_c deleted file mode 100644 index 2b6833d..0000000 --- a/lang/ruby/3.2/patches/patch-compile_c +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | Disable peephole optimizer on mips64 and sparc64, since it occasionally | ||
| 2 | segfaults. | ||
| 3 | |||
| 4 | Index: compile.c | ||
| 5 | --- compile.c.orig | ||
| 6 | +++ compile.c | ||
| 7 | @@ -2994,6 +2994,10 @@ static int | ||
| 8 | iseq_peephole_optimize(rb_iseq_t *iseq, LINK_ELEMENT *list, const int do_tailcallopt) | ||
| 9 | { | ||
| 10 | INSN *const iobj = (INSN *)list; | ||
| 11 | +#if defined(__mips64__) || defined(__sparc64__) | ||
| 12 | + return COMPILE_OK; | ||
| 13 | +#endif | ||
| 14 | + | ||
| 15 | |||
| 16 | again: | ||
| 17 | optimize_checktype(iseq, iobj); | ||
