public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/tar/files/, app-arch/tar/
Date: Wed, 23 Dec 2020 10:11:26 +0000 (UTC)	[thread overview]
Message-ID: <1608718199.a71cd47ebab295e3cf66b83e89b615f42befc1ab.grobian@gentoo> (raw)

commit:     a71cd47ebab295e3cf66b83e89b615f42befc1ab
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 10:09:59 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 10:09:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71cd47e

Revert "app-arch/tar: add patch for macOS Big Sur 11.1"

This reverts commit fa9750b4c24e402475d4edaa1b2ef34f17d945c3.

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 <AT> gentoo.org>

 ...tar-1.32-check-sys-ioctl-header-configure.patch | 53 ----------------------
 app-arch/tar/tar-1.32.90.ebuild                    |  4 --
 app-arch/tar/tar-1.32.ebuild                       |  3 --
 3 files changed, 60 deletions(-)

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
deleted file mode 100644
index c8aee2fcce8..00000000000
--- a/app-arch/tar/files/tar-1.32-check-sys-ioctl-header-configure.patch
+++ /dev/null
@@ -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>

diff --git a/app-arch/tar/tar-1.32.90.ebuild b/app-arch/tar/tar-1.32.90.ebuild
index 43686c3c26d..87f3d927f1c 100644
--- a/app-arch/tar/tar-1.32.90.ebuild
+++ b/app-arch/tar/tar-1.32.90.ebuild
@@ -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
 

diff --git a/app-arch/tar/tar-1.32.ebuild b/app-arch/tar/tar-1.32.ebuild
index d1fd7864919..81267f7aa85 100644
--- a/app-arch/tar/tar-1.32.ebuild
+++ b/app-arch/tar/tar-1.32.ebuild
@@ -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() {


             reply	other threads:[~2020-12-23 10:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-23 10:11 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-25  3:32 [gentoo-commits] repo/gentoo:master commit in: app-arch/tar/files/, app-arch/tar/ Sam James
2019-04-08  6:57 Mikle Kolyada
2019-03-10 16:16 Mikle Kolyada
2018-07-16  6:45 Lars Wendler
2017-12-18 18:34 Thomas Deutschmann
2016-12-20 22:21 Mike Frysinger
2016-10-28 17:56 Patrick McLean
2016-05-16 21:08 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1608718199.a71cd47ebab295e3cf66b83e89b615f42befc1ab.grobian@gentoo \
    --to=grobian@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox