aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-bg
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-bg')
-rw-r--r--emulators/qemu-devel/files/patch-bg25
1 files changed, 0 insertions, 25 deletions
diff --git a/emulators/qemu-devel/files/patch-bg b/emulators/qemu-devel/files/patch-bg
deleted file mode 100644
index 57a9ef32df97..000000000000
--- a/emulators/qemu-devel/files/patch-bg
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: qemu/Makefile.target
-@@ -179,7 +179,7 @@
-
- #########################################################
-
--DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-+DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DSMBD=\"${LOCALBASE}/sbin/smbd\"
- LIBS+=-lm
- ifndef CONFIG_USER_ONLY
- LIBS+=-lz
-Index: qemu/vl.c
-@@ -1560,8 +1560,13 @@
- fclose(f);
- atexit(smb_exit);
-
-+#ifdef __FreeBSD__
-+ snprintf(smb_cmdline, sizeof(smb_cmdline), SMBD " -s %s",
-+ smb_conf);
-+#else
- snprintf(smb_cmdline, sizeof(smb_cmdline), "/usr/sbin/smbd -s %s",
- smb_conf);
-+#endif
-
- slirp_add_exec(0, smb_cmdline, 4, 139);
- }