Github messages for voidlinux
 help / color / mirror / Atom feed
From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] nodejs*: set _LARGEFILE_SOURCE/_FILE_OFFSET_BITS=64
Date: Sun, 24 May 2020 15:15:42 +0200	[thread overview]
Message-ID: <20200524131542.H2mfPSPXwTDIOnX1rTecgfIFdoioQzyt_vI-V5T_qVI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22259@inbox.vuxu.org>

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

There is an updated pull request by Johnnynator against master on the void-packages repository

https://github.com/Johnnynator/void-packages nodejs-i686
https://github.com/void-linux/void-packages/pull/22259

nodejs*: set _LARGEFILE_SOURCE/_FILE_OFFSET_BITS=64
This gets yarn (and probably some other programs) running again on i686
and probably also 32bit arm (untested, but nobody probably ever tested yarn there).

So far only verifided with nodejs

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

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

From 3bc80634c4ee7b5baf48750521ed54b87410f77a Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sun, 24 May 2020 15:11:55 +0200
Subject: [PATCH 1/3] nodejs-lts: set _LARGEFILE_SOURCE/_FILE_OFFSET_BITS=64

---
 srcpkgs/nodejs-lts/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/nodejs-lts/template b/srcpkgs/nodejs-lts/template
index 33f9bef0409..b85550b6627 100644
--- a/srcpkgs/nodejs-lts/template
+++ b/srcpkgs/nodejs-lts/template
@@ -49,6 +49,9 @@ if [ "$XBPS_NO_ATOMIC8" ]; then
 	hostmakedepends+=" libatomic-devel"
 fi
 
+CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+
 do_configure() {
 	local _args
 

From 1e97cae2b75ad9487904f42583ae0f9a9a9b9311 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sun, 24 May 2020 15:12:09 +0200
Subject: [PATCH 2/3] nodejs-lts-10: set _LARGEFILE_SOURCE/_FILE_OFFSET_BITS=64

---
 srcpkgs/nodejs-lts-10/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/nodejs-lts-10/template b/srcpkgs/nodejs-lts-10/template
index ae17643be84..57df37fc450 100644
--- a/srcpkgs/nodejs-lts-10/template
+++ b/srcpkgs/nodejs-lts-10/template
@@ -43,6 +43,9 @@ if [ "$XBPS_NO_ATOMIC8" ]; then
 	hostmakedepends+=" libatomic-devel"
 fi
 
+CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+
 do_configure() {
 	local _args
 

From fe5e3f8c7106c7aeb9d7956b702281e2582a70c6 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Sun, 24 May 2020 15:12:15 +0200
Subject: [PATCH 3/3] nodejs: set _LARGEFILE_SOURCE/_FILE_OFFSET_BITS=64

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

diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template
index 34da92abfd9..cff7777c7f1 100644
--- a/srcpkgs/nodejs/template
+++ b/srcpkgs/nodejs/template
@@ -49,6 +49,9 @@ if [ "$XBPS_NO_ATOMIC8" ]; then
 	hostmakedepends+=" libatomic-devel"
 fi
 
+CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+
 do_configure() {
 	local _args
 

  reply	other threads:[~2020-05-24 13:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-24 13:15 [PR PATCH] " Johnnynator
2020-05-24 13:15 ` Johnnynator [this message]
2020-05-26 10:22 ` [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=20200524131542.H2mfPSPXwTDIOnX1rTecgfIFdoioQzyt_vI-V5T_qVI@z \
    --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).