openbsd-ports/emulators/qemu/patches/patch-net_slirp_c
sthen cb36dcdb8c Backport some upstream qemu fixes, from Brad (maintainer) -
- Fix install(1) usage to be compatible with OpenBSD's install(1).
- Allow overriding the location of Samba's smbd,

From Brad

- Remove PROVIDE_HIDDEN and ONLY_IF_{RO,RW} from linker scripts to make
  them work with older binutils versions. Fixes *-bsd-user build on
  OpenBSD 4.9 which ships binutils 2.15.

From Gerd Hoffmann <kraxel at redhat dot com>
2011-09-21 09:02:30 +00:00

13 lines
501 B
Plaintext

$OpenBSD: patch-net_slirp_c,v 1.1 2011/09/21 09:02:30 sthen Exp $
--- net/slirp.c.orig Tue Sep 6 22:49:47 2011
+++ net/slirp.c Tue Sep 6 22:50:01 2011
@@ -529,7 +529,7 @@ static int slirp_smb(SlirpState* s, const char *export
fclose(f);
snprintf(smb_cmdline, sizeof(smb_cmdline), "%s -s %s",
- SMBD_COMMAND, smb_conf);
+ CONFIG_SMBD_COMMAND, smb_conf);
if (slirp_add_exec(s->slirp, 0, smb_cmdline, &vserver_addr, 139) < 0) {
slirp_smb_cleanup(s);