Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] nawk: update to 20200702
@ 2020-07-17 18:25 mmnmnnmnmm
  2020-07-17 19:14 ` Chocimier
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: mmnmnnmnmm @ 2020-07-17 18:25 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-29 14:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17 18:25 [PR PATCH] nawk: update to 20200702 mmnmnnmnmm
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

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).