Github messages for voidlinux
 help / color / mirror / Atom feed
From: mmnmnnmnmm <mmnmnnmnmm@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] nawk: update to 20200702
Date: Fri, 17 Jul 2020 20:25:22 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23621@inbox.vuxu.org> (raw)

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

There is a new pull request by mmnmnnmnmm against master on the void-packages repository

https://github.com/mmnmnnmnmm/void-packages nawk
https://github.com/void-linux/void-packages/pull/23621

nawk: update to 20200702
xlint says that the short_desc should not start with an article, but in this circumstance that would change the meaning of the sentence.

If you want me to change it I suggest something like
"Version of awk as described in The AWK Programming Language".

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

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

From 21f02af4eaf1d31cedc27ba5aac44a4d144b436e Mon Sep 17 00:00:00 2001
From: mmnmnnmnmm <45293514+mmnmnnmnmm@users.noreply.github.com>
Date: Fri, 17 Jul 2020 19:21:27 +0100
Subject: [PATCH] nawk: update to 20200702

---
 srcpkgs/nawk/template | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/nawk/template b/srcpkgs/nawk/template
index 48678359d06..6f73b6aea9e 100644
--- a/srcpkgs/nawk/template
+++ b/srcpkgs/nawk/template
@@ -1,16 +1,17 @@
 # Template file for 'nawk'
 pkgname=nawk
-version=20180827
+version=20200702
 revision=1
-wrksrc="awk-${version}"
+_commit=2a4146ec3027d12e375209e03ed1c5a9ab230da4
+wrksrc="awk-${_commit}"
 hostmakedepends="bison"
 short_desc="The one, true implementation of AWK"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="mmnmnnmnmm <mnnnm@disroot.org>"
 license="SMLNJ"
 homepage="https://github.com/onetrueawk/awk"
 changelog="https://raw.githubusercontent.com/onetrueawk/awk/master/ChangeLog"
-distfiles="https://github.com/onetrueawk/awk/archive/${version}.tar.gz"
-checksum=c9232d23410c715234d0c26131a43ae6087462e999a61f038f1790598ce4807f
+distfiles="https://github.com/onetrueawk/awk/archive/${_commit}.tar.gz"
+checksum=5b882509ed2d84fcbdff38316db11fbd6f1682bb948f7e9761ffcd1115bae058
 
 provides="awk-0_1"
 alternatives="
@@ -18,13 +19,14 @@ alternatives="
  awk:awk.1:/usr/share/man/man1/nawk.1"
 
 do_configure() {
-	sed -i '/maketab/{s/CC/BUILD_CC/;s/CFLAGS/BUILD_CFLAGS/}' makefile
-	sed -i '/YACC = yacc -d -S/ s|^|#|' makefile
-	sed -i 's/-lm/$(LDFLAGS) &/' makefile
+	vsed -i '/maketab/{s/HOSTCC/BUILD_CC/;s/CFLAGS/BUILD_CFLAGS/}' makefile
+	vsed -i 's/-lm/$(LDFLAGS) &/' makefile
 }
+
 do_build() {
 	make CC=$CC CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS -DHAS_ISBLANK" LDFLAGS="$LDFLAGS"
 }
+
 do_install() {
 	vbin a.out nawk
 	vman awk.1 nawk.1

             reply	other threads:[~2020-07-17 18:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-17 18:25 mmnmnnmnmm [this message]
2020-07-17 19:14 ` Chocimier
2020-07-17 19:47 ` mmnmnnmnmm
2020-07-18  6:38 ` fosslinux
2020-07-18  7:06 ` flexibeast
2020-07-18  7:10 ` fosslinux
2020-07-18 11:35 ` mmnmnnmnmm
2021-01-29  0:59 ` ericonr
2021-01-29 13:57 ` mmnmnnmnmm
2021-01-29 14:04 ` [PR PATCH] [Updated] " mmnmnnmnmm

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23621@inbox.vuxu.org \
    --to=mmnmnnmnmm@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).