summaryrefslogtreecommitdiff
path: root/benchmarks/libmicro/files/patch-writev.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-27 15:09:11 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-27 15:09:11 +0000
commit56bf85096cc89f91d28671b5d93b4172240263bc (patch)
tree0574ce9eee45d627f943b80b2445882a762b52af /benchmarks/libmicro/files/patch-writev.c
parentAdd new port -- Rounded Mgen+ Japanese TrueType fonts (diff)
Cleanup patches, category benchmarks
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to '')
-rw-r--r--benchmarks/libmicro/files/patch-writev.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/benchmarks/libmicro/files/patch-writev.c b/benchmarks/libmicro/files/patch-writev.c
index 5cbfb3af7342..55793ae6832d 100644
--- a/benchmarks/libmicro/files/patch-writev.c
+++ b/benchmarks/libmicro/files/patch-writev.c
@@ -1,20 +1,21 @@
---- writev.c.orig Sat Aug 6 16:16:18 2005
-+++ writev.c Sat Aug 6 16:17:00 2005
-@@ -32,12 +32,17 @@
- #pragma ident "@(#)writev.c 1.7 05/08/04 SMI"
- #endif
+--- writev.c.orig 2011-05-11 00:58:23 UTC
++++ writev.c
+@@ -28,6 +28,7 @@
+ * Use is subject to license terms.
+ */
+#include <sys/types.h>
#include <sys/uio.h>
#include <limits.h>
#include <unistd.h>
- #include <stdlib.h>
+@@ -35,6 +36,10 @@
#include <stdio.h>
#include <fcntl.h>
-+
+
+#ifndef UIO_MAXIOV
+#define UIO_MAXIOV 1024
+#endif
-
++
#ifndef IOV_MAX
#define IOV_MAX UIO_MAXIOV
+ #endif