Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] catatonit: update to 0.1.7.
@ 2021-12-16 19:40 jsbronder
  2021-12-17  8:20 ` [PR PATCH] [Merged]: " ericonr
  0 siblings, 1 reply; 2+ messages in thread
From: jsbronder @ 2021-12-16 19:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jsbronder/void-packages catatonit-0.1.7
https://github.com/void-linux/void-packages/pull/34572

catatonit: update to 0.1.7.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (crossbuild)
  - armv7l (crossbuild)


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

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

From 9c1509e6a6b6b7edfc50e66ff4cae1fecbaa0cc2 Mon Sep 17 00:00:00 2001
From: Justin Bronder <jsbronder@cold-front.org>
Date: Thu, 16 Dec 2021 14:30:39 -0500
Subject: [PATCH] catatonit: update to 0.1.7.

---
 ...e.ac-call-AM_INIT_AUTOMAKE-only-once.patch | 39 +++++++++++++++++++
 .../use-environ-instead-of-__environ.patch    | 29 --------------
 srcpkgs/catatonit/template                    |  4 +-
 3 files changed, 41 insertions(+), 31 deletions(-)
 create mode 100644 srcpkgs/catatonit/patches/0001-configure.ac-call-AM_INIT_AUTOMAKE-only-once.patch
 delete mode 100644 srcpkgs/catatonit/patches/use-environ-instead-of-__environ.patch

diff --git a/srcpkgs/catatonit/patches/0001-configure.ac-call-AM_INIT_AUTOMAKE-only-once.patch b/srcpkgs/catatonit/patches/0001-configure.ac-call-AM_INIT_AUTOMAKE-only-once.patch
new file mode 100644
index 000000000000..309e37074b4b
--- /dev/null
+++ b/srcpkgs/catatonit/patches/0001-configure.ac-call-AM_INIT_AUTOMAKE-only-once.patch
@@ -0,0 +1,39 @@
+From 99bb9048f532257f3a2c3856cfa19fe957ab6cec Mon Sep 17 00:00:00 2001
+From: Antonio Terceiro <terceiro@debian.org>
+Date: Thu, 4 Nov 2021 07:37:13 -0300
+Subject: [PATCH] configure.ac: call AM_INIT_AUTOMAKE only once
+
+That second call seems to be there since the beginning, and autoconf
+2.69 was fine with it. autoconf 2.71 doesn't allow it anymore:
+
+    $ ./autogen.sh
+    autoreconf: export WARNINGS=
+    autoreconf: Entering directory '.'
+    autoreconf: configure.ac: not using Gettext
+    autoreconf: running: aclocal --force
+    configure.ac:34: error: AM_INIT_AUTOMAKE expanded multiple times
+    /usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
+    configure.ac:19: the top level
+    /usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
+    configure.ac:34: the top level
+    autom4te: error: /usr/bin/m4 failed with exit status: 1
+    aclocal: error: /usr/bin/autom4te failed with exit status: 1
+    autoreconf: error: aclocal failed with exit status: 1
+
+Signed-off-by: Antonio Terceiro <terceiro@debian.org>
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 12c9186..94c5c84 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -31,4 +31,3 @@ AC_FUNC_FORK
+ 
+ AC_CONFIG_FILES([Makefile config.h])
+ AC_OUTPUT
+-AM_INIT_AUTOMAKE
+-- 
+2.34.1
+
diff --git a/srcpkgs/catatonit/patches/use-environ-instead-of-__environ.patch b/srcpkgs/catatonit/patches/use-environ-instead-of-__environ.patch
deleted file mode 100644
index c32276f9cbc6..000000000000
--- a/srcpkgs/catatonit/patches/use-environ-instead-of-__environ.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 75014b1c3099245b7d0f44f24d7f6dc4888a45fd Mon Sep 17 00:00:00 2001
-From: Andrey Golovizin <ag@sologoc.com>
-Date: Mon, 1 Mar 2021 18:41:42 +0100
-Subject: [PATCH] Use environ instead of __environ
-
-The `__environ` variable is internal and undocumented. It also breaks
-compilation with musl.
-
-Signed-off-by: Andrey Golovizin <ag@sologoc.com>
----
- catatonit.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/catatonit.c b/catatonit.c
-index a05451e..fd746bb 100644
---- a/catatonit.c
-+++ b/catatonit.c
-@@ -216,7 +216,7 @@ static int spawn_pid1(char *file, char **argv, sigset_t *sigmask)
- 	if (sigprocmask(SIG_SETMASK, sigmask, NULL) < 0)
- 		bail("failed to reset sigmask: %m");
- 
--	execvpe(file, argv, __environ);
-+	execvpe(file, argv, environ);
- 	bail("failed to exec pid1: %m");
- }
- 
--- 
-2.31.1
-
diff --git a/srcpkgs/catatonit/template b/srcpkgs/catatonit/template
index 29cc233b7d51..0935081b094d 100644
--- a/srcpkgs/catatonit/template
+++ b/srcpkgs/catatonit/template
@@ -1,6 +1,6 @@
 # Template file for 'catatonit'
 pkgname=catatonit
-version=0.1.5
+version=0.1.7
 revision=1
 build_style=gnu-configure
 hostmakedepends="automake libtool"
@@ -9,7 +9,7 @@ maintainer="Justin Bronder <jsbronder@cold-front.org>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/openSUSE/catatonit"
 distfiles="https://github.com/openSUSE/catatonit/releases/download/v${version}/catatonit.tar.xz"
-checksum=4c45e2230235751731da3daabe130abce70b3ef37d0b1936cbc90a46b475cf08
+checksum=6ea6cb8c7feeca2cf101e7f794dab6eeb192cde177ecc7714d2939655d3d8997
 
 pre_configure() {
 	autoreconf -fi

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

* Re: [PR PATCH] [Merged]: catatonit: update to 0.1.7.
  2021-12-16 19:40 [PR PATCH] catatonit: update to 0.1.7 jsbronder
@ 2021-12-17  8:20 ` ericonr
  0 siblings, 0 replies; 2+ messages in thread
From: ericonr @ 2021-12-17  8:20 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

catatonit: update to 0.1.7.
https://github.com/void-linux/void-packages/pull/34572

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (crossbuild)
  - armv7l (crossbuild)


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

end of thread, other threads:[~2021-12-17  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 19:40 [PR PATCH] catatonit: update to 0.1.7 jsbronder
2021-12-17  8:20 ` [PR PATCH] [Merged]: " ericonr

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