Github messages for voidlinux
 help / color / mirror / Atom feed
From: ivmai <ivmai@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gc: Update to 8.2.2
Date: Fri, 02 Sep 2022 08:03:36 +0200	[thread overview]
Message-ID: <20220902060336.ZqJ5R8gODpooYFx7_Gu2hWTEgsMcKoeaLUe8UeZmQRc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39014@inbox.vuxu.org>

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

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

https://github.com/ivmai/void-linux-packages patch-4
https://github.com/void-linux/void-packages/pull/39014

gc: Update to 8.2.2
Other cleanups:
* Remove --enable-mmap (which is the default configure option now)
* No longer depends on libatomic_ops (provided the compiler is gcc or clang)
* Fix license (it is MIT, not GPL)
* Remove unneeded CFLAGS
* Set maintainer

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x64)


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

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

From 256581946093902c61c12c0c578eddbf48e300bd Mon Sep 17 00:00:00 2001
From: Ivan Maidanski <ivmai@mail.ru>
Date: Fri, 2 Sep 2022 09:00:44 +0300
Subject: [PATCH] gc: Update to 8.2.2

Other cleanups:
* Remove --enable-mmap (which is the default configure option now)
* No longer depends on libatomic_ops (provided the compiler is gcc or clang)
* Fix license (it is MIT, not GPL)
* Remove unneeded CFLAGS
* Set maintainer
* Specify README.QUICK as license file
---
 srcpkgs/gc/template | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/gc/template b/srcpkgs/gc/template
index 3e00fa2ab468..a62033103920 100644
--- a/srcpkgs/gc/template
+++ b/srcpkgs/gc/template
@@ -1,28 +1,24 @@
 # Template file for 'gc'
 pkgname=gc
-version=8.0.6
+version=8.2.2
 revision=1
 build_style=gnu-configure
-configure_args="--enable-static --enable-mmap"
+# libatomic_ops is replaced by C11 atomic
+configure_args="--enable-static --with-libatomic-ops=none"
 hostmakedepends="pkg-config"
-makedepends="libatomic_ops-devel"
 short_desc="Garbage collector for C and C++"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2.0-or-later"
+maintainer="Ivan Maidanski <ivmai@mail.ru>"
+license="MIT"
 homepage="https://www.hboehm.info/gc/"
 distfiles="https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz"
-checksum=3b4914abc9fa76593596773e4da671d7ed4d5390e3d46fbf2e5f155e121bea11
-
-case "$XBPS_TARGET_MACHINE" in
-*-musl)
-	CFLAGS='-D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR'
-esac
+checksum=f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0
 
 post_install() {
 	mkdir -p ${DESTDIR}/usr/include/gc/
 	mv ${wrksrc}/include/* ${DESTDIR}/usr/include/gc/
 	mv ${DESTDIR}/usr/include/gc/extra/* ${DESTDIR}/usr/include/
 	rmdir ${DESTDIR}/usr/include/gc/extra
+	vlicense README.QUICK
 }
 
 gc-devel_package() {

  parent reply	other threads:[~2022-09-02  6:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-31 21:33 [PR PATCH] " ivmai
2022-08-31 21:35 ` ivmai
2022-09-01 10:50 ` [PR PATCH] [Updated] " ivmai
2022-09-01 14:32 ` ivmai
2022-09-01 15:24 ` ivmai
2022-09-02  5:52 ` [PR PATCH] [Updated] " ivmai
2022-09-02  6:03 ` ivmai [this message]
2022-09-02  6:34 ` ivmai
2022-09-02  6:53 ` ivmai
2022-09-02  8:22 ` [PR PATCH] [Merged]: " 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=20220902060336.ZqJ5R8gODpooYFx7_Gu2hWTEgsMcKoeaLUe8UeZmQRc@z \
    --to=ivmai@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).