freebsd-ports/emulators/qemu-sbruno/files/patch-include_net_net.h
Brooks Davis 3469ebf4e5 Rename and regenerate the patch files so they have normal syntax and
names and don't require -p1.

No functional change.

Approved by:	sbruno (maintainer)
2018-02-12 16:55:28 +00:00

13 lines
582 B
C

--- include/net/net.h.orig 2018-02-08 19:22:54 UTC
+++ include/net/net.h
@@ -220,8 +220,8 @@ void qmp_netdev_add(QDict *qdict, QObjec
int net_hub_id_for_client(NetClientState *nc, int *id);
NetClientState *net_hub_port_find(int hub_id);
-#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"
#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper"
#define DEFAULT_BRIDGE_INTERFACE "br0"