summaryrefslogtreecommitdiff
path: root/pkg/openbsd/patch/0004-pax-Add-some-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/openbsd/patch/0004-pax-Add-some-includes.patch')
-rw-r--r--pkg/openbsd/patch/0004-pax-Add-some-includes.patch83
1 files changed, 53 insertions, 30 deletions
diff --git a/pkg/openbsd/patch/0004-pax-Add-some-includes.patch b/pkg/openbsd/patch/0004-pax-Add-some-includes.patch
index 4061d470..cc029d57 100644
--- a/pkg/openbsd/patch/0004-pax-Add-some-includes.patch
+++ b/pkg/openbsd/patch/0004-pax-Add-some-includes.patch
@@ -1,63 +1,86 @@
-From 140c41d57f7bef789f4a0ea0db0426c1b3f0f38f Mon Sep 17 00:00:00 2001
+From fbf6dc8783f31408cc090cf42cf92008d4f2a455 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Mon, 18 Apr 2016 01:27:29 -0700
Subject: [PATCH] pax: Add some includes
---
- bin/pax/ar_subs.c | 1 +
- bin/pax/file_subs.c | 1 +
- bin/pax/gen_subs.c | 1 +
+ bin/pax/ar_subs.c | 3 ++-
+ bin/pax/buf_subs.c | 1 +
+ bin/pax/file_subs.c | 2 ++
bin/pax/sel_subs.c | 1 +
- 4 files changed, 4 insertions(+)
+ bin/pax/tables.c | 1 +
+ 5 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c
-index b95b1c2..91b8436 100644
+index 51dd6e085..f70ec4ed0 100644
--- a/bin/pax/ar_subs.c
+++ b/bin/pax/ar_subs.c
-@@ -44,6 +44,7 @@
+@@ -36,14 +36,15 @@
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/time.h>
#include <errno.h>
+ #include <fcntl.h>
+ #include <signal.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <time.h>
#include <unistd.h>
- #include <stdlib.h>
-+#include <time.h>
+-
#include "pax.h"
#include "extern.h"
+diff --git a/bin/pax/buf_subs.c b/bin/pax/buf_subs.c
+index 41f06ae31..30be3dc46 100644
+--- a/bin/pax/buf_subs.c
++++ b/bin/pax/buf_subs.c
+@@ -36,6 +36,7 @@
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/time.h>
+ #include <stdio.h>
+ #include <errno.h>
+ #include <unistd.h>
diff --git a/bin/pax/file_subs.c b/bin/pax/file_subs.c
-index 1f27d28..b7239c8 100644
+index 9f834bf17..57ebdb490 100644
--- a/bin/pax/file_subs.c
+++ b/bin/pax/file_subs.c
-@@ -36,6 +36,7 @@
+@@ -35,6 +35,8 @@
+ */
- #include <sys/time.h>
#include <sys/stat.h>
++#include <sys/time.h>
+#include <sys/types.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
-diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c
-index cd857dc..ae5843e 100644
---- a/bin/pax/gen_subs.c
-+++ b/bin/pax/gen_subs.c
-@@ -43,6 +43,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <vis.h>
-+#include <time.h>
- #include "pax.h"
- #include "extern.h"
-
diff --git a/bin/pax/sel_subs.c b/bin/pax/sel_subs.c
-index fc9194d..7bdbe46 100644
+index 17200b5a4..136f87c5d 100644
--- a/bin/pax/sel_subs.c
+++ b/bin/pax/sel_subs.c
-@@ -44,6 +44,7 @@
+@@ -43,6 +43,7 @@
#include <stdlib.h>
#include <string.h>
- #include <unistd.h>
-+#include <time.h>
+ #include <time.h>
++#include <unistd.h>
+
#include "pax.h"
- #include "sel_subs.h"
#include "extern.h"
+diff --git a/bin/pax/tables.c b/bin/pax/tables.c
+index b700f1649..99790f986 100644
+--- a/bin/pax/tables.c
++++ b/bin/pax/tables.c
+@@ -36,6 +36,7 @@
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/time.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <limits.h>
--
-2.8.1
+2.12.2