Github messages for voidlinux
 help / color / mirror / Atom feed
From: omar-polo <omar-polo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] got: update to 0.84
Date: Fri, 24 Feb 2023 10:45:10 +0100	[thread overview]
Message-ID: <20230224094510.Kn8aimChfiqzHt7IcQbukDPmq1L_O-sj2giUmd-Dz3M@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42423@inbox.vuxu.org>

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

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

https://github.com/omar-polo/void-packages got/0.84
https://github.com/void-linux/void-packages/pull/42423

got: update to 0.84
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures:
  - aarch64-musl (cross-compiling from amd64)

This replaces #42089, all the pending issues (cross-compiling etc) were fixed upstream.

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

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

From f082e81c2fba9d59287477e669ad9ca579836df6 Mon Sep 17 00:00:00 2001
From: Omar Polo <op@omarpolo.com>
Date: Thu, 19 Jan 2023 19:24:43 +0100
Subject: [PATCH] got: update to 0.84

---
 srcpkgs/got/patches/template-configure.diff | 20 ++++++++++++++++++++
 srcpkgs/got/template                        | 10 +++++++---
 2 files changed, 27 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/got/patches/template-configure.diff

diff --git a/srcpkgs/got/patches/template-configure.diff b/srcpkgs/got/patches/template-configure.diff
new file mode 100644
index 000000000000..30f9dc0332a4
--- /dev/null
+++ b/srcpkgs/got/patches/template-configure.diff
@@ -0,0 +1,20 @@
+Fixes libbsd detection
+
+--- a/template/configure.ac
++++ b/template/configure.ac
+@@ -20,7 +20,15 @@ AC_PROG_YACC
+ 
+ AC_PROG_CC
+ AC_PROG_YACC
++PKG_PROG_PKG_CONFIG
+ 
++PKG_CHECK_MODULES(LIBBSD, libbsd-overlay, [
++	AM_CFLAGS="$LIBBSD_CFLAGS $AM_CFLAGS"
++	CFLAGS="$AM_CFLAGS $SAVED_CFLAGS"
++	LIBS="$LIBBSD_LIBS $LIBS"
++	AC_DEFINE(HAVE_LIBBSD)
++], [AC_MSG_NOTICE("libbsd not found")])
++
+ AM_CPPFLAGS="$CFLAGS"
+ 
+ AC_REPLACE_FUNCS([ \
diff --git a/srcpkgs/got/template b/srcpkgs/got/template
index b41834246727..e5629c21bc11 100644
--- a/srcpkgs/got/template
+++ b/srcpkgs/got/template
@@ -1,9 +1,9 @@
 # Template file for 'got'
 pkgname=got
-version=0.79
+version=0.84
 revision=1
 build_style=gnu-configure
-hostmakedepends="byacc pkg-config"
+hostmakedepends="autoconf automake byacc libtool pkg-config"
 makedepends="libmd-devel zlib-devel libuuid-devel libbsd-devel ncurses-devel openssl-devel libevent-devel"
 short_desc="VCS which prioritizes ease of use and simplicity over flexibility"
 maintainer="Omar Polo <op@omarpolo.com>"
@@ -11,9 +11,13 @@ license="ISC"
 homepage="https://gameoftrees.org"
 changelog="https://gameoftrees.org/releases/CHANGES"
 distfiles="https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz"
-checksum="78be1c0a905184ed1cb506468359faf87e4ee86851291b1670439c46bfb3d87c"
+checksum="cb947331390b5c0b3eab5957247c849c6cfd03474c948e071d77b7f1df132ca9"
 
 post_install() {
 	sed -n '/Copyright/,/PERFORMANCE/p' got/got.c > LICENSE
 	vlicense LICENSE
 }
+
+pre_configure() {
+	cd template && autoreconf -fi
+}

  parent reply	other threads:[~2023-02-24  9:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-24  8:52 [PR PATCH] " omar-polo
2023-02-24  8:54 ` [PR PATCH] [Updated] " omar-polo
2023-02-24  9:45 ` omar-polo [this message]
2023-02-24  9:56 ` omar-polo
2023-02-24 14:24 ` [PR PATCH] [Updated] " omar-polo
2023-02-24 14:28 ` got: update to 0.84.1 omar-polo
2023-03-15 11:28 ` omar-polo
2023-03-15 11:28 ` [PR PATCH] [Closed]: " omar-polo

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=20230224094510.Kn8aimChfiqzHt7IcQbukDPmq1L_O-sj2giUmd-Dz3M@z \
    --to=omar-polo@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).