Github messages for voidlinux
 help / color / mirror / Atom feed
From: emacsomancer <emacsomancer@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] racket: update to 7.8
Date: Sun, 25 Oct 2020 18:42:56 +0100	[thread overview]
Message-ID: <20201025174256.aov3JcDQVBx8Jw3Lo7PV56teCLEf9s27Ncq-WH6mpd8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25349@inbox.vuxu.org>

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

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

https://github.com/emacsomancer/void-packages racket7.8
https://github.com/void-linux/void-packages/pull/25349

racket: update to 7.8
- add libressl-devel to `depends` in order to address bug
https://github.com/void-linux/void-packages/issues/25748 (see upstream bug https://github.com/racket/racket/issues/1096 )


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

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

From 19b0e68162b95e693c5974069f829111f5592384 Mon Sep 17 00:00:00 2001
From: Benjamin Slade <slade@jnanam.net>
Date: Thu, 1 Oct 2020 05:27:27 -0600
Subject: [PATCH] racket: update to 7.8

- add libressl-devel to `depends` in order to address bug
https://github.com/void-linux/void-packages/issues/25748 (see upstream bug https://github.com/racket/racket/issues/1096 )
---
 srcpkgs/racket/template | 24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/srcpkgs/racket/template b/srcpkgs/racket/template
index dab6e5ec43c..54137c06247 100644
--- a/srcpkgs/racket/template
+++ b/srcpkgs/racket/template
@@ -1,21 +1,23 @@
 # Template file for 'racket'
 pkgname=racket
-version=7.7
+version=7.8
 revision=1
 build_wrksrc=src
 build_style=gnu-configure
 configure_args="--enable-useprefix --disable-docs"
 hostmakedepends="gsfonts"
 makedepends="sqlite-devel gtk+-devel"
-depends="gtk+"
+depends="gtk+ libressl-devel"
 short_desc="Multi-paradigm programming language in the Lisp-Scheme family"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="LGPL-3.0-only"
-homepage="http://racket-lang.org/"
+homepage="https://racket-lang.org/"
 distfiles="http://mirror.racket-lang.org/installers/${version}/${pkgname}-${version}-src.tgz"
-checksum=62659f42b059d028b37874a5ddd56a69057b1895e37e2c08590c150be680a533
+checksum=32c9f3dd5af934b3b2ef262ce1466a5c71aaeead623ea2cf112ab3e5bd6ae3a7
 nostrip=yes
 
+CFLAGS="-D_GNU_SOURCE"
+
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" --enable-racket=/usr/bin/racket"
 	hostmakedepends+=" racket sqlite-devel"
@@ -25,25 +27,17 @@ case "$XBPS_TARGET_MACHINE" in
 ppc*)
 	broken="hangs or segfaults";;
 *-musl)
-	makedepends+=" libucontext-devel";;
+	makedepends+=" libucontext-devel"
+	export LIBS="-lucontext"
+	;;
 esac
 
-pre_configure() {
-	case "$XBPS_TARGET_MACHINE" in
-	*-musl)
-		export CFLAGS+=" -D_GNU_SOURCE"
-		export LIBS+=" -lucontext"
-		;;
-	esac
-}
-
 post_install() {
 	vlicense LICENSE-libscheme.txt
 	vlicense LICENSE-MIT.txt
 }
 
 racket-doc_package() {
-	archs=noarch
 	short_desc+=" - documentation"
 	depends="racket>=${version}_${revision}"
 	pkg_install() {

  parent reply	other threads:[~2020-10-25 17:42 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-05  1:23 [PR PATCH] " emacsomancer
2020-10-15  6:01 ` ericonr
2020-10-20 18:37 ` ericonr
2020-10-21  1:22 ` emacsomancer
2020-10-21  1:22 ` emacsomancer
2020-10-21  1:39 ` ericonr
2020-10-21  2:32 ` emacsomancer
2020-10-21  4:41 ` ericonr
2020-10-21 19:15 ` [PR PATCH] [Updated] " emacsomancer
2020-10-21 19:17 ` emacsomancer
2020-10-25 17:42 ` emacsomancer [this message]
2020-11-11 23:15 ` emacsomancer
2020-11-24 22:14 ` racket: update to 7.9 ericonr
2020-11-25 19:33 ` [PR PATCH] [Updated] " emacsomancer
2020-11-25 19:34 ` emacsomancer
2020-11-25 19:54 ` ericonr
2020-11-25 20:13 ` emacsomancer
2020-11-25 20:14 ` [PR REVIEW] " ericonr
2020-11-25 20:26 ` emacsomancer
2021-01-25 13:53 ` ericonr
2021-02-14  3:14 ` [PR PATCH] [Updated] " emacsomancer
2021-10-27 15:25 ` racket: update to 8.0 sleibrock
2021-10-27 18:24 ` emacsomancer
2021-10-28  4:04 ` ericonr
2021-10-28 15:44 ` emacsomancer
2021-10-28 21:10 ` leahneukirchen
2021-10-28 21:16 ` emacsomancer
2021-10-28 22:16 ` leahneukirchen
2021-10-29 13:34 ` [PR PATCH] [Closed]: " leahneukirchen

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=20201025174256.aov3JcDQVBx8Jw3Lo7PV56teCLEf9s27Ncq-WH6mpd8@z \
    --to=emacsomancer@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).