Github messages for voidlinux
 help / color / mirror / Atom feed
From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] gcc: remove wrong include-fxed/bits/statx.h header
Date: Wed, 18 Nov 2020 19:19:36 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26488@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

There is a new pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages gcc-fix
https://github.com/void-linux/void-packages/pull/26488

gcc: remove wrong include-fxed/bits/statx.h header
This is needed, to be able to compile a new gcc with glibc-2.31+


A patch file from https://github.com/void-linux/void-packages/pull/26488.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gcc-fix-26488.patch --]
[-- Type: text/x-diff, Size: 1107 bytes --]

From e3d2ec329a88c3820a89e44ad211b69affdab4f5 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Wed, 18 Nov 2020 11:21:42 +0100
Subject: [PATCH] gcc: remove wrong include-fxed/bits/statx.h header

---
 srcpkgs/gcc/template | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template
index 667818d2c1a..85e761435b4 100644
--- a/srcpkgs/gcc/template
+++ b/srcpkgs/gcc/template
@@ -8,7 +8,7 @@ _isl_version=0.21
 
 pkgname=gcc
 version=${_minorver}.0
-revision=7
+revision=8
 short_desc="GNU Compiler Collection"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 homepage="http://gcc.gnu.org"
@@ -366,6 +366,12 @@ do_install() {
 		rm -f ${DESTDIR}/usr/lib64
 	fi
 
+	# Remove "fixed" header
+	# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085
+	if [ -e "${DESTDIR}/usr/lib/gcc/${_triplet}/${_minorver}/include-fixed/bits/statx.h" ]; then
+		rm -vrf ${DESTDIR}/usr/lib/gcc/${_triplet}/${_minorver}/include-fixed/bits/statx.h
+	fi
+
 	# Remove libffi stuff.
 	rm -f ${DESTDIR}/usr/lib/libffi*
 	rm -f ${DESTDIR}/usr/share/man/man3/ffi*

             reply	other threads:[~2020-11-18 18:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 18:19 Johnnynator [this message]
2020-11-18 19:04 ` [PR REVIEW] " ericonr
2020-11-18 19:24 ` Johnnynator
2020-11-18 19:25 ` [PR PATCH] [Updated] " Johnnynator
2020-11-18 20:54 ` [PR PATCH] [Merged]: " Johnnynator

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26488@inbox.vuxu.org \
    --to=johnnynator@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).