From: ndowens <ndowens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] prototype: fix cross-build
Date: Fri, 25 Dec 2020 04:20:47 +0100 [thread overview]
Message-ID: <20201225032047.9EpQVywJL-x48VKFZjUPcwdKculhDm9rnx9TUg7n8os@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27415@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
There is an updated pull request by ndowens against master on the void-packages repository
https://github.com/ndowens/void-packages prototype
https://github.com/void-linux/void-packages/pull/27415
prototype: fix cross-build
A patch file from https://github.com/void-linux/void-packages/pull/27415.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-prototype-27415.patch --]
[-- Type: text/x-diff, Size: 988 bytes --]
From 2e4a88c728be159d930ece6f64ba9aa6402b8227 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 24 Dec 2020 21:19:17 -0600
Subject: [PATCH] prototype: fix cross-build
---
srcpkgs/prototype/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/prototype/template b/srcpkgs/prototype/template
index a9f58d57f91..ce3346d5331 100644
--- a/srcpkgs/prototype/template
+++ b/srcpkgs/prototype/template
@@ -9,12 +9,12 @@ license="Public Domain"
homepage="https://github.com/ptitSeb/prototype"
distfiles="https://github.com/ptitSeb/prototype/archive/v${version}.tar.gz"
checksum=400f8a5c727c9feaa6b48b65c23c312db41dd238af9526659bf3342346c05af6
-nocross=yes
CXXFLAGS="-Wno-write-strings"
do_build() {
- make SDL2=1 LINUX=1 CPP=$CXX ${makejobs}
+ vsed -i '/$(PROGRAM)/s;$(LIBS);;' Makefile
+ make SDL2=1 LINUX=1 CPP=$CXX LD=${CXX} LDFLAGS="${LDFLAGS} -lGL -lm" ${makejobs}
}
do_install() {
vmkdir usr/libexec/prototype
next prev parent reply other threads:[~2020-12-25 3:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-25 3:18 [PR PATCH] " ndowens
2020-12-25 3:20 ` ndowens [this message]
2020-12-27 10:46 ` sgn
2020-12-27 10:46 ` [PR PATCH] [Closed]: " sgn
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=20201225032047.9EpQVywJL-x48VKFZjUPcwdKculhDm9rnx9TUg7n8os@z \
--to=ndowens@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).