summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/extra-patch-kernproc
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2014-07-02 17:16:16 +0000
committerJuergen Lock <nox@FreeBSD.org>2014-07-02 17:16:16 +0000
commit652731ab59c54dd0cfe3205e926cfd1fd42f09ad (patch)
tree384502d9f87c1815cd7f89ddb88d3aca79780c39 /emulators/qemu-devel/files/extra-patch-kernproc
parent- Update maintainer email (diff)
- bsd-user: Implement getvfsbyname(3) that popped up in ports builds
and used by tar. [1] - bsd-user: Fix crashes in sysctl.kern.proc in 32bit envs on 64bit. [1] - Bump PORTREVISION. Submitted by: sson [1]
Notes
Notes: svn path=/head/; revision=360226
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-kernproc')
-rw-r--r--emulators/qemu-devel/files/extra-patch-kernproc13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-kernproc b/emulators/qemu-devel/files/extra-patch-kernproc
new file mode 100644
index 000000000000..dd5e7952a36f
--- /dev/null
+++ b/emulators/qemu-devel/files/extra-patch-kernproc
@@ -0,0 +1,13 @@
+diff --git a/bsd-user/bsdload.c b/bsd-user/bsdload.c
+index 28a8bba..a1d8747 100644
+--- a/bsd-user/bsdload.c
++++ b/bsd-user/bsdload.c
+@@ -228,7 +228,7 @@ int loader_exec(const char * filename, char ** argv, char ** envp,
+ bprm->fullpath = g_strdup(fullpath);
+ } else {
+ retval = open(execname, O_RDONLY);
+- bprm->fullpath = NULL;
++ bprm->fullpath = g_strdup(execname);
+ }
+ if (execname) {
+ g_free((void *)execname);