Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/tar/files/, app-arch/tar/
Date: Wed, 23 Dec 2020 10:11:31
Message-Id: 1608718199.a71cd47ebab295e3cf66b83e89b615f42befc1ab.grobian@gentoo
1 commit: a71cd47ebab295e3cf66b83e89b615f42befc1ab
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 10:09:59 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 10:09:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71cd47e
7
8 Revert "app-arch/tar: add patch for macOS Big Sur 11.1"
9
10 This reverts commit fa9750b4c24e402475d4edaa1b2ef34f17d945c3.
11
12 It appears I was mistaken, and we don't need this patch in the tree, for
13 within Prefix itself, this issue doesn't occur. See comment #5
14
15 Bug: https://bugs.gentoo.org/761322
16 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
17
18 ...tar-1.32-check-sys-ioctl-header-configure.patch | 53 ----------------------
19 app-arch/tar/tar-1.32.90.ebuild | 4 --
20 app-arch/tar/tar-1.32.ebuild | 3 --
21 3 files changed, 60 deletions(-)
22
23 diff --git a/app-arch/tar/files/tar-1.32-check-sys-ioctl-header-configure.patch b/app-arch/tar/files/tar-1.32-check-sys-ioctl-header-configure.patch
24 deleted file mode 100644
25 index c8aee2fcce8..00000000000
26 --- a/app-arch/tar/files/tar-1.32-check-sys-ioctl-header-configure.patch
27 +++ /dev/null
28 @@ -1,53 +0,0 @@
29 -[buildsys] macOS Big Sur 11.1 doesn't have sys/ioctl.h
30 -
31 -Author: Alexei Colin
32 -Bug: https://bugs.gentoo.org/761322
33 -Bug: https://savannah.gnu.org/bugs/index.php?59755
34 -
35 ---- a/configure 2020-12-23 00:49:19.000000000 -0500
36 -+++ b/configure 2020-12-23 00:49:52.000000000 -0500
37 -@@ -3422,6 +3422,7 @@
38 - as_fn_append ac_header_list " sys/device.h"
39 - as_fn_append ac_header_list " sys/gentape.h"
40 - as_fn_append ac_header_list " sys/inet.h"
41 -+as_fn_append ac_header_list " sys/ioctl.h"
42 - as_fn_append ac_header_list " sys/io/trioctl.h"
43 - as_fn_append ac_header_list " sys/mtio.h"
44 - as_fn_append ac_header_list " sys/time.h"
45 ---- a/config.h.in 2019-02-23 07:56:20.000000000 -0500
46 -+++ b/config.h.in 2020-12-23 01:04:49.000000000 -0500
47 -@@ -1480,6 +1480,9 @@
48 - /* Define to 1 if you have the <sys/inttypes.h> header file. */
49 - #undef HAVE_SYS_INTTYPES_H
50 -
51 -+/* Define to 1 if you have the <sys/ioctl.h> header file. */
52 -+#undef HAVE_SYS_IOCTL_H
53 -+
54 - /* Define to 1 if you have the <sys/io/trioctl.h> header file. */
55 - #undef HAVE_SYS_IO_TRIOCTL_H
56 -
57 ---- a/lib/system-ioctl.h 2020-12-22 20:57:00.000000000 -0500
58 -+++ b/lib/system-ioctl.h 2020-12-22 20:57:35.000000000 -0500
59 -@@ -41,8 +41,10 @@
60 - # endif
61 - # include <sys/tape.h>
62 - # else
63 --# if HAVE_SYS_MTIO_H
64 -+# if HAVE_SYS_IOCTL_H
65 - # include <sys/ioctl.h>
66 -+# endif
67 -+# if HAVE_SYS_MTIO_H
68 - # if HAVE_SGTTY_H
69 - # include <sgtty.h>
70 - # endif
71 ---- a/src/checkpoint.c 2020-12-22 20:56:48.000000000 -0500
72 -+++ b/src/checkpoint.c 2020-12-22 20:58:29.000000000 -0500
73 -@@ -20,7 +20,7 @@
74 - #include <system.h>
75 - #include "common.h"
76 - #include "wordsplit.h"
77 --#include <sys/ioctl.h>
78 -+#include <system-ioctl.h>
79 - #include <termios.h>
80 - #include "fprintftime.h"
81 - #include <signal.h>
82
83 diff --git a/app-arch/tar/tar-1.32.90.ebuild b/app-arch/tar/tar-1.32.90.ebuild
84 index 43686c3c26d..87f3d927f1c 100644
85 --- a/app-arch/tar/tar-1.32.90.ebuild
86 +++ b/app-arch/tar/tar-1.32.90.ebuild
87 @@ -25,10 +25,6 @@ DEPEND="${RDEPEND}
88 xattr? ( elibc_glibc? ( sys-apps/attr ) )"
89 BDEPEND="nls? ( sys-devel/gettext )"
90
91 -PATCHES=(
92 - "${FILESDIR}"/${PN}-1.32-check-sys-ioctl-header-configure.patch
93 -)
94 -
95 src_prepare() {
96 default
97
98
99 diff --git a/app-arch/tar/tar-1.32.ebuild b/app-arch/tar/tar-1.32.ebuild
100 index d1fd7864919..81267f7aa85 100644
101 --- a/app-arch/tar/tar-1.32.ebuild
102 +++ b/app-arch/tar/tar-1.32.ebuild
103 @@ -33,9 +33,6 @@ src_prepare() {
104 scripts/{backup,dump-remind,restore}.in \
105 || die "sed non-GNU"
106 fi
107 -
108 - [[ ${CHOST} == *darwin20* ]] && \
109 - eapply "${FILESDIR}"/${PN}-1.32-check-sys-ioctl-header-configure.patch
110 }
111
112 src_configure() {