Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] flatbuffers: fix gcc9 build
Date: Tue, 08 Oct 2019 02:23:07 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15230@inbox.vuxu.org> (raw)

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

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

https://github.com/void-ppc/void-packages flatbuffers
https://github.com/void-linux/void-packages/pull/15230

flatbuffers: fix gcc9 build


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

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

From 69dc1b489f04240e2cc96d2e0f95dfdcee50243d Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Tue, 8 Oct 2019 02:07:29 +0200
Subject: [PATCH] flatbuffers: fix gcc9 build

[ci skip]
---
 srcpkgs/flatbuffers/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/flatbuffers/template b/srcpkgs/flatbuffers/template
index 2888235df1a..d38db2c5b08 100644
--- a/srcpkgs/flatbuffers/template
+++ b/srcpkgs/flatbuffers/template
@@ -10,6 +10,9 @@ homepage="https://google.github.io/flatbuffers/"
 distfiles="https://github.com/google/${pkgname}/archive/v${version}.tar.gz"
 checksum=3714e3db8c51e43028e10ad7adffb9a36fc4aa5b1a363c2d0c4303dd1be59a7c
 
+# prevents building of tests on gcc9
+CXXFLAGS="-Wno-error=class-memaccess"
+
 if [ "$CROSS_BUILD" ]; then
 	# Disable tests to prevent executing target binaries on host
 	configure_args="-DFLATBUFFERS_BUILD_TESTS=OFF"

             reply	other threads:[~2019-10-08  0:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08  0:23 voidlinux-github [this message]
2019-10-08 18:20 ` [PR PATCH] [Merged]: " voidlinux-github

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-15230@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).