diff options
Diffstat (limited to 'emulators/qemu/files')
-rw-r--r-- | emulators/qemu/files/patch-bg | 8 | ||||
-rw-r--r-- | emulators/qemu/files/patch-qemu-doc.texi | 11 | ||||
-rw-r--r-- | emulators/qemu/files/qemu-ifdown.sample | 2 | ||||
-rw-r--r-- | emulators/qemu/files/qemu-ifup.sample | 2 |
4 files changed, 20 insertions, 3 deletions
diff --git a/emulators/qemu/files/patch-bg b/emulators/qemu/files/patch-bg index eaa753d13cb4..7e645929d40e 100644 --- a/emulators/qemu/files/patch-bg +++ b/emulators/qemu/files/patch-bg @@ -4,15 +4,17 @@ Index: qemu/Makefile.target ######################################################### -CPPFLAGS+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -+CPPFLAGS+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSMBD_COMMAND=\"${LOCALBASE}/sbin/smbd\" -I${LOCALBASE}/include ++CPPFLAGS+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSMBD_COMMAND=\"${LOCALBASE}/sbin/smbd\" -I${LOCALBASE}/include -DPREFIX=\"${PREFIX}\" LIBS+=-lm ifndef CONFIG_USER_ONLY LIBS+=-lz Index: qemu/vl.c @@ -133,10 +133,12 @@ - #define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" - #define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" +-#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" +-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" ++#define DEFAULT_NETWORK_SCRIPT PREFIX "/etc/qemu-ifup" ++#define DEFAULT_NETWORK_DOWN_SCRIPT PREFIX "/etc/qemu-ifdown" +#ifndef SMBD_COMMAND #ifdef __sun__ #define SMBD_COMMAND "/usr/sfw/sbin/smbd" diff --git a/emulators/qemu/files/patch-qemu-doc.texi b/emulators/qemu/files/patch-qemu-doc.texi new file mode 100644 index 000000000000..1a7d9ef2ca51 --- /dev/null +++ b/emulators/qemu/files/patch-qemu-doc.texi @@ -0,0 +1,11 @@ +Index: qemu/qemu-doc.texi +@@ -985,7 +985,8 @@ + + @c man begin SEEALSO + The HTML documentation of QEMU for more precise information and Linux +-user mode emulator invocation. ++user mode emulator invocation, as well as the FreeBSD host notes in ++@file{pkg-message} in the relevant qemu port directory. + @c man end + + @c man begin AUTHOR diff --git a/emulators/qemu/files/qemu-ifdown.sample b/emulators/qemu/files/qemu-ifdown.sample new file mode 100644 index 000000000000..89d9a9bff436 --- /dev/null +++ b/emulators/qemu/files/qemu-ifdown.sample @@ -0,0 +1,2 @@ +#!/bin/sh +exec true diff --git a/emulators/qemu/files/qemu-ifup.sample b/emulators/qemu/files/qemu-ifup.sample new file mode 100644 index 000000000000..89d9a9bff436 --- /dev/null +++ b/emulators/qemu/files/qemu-ifup.sample @@ -0,0 +1,2 @@ +#!/bin/sh +exec true |