Github messages for voidlinux
 help / color / mirror / Atom feed
From: mtboehlke <mtboehlke@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mg: update to 20220614.
Date: Tue, 06 Sep 2022 02:43:44 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39124@inbox.vuxu.org> (raw)

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

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

https://github.com/mtboehlke/void-packages mg
https://github.com/void-linux/void-packages/pull/39124

mg: update to 20220614.
Also fix compilation issues

<!-- 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, (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/39124.patch is attached

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

From 46d8a2b32631d50abe59e7410291f3793ed25add Mon Sep 17 00:00:00 2001
From: Mat Boehlke <mtboehlke@gmail.com>
Date: Mon, 5 Sep 2022 18:37:00 -0500
Subject: [PATCH] mg: update to 20220614.

Fix compilation issues
---
 srcpkgs/mg/template | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/mg/template b/srcpkgs/mg/template
index 8bb7fd00185e..be17fc60fa31 100644
--- a/srcpkgs/mg/template
+++ b/srcpkgs/mg/template
@@ -1,29 +1,26 @@
 # Template file for 'mg'
 pkgname=mg
-version=20210314
+version=20220614
 revision=1
 hostmakedepends="pkg-config"
-makedepends="libbsd-devel ncurses-devel"
+makedepends="libbsd-devel libmd-devel ncurses-devel"
 short_desc="Micro GNU/emacs"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Public Domain"
 homepage="https://github.com/hboetes/mg"
 distfiles="https://github.com/hboetes/mg/archive/${version}.tar.gz"
-checksum=6820e76a0e27d9a744624d421b3b30b0030140c2a817df1310b25c3abe397106
+checksum=d3bc16baba82457c4f60ecd258762ee2ed848064f79729fe92e29bfd181af121
 
-CFLAGS="-DTCSASOFT=0"
+CFLAGS+=" -DTCSASOFT=0"
 
 case "$XBPS_TARGET_MACHINE" in
 	*-musl) CFLAGS+=" -DREG_STARTEND=0";;
 esac
 
-do_configure() {
-	sed -i "s,\(BSD_CPPFLAGS:=\).*,\1 -isystem ${XBPS_CROSS_BASE}/usr/include/bsd -DLIBBSD_OVERLAY,g" GNUmakefile
-	sed -i "s,\(BSD_LIBS:=\).*,\1 -lbsd,g" GNUmakefile
-}
 do_build() {
 	make CC="$CC" CFLAGS="$CFLAGS" prefix=/usr ${makejobs}
 }
+
 do_install() {
 	vmkdir usr/bin
 	make install prefix=/usr bindir=/usr/bin mandir=/usr/share/man DESTDIR=${DESTDIR}

             reply	other threads:[~2022-09-06  0:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06  0:43 mtboehlke [this message]
2022-09-06  6:58 ` [PR REVIEW] " classabbyamp
2022-09-06 14:02 ` [PR PATCH] [Updated] " mtboehlke
2022-09-06 14:04 ` [PR REVIEW] " mtboehlke
2022-09-06 14:05 ` mtboehlke
2022-09-06 14:54 ` [PR PATCH] [Merged]: " classabbyamp

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-39124@inbox.vuxu.org \
    --to=mtboehlke@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).