summaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-qemu_slirp_slirp_config.h
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 18:39:29 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 18:39:29 +0000
commit79d6017866067064ba712bf6b913b59695d44a06 (patch)
treeb6517b4d4b98c9665fa77bde38e342fbc8bece26 /emulators/qemu/files/patch-qemu_slirp_slirp_config.h
parentReport serious i2p vulnerability (diff)
Rename emulators/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'emulators/qemu/files/patch-qemu_slirp_slirp_config.h')
-rw-r--r--emulators/qemu/files/patch-qemu_slirp_slirp_config.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-qemu_slirp_slirp_config.h b/emulators/qemu/files/patch-qemu_slirp_slirp_config.h
new file mode 100644
index 000000000000..57cc889e3119
--- /dev/null
+++ b/emulators/qemu/files/patch-qemu_slirp_slirp_config.h
@@ -0,0 +1,37 @@
+Index: qemu/slirp/slirp_config.h
+@@ -86,7 +86,7 @@
+ #undef BAD_SPRINTF
+
+ /* Define if you have readv */
+-#undef HAVE_READV
++#define HAVE_READV
+
+ /* Define if iovec needs to be declared */
+ #undef DECLARE_IOVEC
+@@ -95,7 +95,7 @@
+ #undef DECLARE_SPRINTF
+
+ /* Define if you have a POSIX.1 sys/wait.h */
+-#undef HAVE_SYS_WAIT_H
++#define HAVE_SYS_WAIT_H
+
+ /* Define if you have sys/select.h */
+ #define HAVE_SYS_SELECT_H
+@@ -107,7 +107,7 @@
+ #define HAVE_ARPA_INET_H
+
+ /* Define if you have sys/signal.h */
+-#undef HAVE_SYS_SIGNAL_H
++#define HAVE_SYS_SIGNAL_H
+
+ /* Define if you have sys/stropts.h */
+ #undef HAVE_SYS_STROPTS_H
+@@ -180,7 +180,7 @@
+ #undef HAVE_GRANTPT
+
+ /* Define if you have fchmod */
+-#undef HAVE_FCHMOD
++#define HAVE_FCHMOD
+
+ /* Define if you have <sys/type32.h> */
+ #undef HAVE_SYS_TYPES32_H