mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
Revert "app-arch/tar: add patch for macOS Big Sur 11.1"
This reverts commit fa9750b4c2.
It appears I was mistaken, and we don't need this patch in the tree, for
within Prefix itself, this issue doesn't occur. See comment #5
Bug: https://bugs.gentoo.org/761322
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
[buildsys] macOS Big Sur 11.1 doesn't have sys/ioctl.h
|
||||
|
||||
Author: Alexei Colin
|
||||
Bug: https://bugs.gentoo.org/761322
|
||||
Bug: https://savannah.gnu.org/bugs/index.php?59755
|
||||
|
||||
--- a/configure 2020-12-23 00:49:19.000000000 -0500
|
||||
+++ b/configure 2020-12-23 00:49:52.000000000 -0500
|
||||
@@ -3422,6 +3422,7 @@
|
||||
as_fn_append ac_header_list " sys/device.h"
|
||||
as_fn_append ac_header_list " sys/gentape.h"
|
||||
as_fn_append ac_header_list " sys/inet.h"
|
||||
+as_fn_append ac_header_list " sys/ioctl.h"
|
||||
as_fn_append ac_header_list " sys/io/trioctl.h"
|
||||
as_fn_append ac_header_list " sys/mtio.h"
|
||||
as_fn_append ac_header_list " sys/time.h"
|
||||
--- a/config.h.in 2019-02-23 07:56:20.000000000 -0500
|
||||
+++ b/config.h.in 2020-12-23 01:04:49.000000000 -0500
|
||||
@@ -1480,6 +1480,9 @@
|
||||
/* Define to 1 if you have the <sys/inttypes.h> header file. */
|
||||
#undef HAVE_SYS_INTTYPES_H
|
||||
|
||||
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
+#undef HAVE_SYS_IOCTL_H
|
||||
+
|
||||
/* Define to 1 if you have the <sys/io/trioctl.h> header file. */
|
||||
#undef HAVE_SYS_IO_TRIOCTL_H
|
||||
|
||||
--- a/lib/system-ioctl.h 2020-12-22 20:57:00.000000000 -0500
|
||||
+++ b/lib/system-ioctl.h 2020-12-22 20:57:35.000000000 -0500
|
||||
@@ -41,8 +41,10 @@
|
||||
# endif
|
||||
# include <sys/tape.h>
|
||||
# else
|
||||
-# if HAVE_SYS_MTIO_H
|
||||
+# if HAVE_SYS_IOCTL_H
|
||||
# include <sys/ioctl.h>
|
||||
+# endif
|
||||
+# if HAVE_SYS_MTIO_H
|
||||
# if HAVE_SGTTY_H
|
||||
# include <sgtty.h>
|
||||
# endif
|
||||
--- a/src/checkpoint.c 2020-12-22 20:56:48.000000000 -0500
|
||||
+++ b/src/checkpoint.c 2020-12-22 20:58:29.000000000 -0500
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <system.h>
|
||||
#include "common.h"
|
||||
#include "wordsplit.h"
|
||||
-#include <sys/ioctl.h>
|
||||
+#include <system-ioctl.h>
|
||||
#include <termios.h>
|
||||
#include "fprintftime.h"
|
||||
#include <signal.h>
|
||||
@@ -25,10 +25,6 @@ DEPEND="${RDEPEND}
|
||||
xattr? ( elibc_glibc? ( sys-apps/attr ) )"
|
||||
BDEPEND="nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.32-check-sys-ioctl-header-configure.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
@@ -33,9 +33,6 @@ src_prepare() {
|
||||
scripts/{backup,dump-remind,restore}.in \
|
||||
|| die "sed non-GNU"
|
||||
fi
|
||||
|
||||
[[ ${CHOST} == *darwin20* ]] && \
|
||||
eapply "${FILESDIR}"/${PN}-1.32-check-sys-ioctl-header-configure.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user