Github messages for voidlinux
 help / color / mirror / Atom feed
From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] chroot-grep: update to 3.7.
Date: Sat, 20 Aug 2022 00:22:49 +0200	[thread overview]
Message-ID: <20220819222249.6fNIrmgM5OWJeZRoni8bDB3dFuJEgUtX3FhnRzJFh1Q@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38785@inbox.vuxu.org>

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

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

https://github.com/oreo639/void-packages chgrep
https://github.com/void-linux/void-packages/pull/38785

chroot-grep: update to 3.7.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

The regular grep package is 3.7, not sure if there is a specific reason to keep this on 3.3, so feel free to let me know.

<!--
#### 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 786161164290f6a88427c65f21a2abe67232b856 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Fri, 19 Aug 2022 15:22:20 -0700
Subject: [PATCH 1/2] grep: fix tests on musl

---
 srcpkgs/grep/template | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/grep/template b/srcpkgs/grep/template
index 7bab5c9c28e6..e35e92bd5ef4 100644
--- a/srcpkgs/grep/template
+++ b/srcpkgs/grep/template
@@ -1,4 +1,7 @@
 # Template file for 'grep'
+#
+# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/chroot-grep"
+#
 pkgname=grep
 version=3.7
 revision=1
@@ -12,11 +15,3 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/grep/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
 checksum=5c10da312460aec721984d5d83246d24520ec438dd48d7ab5a05dbc0d6d6823c
-
-pre_check() {
-	case "$XBPS_TARGET_MACHINE" in
-		*-musl)
-			# Disable locale tests that fail on musl
-			sed -i '/test-localename$(EXEEXT)/d' gnulib-tests/Makefile
-	esac
-}

From 63f768f7b0252176b8bb6c97deda51105794e602 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Fri, 19 Aug 2022 15:22:39 -0700
Subject: [PATCH 2/2] chroot-grep: update to 3.7.

---
 srcpkgs/chroot-grep/patches  |  1 +
 srcpkgs/chroot-grep/template | 10 +++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)
 create mode 120000 srcpkgs/chroot-grep/patches

diff --git a/srcpkgs/chroot-grep/patches b/srcpkgs/chroot-grep/patches
new file mode 120000
index 000000000000..bcb05f606dca
--- /dev/null
+++ b/srcpkgs/chroot-grep/patches
@@ -0,0 +1 @@
+../grep/patches
\ No newline at end of file
diff --git a/srcpkgs/chroot-grep/template b/srcpkgs/chroot-grep/template
index 022b01d20de2..7167099959d9 100644
--- a/srcpkgs/chroot-grep/template
+++ b/srcpkgs/chroot-grep/template
@@ -1,19 +1,23 @@
 # Template file for 'chroot-grep'
+#
+# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/grep"
+#
 pkgname=chroot-grep
-version=3.3
+version=3.7
 revision=1
 wrksrc="grep-${version}"
 bootstrap=yes
 build_style=gnu-configure
 configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
-short_desc="The GNU grep utility - for use with xbps-src"
+short_desc="GNU grep utility - for use with xbps-src"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/grep/"
 distfiles="${GNU_SITE}/grep/grep-${version}.tar.xz"
-checksum=b960541c499619efd6afe1fa795402e4733c8e11ebf9fafccc0bb4bccdc5b514
+checksum=5c10da312460aec721984d5d83246d24520ec438dd48d7ab5a05dbc0d6d6823c
 conflicts="grep>=0"
 provides="grep-${version}_${revision}"
+make_check=no # Infinate loop in hash-collision-perf without perl
 
 if [ "$XBPS_TARGET_LIBC" = musl ]; then
 	export ac_cv_lib_error_at_line=no

  parent reply	other threads:[~2022-08-19 22:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 18:44 [PR PATCH] " oreo639
2022-08-19 18:54 ` [PR PATCH] [Updated] " oreo639
2022-08-19 19:48 ` oreo639
2022-08-19 19:50 ` oreo639
2022-08-19 19:57 ` oreo639
2022-08-19 20:01 ` oreo639
2022-08-19 20:26 ` oreo639
2022-08-19 22:08 ` [PR REVIEW] " paper42
2022-08-19 22:09 ` oreo639
2022-08-19 22:10 ` paper42
2022-08-19 22:11 ` oreo639
2022-08-19 22:13 ` oreo639
2022-08-19 22:17 ` paper42
2022-08-19 22:22 ` oreo639 [this message]
2022-08-19 22:26 ` oreo639
2022-08-19 22:30 ` paper42
2022-08-19 22:35 ` Duncaen
2022-08-20  0:27 ` [PR PATCH] [Updated] " oreo639
2022-08-20  0:30 ` oreo639
2022-08-21 12:47 ` [PR PATCH] [Merged]: " 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=20220819222249.6fNIrmgM5OWJeZRoni8bDB3dFuJEgUtX3FhnRzJFh1Q@z \
    --to=oreo639@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).