openbsd-ports/plan9/drawterm/patches/patch-posix-sun4u_getcallerpc_c
jasper 6639eb58eb import drawterm 20110221
Drawterm is a program that users of non-Plan 9 systems can use to
establish graphical cpu connections with Plan 9 cpu servers.  Just as
a real Plan 9 terminal does, drawterm serves its local name space as
well as some devices (the keyboard, mouse, and screen) to a remote cpu
server, which mounts this name space on /mnt/term and starts a shell.
Typically, either explicitly or via the profile, one uses the shell to
start rio.

from Stanley Lieber (MAINTAINER)
ok sthen@
2011-08-18 08:04:03 +00:00

13 lines
320 B
Plaintext

$OpenBSD: patch-posix-sun4u_getcallerpc_c,v 1.1.1.1 2011/08/18 08:04:03 jasper Exp $
--- posix-sun4u/getcallerpc.c.orig Tue Mar 10 11:45:20 2009
+++ posix-sun4u/getcallerpc.c Tue Mar 10 11:45:24 2009
@@ -1,7 +1,7 @@
#include "u.h"
#include "libc.h"
-ulong
+uintptr
getcallerpc(void *a)
{
return ((ulong*)a)[-1];