[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Anyone feel like fixing pkgsrc/emulators/tme ?
> > but starting tmesh via gdb works??
> i've had some crashes with pkgsrc/graphics/blender lately that
> go away in gdb. (it's kinda annoying, the -g enabled blender
> takes a really long time for gdb to load...)
The attached blind patch seems to work around on NetBSD/i386 9.2.
(even I'm not sure what PROT_MPROTECT() expects..)
--- libtme/host/recode-mmap.c.orig 2008-07-01 02:00:53.000000000 +0000
@@ -82,7 +82,12 @@ tme_recode_host_thunks_alloc(struct tme_
- | PROT_EXEC),
+ | PROT_MPROTECT(PROT_EXEC)
+ | PROT_EXEC
+#endif /* PROT_MPROTECT */
Main Index |
Thread Index |