Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] autoconf: update to 2.71.
@ 2022-08-01 17:07 motorto
  2022-08-01 17:08 ` [PR PATCH] [Updated] " motorto
                   ` (65 more replies)
  0 siblings, 66 replies; 67+ messages in thread
From: motorto @ 2022-08-01 17:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### 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):
  - armv6l


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

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

From fd7f6f1f26574ca40164e6b1356e35cd6bf500a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  7 ++---
 2 files changed, 4 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..f22dfe9cedc9 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,10 +10,11 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding
 	# AT_XFAIL_IF([:])
 	sed -i '/AT_SETUP(\[AC_PROG_CPP via CC\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/c.at
+		sed -i '/AT_SETUP(\[parallel autotest and signal handling\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/autotest.at
 }

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
@ 2022-08-01 17:08 ` motorto
  2022-08-01 17:11 ` motorto
                   ` (64 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-01 17:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### 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):
  - armv6l


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

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

From e0cd0a59d833401d392776e801e1294621073895 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  7 ++---
 2 files changed, 4 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..031d3a920081 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,10 +10,11 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding
 	# AT_XFAIL_IF([:])
 	sed -i '/AT_SETUP(\[AC_PROG_CPP via CC\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/c.at
+	sed -i '/AT_SETUP(\[parallel autotest and signal handling\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/autotest.at
 }

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
  2022-08-01 17:08 ` [PR PATCH] [Updated] " motorto
@ 2022-08-01 17:11 ` motorto
  2022-08-01 19:36 ` motorto
                   ` (63 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-01 17:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### 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):
  - armv6l


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

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

From e0cd0a59d833401d392776e801e1294621073895 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 1/2] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  7 ++---
 2 files changed, 4 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..031d3a920081 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,10 +10,11 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding
 	# AT_XFAIL_IF([:])
 	sed -i '/AT_SETUP(\[AC_PROG_CPP via CC\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/c.at
+	sed -i '/AT_SETUP(\[parallel autotest and signal handling\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/autotest.at
 }

From f891cdb48be940e20ca120ee6568fc04768738d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 2/2] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
  2022-08-01 17:08 ` [PR PATCH] [Updated] " motorto
  2022-08-01 17:11 ` motorto
@ 2022-08-01 19:36 ` motorto
  2022-08-01 21:14 ` motorto
                   ` (62 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-01 19:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

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

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

From e29f337d0e784af581255738967c623949d38c4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 1/2] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  7 ++---
 2 files changed, 4 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..77eb7014bd07 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,10 +10,11 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding
 	# AT_XFAIL_IF([:])
 	sed -i '/AT_SETUP(\[AC_PROG_CPP via CC\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/c.at
+	# sed -i '/AT_SETUP(\[parallel autotest and signal handling\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/autotest.at
 }

From 625ae24d58d6248064f164214b0495496bf9cd1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 2/2] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (2 preceding siblings ...)
  2022-08-01 19:36 ` motorto
@ 2022-08-01 21:14 ` motorto
  2022-08-01 22:04 ` paper42
                   ` (61 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-01 21:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

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

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

From 2577942a1243c17475f2997d39f82dc2022ac7cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 1/2] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From c4d3e927cd1368392dbcad7767e19fcaffac82f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 2/2] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (3 preceding siblings ...)
  2022-08-01 21:14 ` motorto
@ 2022-08-01 22:04 ` paper42
  2022-08-01 22:20 ` motorto
                   ` (60 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-01 22:04 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1201769928

Comment:
this is a core package, briefly testing it is not enough

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (4 preceding siblings ...)
  2022-08-01 22:04 ` paper42
@ 2022-08-01 22:20 ` motorto
  2022-08-04 21:28 ` motorto
                   ` (59 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-01 22:20 UTC (permalink / raw)
  To: ml

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

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1201788912

Comment:
> this is a core package, briefly testing it is not enough

Not expecting this PR to be merged without the testing of others.

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (5 preceding siblings ...)
  2022-08-01 22:20 ` motorto
@ 2022-08-04 21:28 ` motorto
  2022-08-04 22:05 ` paper42
                   ` (58 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-04 21:28 UTC (permalink / raw)
  To: ml

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

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1205787669

Comment:
@paper42  any way to force xbps-src to use this autoconf instead of the ones in the repos ?

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (6 preceding siblings ...)
  2022-08-04 21:28 ` motorto
@ 2022-08-04 22:05 ` paper42
  2022-08-04 22:18 ` motorto
                   ` (57 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-04 22:05 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1205815140

Comment:
> @paper42  any way to force xbps-src to use this autoconf instead of the ones in the repos ?

make sure this commit is applied in the current branch when you are building something

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (7 preceding siblings ...)
  2022-08-04 22:05 ` paper42
@ 2022-08-04 22:18 ` motorto
  2022-08-07 20:06 ` [PR PATCH] [Updated] " motorto
                   ` (56 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-04 22:18 UTC (permalink / raw)
  To: ml

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

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1205824662

Comment:
> > @paper42  any way to force xbps-src to use this autoconf instead of the ones in the repos ?
> 
> make sure this commit is applied in the current branch when you are building something

sure, my bad I was being dumb. 

I will try to build base-system with -N option with this autoconf update and I will report back

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (8 preceding siblings ...)
  2022-08-04 22:18 ` motorto
@ 2022-08-07 20:06 ` motorto
  2022-08-08  0:02 ` motorto
                   ` (55 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-07 20:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

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

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

From 4dd767cd78abd57964cdacfc8267e0224e1b53c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 1/4] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 65f91906e7cfa969c32e47ebf6cc9c65f668c8ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 2/4] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 2a3755a30ef4662da3af23efbea10ecda91b76c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Fri, 5 Aug 2022 10:21:42 +0100
Subject: [PATCH 3/4] libidn2: update to 2.3.3.

---
 srcpkgs/libidn2/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..1f417595661d 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -1,9 +1,9 @@
 # Template file for 'libidn2'
 pkgname=libidn2
-version=2.3.2
+version=2.3.3
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -11,7 +11,7 @@ license="GPL-3.0-or-later, LGPL-3.0-or-later"
 homepage="https://www.gnu.org/software/libidn/#libidn2"
 changelog="https://gitlab.com/libidn/libidn2/-/raw/master/NEWS"
 distfiles="${GNU_SITE}/libidn/libidn2-${version}.tar.gz"
-checksum=76940cd4e778e8093579a9d195b25fff5e936e9dc6242068528b437a76764f91
+checksum=f3ac987522c00d33d44b323cae424e2cffcb4c63c6aa6cd1376edacbf1c36eb0
 
 pre_configure() {
 	autoreconf -if

From 7ac8ccdf36fdcd440e04a3bd8066b35348c66ba7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 7 Aug 2022 21:04:30 +0100
Subject: [PATCH 4/4] gsoap: update to 2.8.122.

---
 srcpkgs/gsoap/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template
index c0cf0340566b..035b74a5a5d5 100644
--- a/srcpkgs/gsoap/template
+++ b/srcpkgs/gsoap/template
@@ -1,7 +1,7 @@
 # Template file for 'gsoap'
 pkgname=gsoap
-version=2.8.91
-revision=3
+version=2.8.122
+revision=1
 wrksrc="gsoap-${version%.*}"
 build_style=gnu-configure
 configure_args="--enable-ipv6"
@@ -12,7 +12,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="gSOAP-1.3b, GPL-2.0-only"
 homepage="http://www.cs.fsu.edu/~engelen/soap.html"
 distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
-checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f
+checksum=3eb8486c986b44071bb5f19ef7b990791f819bb267c0bf640e95bd991070fad8
 disable_parallel_build=yes
 
 CFLAGS="-fcommon"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (9 preceding siblings ...)
  2022-08-07 20:06 ` [PR PATCH] [Updated] " motorto
@ 2022-08-08  0:02 ` motorto
  2022-08-09  0:00 ` motorto
                   ` (54 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-08  0:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### 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):
  - armv6l

I have also update autoconf-archive in this pr.



Compiled all the packages that depend on autoconf `grep -ri autconf` (Yes, I know it has some false negatives). 

**I still have to compile all packages that depend on automake**

The following packages fails:

- [ ] MEGAcmd
- [ ] bumblebee
- [ ] eid-mw
- [ ] eid-mw-devel
- [X] gsoap ~fail to fetch source~ - Updated to 2.8.122
- [X] gsoap-devel  - Updated to 2.8.122
- [ ] iverilog
- [ ] libldap
- [ ] libldap-devel
- [ ] libstatgrab
- [ ] libstatgrab-devel
- [ ] lxsession
- [ ] nfs4-acl-tools
- [ ] openldap
- [ ] openldap-tools
- [ ] sun7i-kernel
- [ ] sun7i-kernel-headers
- [ ] tpm2-tss
- [ ] tpm2-tss-devel
- [ ] yaboot - can't be built on x86_64

And I need help compiling the following packages either because it takes a long time on my pc or I don't have an arch that supports it (the ones that don't support x86_64 have a comment next to it, the others are because they were taking too long on my dual core)

- [x] argp-standalone - can't be built on x86_64 
- [ ] firefox
- [ ] firefox-esr
- [ ] mozjs91
- [ ] mozjs91-devel
- [ ] nix
- [ ] openjdk11
- [ ] openjdk11-doc
- [ ] openjdk11-jmods
- [ ] openjdk11-jre
- [ ] openjdk11-src
- [ ] openjdk11-static-libs
- [ ] openjdk12-bootstrap
- [ ] openjdk13-bootstrap
- [ ] openjdk14-bootstrap
- [ ] openjdk15-bootstrap
- [ ] openjdk16-bootstrap
- [ ] openjdk17
- [ ] openjdk17-doc
- [ ] openjdk17-jmods
- [ ] openjdk17-jre
- [ ] openjdk17-src
- [ ] openjdk7-bootstrap
- [ ] openjdk8
- [ ] openjdk8-doc
- [ ] openjdk8-jre
- [ ] openjdk8-src
- [ ] openjdk9-bootstrap
- [ ] thunderbird
- [ ] yaboot - can't be built on x86_64


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

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

From 4dd767cd78abd57964cdacfc8267e0224e1b53c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 1/2] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 65f91906e7cfa969c32e47ebf6cc9c65f668c8ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 2/2] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (10 preceding siblings ...)
  2022-08-08  0:02 ` motorto
@ 2022-08-09  0:00 ` motorto
  2022-08-09  0:09 ` motorto
                   ` (53 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-09  0:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf `grep -ri autconf` (Yes, I know it has some false negatives). 

**I still have to compile all packages that depend on automake**

The following packages fails:

- [ ] MEGAcmd
- [ ] bumblebee
- [ ] eid-mw
- [ ] eid-mw-devel
- [X] gsoap ~fail to fetch source~ -  #38525
- [X] gsoap-devel  -  #38525
- [ ] iverilog
- [ ] libldap
- [ ] libldap-devel
- [ ] libstatgrab
- [ ] libstatgrab-devel
- [ ] lxsession
- [ ] nfs4-acl-tools
- [ ] openldap
- [ ] openldap-tools
- [ ] sun7i-kernel
- [ ] sun7i-kernel-headers
- [ ] tpm2-tss
- [ ] tpm2-tss-devel
- [ ] yaboot - can't be built on x86_64

And I need help compiling the following packages either because it takes a long time on my pc or I don't have an arch that supports it (the ones that don't support x86_64 have a comment next to it, the others are because they were taking too long on my dual core)

- [ ] argp-standalone - can't be built on x86_64 
- [ ] firefox
- [ ] firefox-esr
- [ ] mozjs91
- [ ] mozjs91-devel
- [ ] nix
- [ ] openjdk11
- [ ] openjdk11-doc
- [ ] openjdk11-jmods
- [ ] openjdk11-jre
- [ ] openjdk11-src
- [ ] openjdk11-static-libs
- [ ] openjdk12-bootstrap
- [ ] openjdk13-bootstrap
- [ ] openjdk14-bootstrap
- [ ] openjdk15-bootstrap
- [ ] openjdk16-bootstrap
- [ ] openjdk17
- [ ] openjdk17-doc
- [ ] openjdk17-jmods
- [ ] openjdk17-jre
- [ ] openjdk17-src
- [ ] openjdk7-bootstrap
- [ ] openjdk8
- [ ] openjdk8-doc
- [ ] openjdk8-jre
- [ ] openjdk8-src
- [ ] openjdk9-bootstrap
- [ ] thunderbird
- [ ] yaboot - can't be built on x86_64


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

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

From ad0cd4b6944eb65a0e4e498ab15572f7aaf7d961 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/20] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 1556f980e45c13a654d7c4fd1153b1d8bbb121dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/20] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 03669984bbf2b088672f2786a7d244145ada5fe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/20] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From 5fb9388bcef077600bcaf21b462f9fec033006a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/20] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From b64389eb87de4a1ed4ce64959d347f28a756950f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:15 +0100
Subject: [PATCH 05/20] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..cc50fc65ea26 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -6,7 +6,7 @@ build_helper="gir"
 build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
-hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
+hostmakedepends="glib-devel intltool itstool pkg-config vala yelp gtk-doc
  $(vopt_if gir gobject-introspection)"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"

From eaa114708f5e2b8a1884b15fe059bd6572199767 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 06/20] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 56ec7a26d789afca3df9bcc94e8022a3c493a723 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 07/20] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From f3280079a2023b486bea1cda22a2135f89b3ce4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 08/20] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 70d448781c44a265f4aa34d3157cd7f0b2a7e420 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:33 +0100
Subject: [PATCH 09/20] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..73dcf3be25c8 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -7,7 +7,7 @@ build_helper="gir"
 configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
- automake libtool gettext-devel-tools glib-devel
+ automake libtool gettext-devel-tools glib-devel gtk-doc
  $(vopt_if gir gobject-introspection)"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"

From 359c62c2d6cc3daee24b52ce08e9d0e4018277c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 10/20] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From caceae1040bf6dcf02a8fa4e041451af163d0ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 11/20] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 7ceb708948fe50d92823d07c7d87df960073552c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 12/20] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 1448e580ae167a9fa15c1b8be35f9f019c767939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 13/20] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From ca80236e24d4515fb29b7c493c8204448b06dbe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 14/20] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From e424d87bd90cb90669b7b993c6ee564a86f59d56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 15/20] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 244b358f5769bbcf310cff29c6ea46f7d2bfd68d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 16/20] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From b3901752864a2307fda49305ad7706343426ac40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 17/20] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 81523113d17e52c344d6ce2058106b5843d426ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 18/20] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 847bb512cae8e4f8d8b7c9901c4a350615f77456 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 19/20] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From f58e261a1de1cfacf00def53a69dfa2f2072d401 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 20/20] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (11 preceding siblings ...)
  2022-08-09  0:00 ` motorto
@ 2022-08-09  0:09 ` motorto
  2022-08-09 11:54 ` motorto
                   ` (52 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-09  0:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

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

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

From ad0cd4b6944eb65a0e4e498ab15572f7aaf7d961 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/21] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 1556f980e45c13a654d7c4fd1153b1d8bbb121dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/21] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 03669984bbf2b088672f2786a7d244145ada5fe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/21] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From 5fb9388bcef077600bcaf21b462f9fec033006a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/21] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From b64389eb87de4a1ed4ce64959d347f28a756950f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:15 +0100
Subject: [PATCH 05/21] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..cc50fc65ea26 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -6,7 +6,7 @@ build_helper="gir"
 build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
-hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
+hostmakedepends="glib-devel intltool itstool pkg-config vala yelp gtk-doc
  $(vopt_if gir gobject-introspection)"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"

From eaa114708f5e2b8a1884b15fe059bd6572199767 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 06/21] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 56ec7a26d789afca3df9bcc94e8022a3c493a723 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 07/21] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From f3280079a2023b486bea1cda22a2135f89b3ce4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 08/21] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 70d448781c44a265f4aa34d3157cd7f0b2a7e420 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:33 +0100
Subject: [PATCH 09/21] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..73dcf3be25c8 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -7,7 +7,7 @@ build_helper="gir"
 configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
- automake libtool gettext-devel-tools glib-devel
+ automake libtool gettext-devel-tools glib-devel gtk-doc
  $(vopt_if gir gobject-introspection)"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"

From 359c62c2d6cc3daee24b52ce08e9d0e4018277c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 10/21] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From caceae1040bf6dcf02a8fa4e041451af163d0ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 11/21] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 7ceb708948fe50d92823d07c7d87df960073552c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 12/21] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 1448e580ae167a9fa15c1b8be35f9f019c767939 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 13/21] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From ca80236e24d4515fb29b7c493c8204448b06dbe2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 14/21] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From e424d87bd90cb90669b7b993c6ee564a86f59d56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 15/21] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 244b358f5769bbcf310cff29c6ea46f7d2bfd68d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 16/21] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From b3901752864a2307fda49305ad7706343426ac40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 17/21] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 81523113d17e52c344d6ce2058106b5843d426ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 18/21] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 847bb512cae8e4f8d8b7c9901c4a350615f77456 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 19/21] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From f58e261a1de1cfacf00def53a69dfa2f2072d401 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 20/21] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From f2a9ba74d9b6e43307290368e9a53b5b90f2933b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 21/21] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (12 preceding siblings ...)
  2022-08-09  0:09 ` motorto
@ 2022-08-09 11:54 ` motorto
  2022-08-09 11:57 ` motorto
                   ` (51 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-09 11:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix, probably should be removed in my opinion)

- [ ] gnome-latex
- [ ] libcryptui

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

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

From 54cb7adc3ab70b565e3446f8aba983bdaf9acf1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/19] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 3e0f9c61cf60518caea9294894f20f94f585c49b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/19] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 65e2e18b2be64072f01f93d9765b80593a55d466 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/19] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..e7df6f194357 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"
@@ -22,6 +22,8 @@ checksum=8b48fac159843f556d0a6be3dbfc6b083fc6d9c58a20a49a6b4919ab4263c4e6
 build_options="gir"
 build_options_default="gir"
 
+make_check=no # All tests faill on chroot
+
 pre_configure() {
 	autoreconf -fi
 }

From 493183668ae07de9a4103804ab4a0f67cf031488 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/19] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From c4765172ccf3a2620fb8b76e15069756662ae43e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/19] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 23baea1e05679185d16a614fc04ddd4693e417a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/19] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5f3f957197c43abeb6372ddab36d8cbd528cccc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/19] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From d81589899148d946a9d2d0ec251c1ddfe3dc78f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/19] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 8b80ef28fbbbf91ab2301acea0544e30c268ab55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/19] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From c0b5fab8e04c7199b97262698ddfe70bd51fa76c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/19] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From e2e068fc1b3e0ddb6d63be6d61d48fbc7687e6ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/19] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From ca40135ff26a89a137d96ca7c126404ee16ecb88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/19] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 8c35b62079b29477f52879bfbd836a7fc44c0a52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/19] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 03b3d33c8d980d8a51275e50279e7fae1fee997c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/19] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 6a21ea4d49906ad1bd2d22681cfa7584d5beae31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/19] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 7144d7f5560f6c42b8bd304c0591088fdd0df8db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/19] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 429a3ef94b8a064fa8080beadb62dab0ad537687 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/19] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..67cb431845c9 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"
@@ -20,6 +20,8 @@ checksum=0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9
 build_options="gir"
 build_options_default="gir"
 
+makechek=no #test were failling already
+
 pre_configure() {
 	autoreconf -fi
 }

From 9cd5aa82c08d7fc59610e043db62f9fc123d6241 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/19] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 6f7b80f3c0c6980ed6d5039607e36e7e2466cbef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/19] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (13 preceding siblings ...)
  2022-08-09 11:54 ` motorto
@ 2022-08-09 11:57 ` motorto
  2022-08-09 13:56 ` motorto
                   ` (50 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-09 11:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix, probably should be removed in my opinion)

- [ ] gnome-latex
- [ ] libcryptui

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

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

From 54cb7adc3ab70b565e3446f8aba983bdaf9acf1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/19] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 3e0f9c61cf60518caea9294894f20f94f585c49b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/19] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 65e2e18b2be64072f01f93d9765b80593a55d466 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/19] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..e7df6f194357 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"
@@ -22,6 +22,8 @@ checksum=8b48fac159843f556d0a6be3dbfc6b083fc6d9c58a20a49a6b4919ab4263c4e6
 build_options="gir"
 build_options_default="gir"
 
+make_check=no # All tests faill on chroot
+
 pre_configure() {
 	autoreconf -fi
 }

From 493183668ae07de9a4103804ab4a0f67cf031488 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/19] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From c4765172ccf3a2620fb8b76e15069756662ae43e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/19] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 23baea1e05679185d16a614fc04ddd4693e417a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/19] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5f3f957197c43abeb6372ddab36d8cbd528cccc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/19] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From d81589899148d946a9d2d0ec251c1ddfe3dc78f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/19] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 8b80ef28fbbbf91ab2301acea0544e30c268ab55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/19] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From c0b5fab8e04c7199b97262698ddfe70bd51fa76c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/19] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From e2e068fc1b3e0ddb6d63be6d61d48fbc7687e6ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/19] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From ca40135ff26a89a137d96ca7c126404ee16ecb88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/19] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 8c35b62079b29477f52879bfbd836a7fc44c0a52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/19] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 03b3d33c8d980d8a51275e50279e7fae1fee997c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/19] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 6a21ea4d49906ad1bd2d22681cfa7584d5beae31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/19] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 7144d7f5560f6c42b8bd304c0591088fdd0df8db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/19] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From e8d99eeaac7b127386985f391e540a849a8fbf8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/19] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..bddba5bf0d93 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"
@@ -20,6 +20,8 @@ checksum=0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9
 build_options="gir"
 build_options_default="gir"
 
+make_check=no #test were failling already
+
 pre_configure() {
 	autoreconf -fi
 }

From 018c4b38ffaec88cc636db3162d9ef3c9d94ba6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/19] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 841a0882fe2f7ff176b3ad8f36312aedf7cd52fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/19] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (14 preceding siblings ...)
  2022-08-09 11:57 ` motorto
@ 2022-08-09 13:56 ` motorto
  2022-08-09 22:02 ` motorto
                   ` (49 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-09 13:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix, probably should be removed in my opinion)

- gnome-latex
- libcryptui

Packages that the tests were failling already (added make_check=no)

- clutter
- rest

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

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

From 54cb7adc3ab70b565e3446f8aba983bdaf9acf1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/19] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 3e0f9c61cf60518caea9294894f20f94f585c49b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/19] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 60788972660d8cbe154a60d4509f7801c7900941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/19] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From e0b7c376fa387c3da1df4791245ec43bda5ebb0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/19] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 336b2ddd5501518b51b1e5ba34ef29fae0cb9e1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/19] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1c6a9b56b14b3055628becc07b6f5e652b9c7b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/19] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20a1f2ff3b0c9656f19ad804c6e80979724ec374 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/19] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From a9a05caba321aac721b6a3f2e6200e4121ac4dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/19] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 320a8a00353c42c4d5be13c72979cc6ff2be7383 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/19] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 0b5c3a97af5e4356fe79136619f09314e39a22d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/19] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 70c818d6f48b1665982222f044e8e1f557801a17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/19] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From d066632f983549d6d280a3f540f8f6cee528dfaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/19] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 10c0a48affb9e48651e8624520070288290e5cf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/19] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From ac47af0d65a3ca69cf14062bc8e589c7de809347 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/19] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 9a42c1d34748e2f55e485bd86de2877ae1832bc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/19] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 2627291c0d55c4742b0ea4f25071699c1a75b113 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/19] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 8f92e2d37cc11a913fab00a0703a2380056efd90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/19] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 23f645fcafa59654b65785117495e867e5888997 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/19] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From bdd01d59a032a4e0a5297214f40fa0bec28f8a3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/19] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (15 preceding siblings ...)
  2022-08-09 13:56 ` motorto
@ 2022-08-09 22:02 ` motorto
  2022-08-10 10:55 ` motorto
                   ` (48 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-09 22:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix, probably should be removed in my opinion)

- MEGAcmd
- gnome-latex
- libcryptui

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- rest
- ctags (patch fails to apply ...)
- davfs2
- gamin (patch fails to apply ...) 

Packages fixed on other PRS:

- bluebird-themes #38543 

Packages fixed in this PR:

- cyrus-sasl  - remove patch for old autoconf 
- hunspell
- libsasl - remove patch for old autoconf
- lxsession

Packages that I still need to confirm if they fail because of this update or if they already failed:

- [ ] firefox
- [ ] geany
- [ ] gloobus-preview
- [ ] hplip
- [ ] iverilog
- [ ] kea
- [ ] librtas
- [ ] libsrtp
- [ ] libtar
- [ ] libump-git
- [ ] libvpd
- [ ] lksctp-tools
- [ ] lsvpd
- [ ] ltrace
- [ ] mbox
- [ ] mod_wsgi
- [ ] mozjs78
- [ ] mozjs91
- [ ] openjdk7-bootstrap
- [ ] openldap
- [ ] opensc
- [ ] pcsxr
- [ ] pdsh
- [ ] pgadmin3
- [ ] pilot-link
- [ ] portaudio
- [ ] powerpc-utils
- [ ] rng-tools
- [ ] seahorse-nautilus
- [ ] sun7i-kernel
- [ ] tcpflow
- [ ] thunderbird
- [ ] tigervnc
- [ ] tpm2-tss
- [ ] tracebox
- [ ] transcode
- [ ] vlc
- [ ] watchman
- [ ] xmoto
- [ ] xnec2c
- [ ] yaboot


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

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

From 54cb7adc3ab70b565e3446f8aba983bdaf9acf1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/21] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 3e0f9c61cf60518caea9294894f20f94f585c49b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/21] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 60788972660d8cbe154a60d4509f7801c7900941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/21] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From e0b7c376fa387c3da1df4791245ec43bda5ebb0b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/21] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 336b2ddd5501518b51b1e5ba34ef29fae0cb9e1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/21] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1c6a9b56b14b3055628becc07b6f5e652b9c7b77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/21] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20a1f2ff3b0c9656f19ad804c6e80979724ec374 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/21] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From a9a05caba321aac721b6a3f2e6200e4121ac4dcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/21] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 320a8a00353c42c4d5be13c72979cc6ff2be7383 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/21] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 0b5c3a97af5e4356fe79136619f09314e39a22d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/21] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 70c818d6f48b1665982222f044e8e1f557801a17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/21] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From d066632f983549d6d280a3f540f8f6cee528dfaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/21] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 10c0a48affb9e48651e8624520070288290e5cf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/21] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From ac47af0d65a3ca69cf14062bc8e589c7de809347 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/21] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 9a42c1d34748e2f55e485bd86de2877ae1832bc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/21] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 2627291c0d55c4742b0ea4f25071699c1a75b113 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/21] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 8f92e2d37cc11a913fab00a0703a2380056efd90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/21] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 23f645fcafa59654b65785117495e867e5888997 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/21] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From bdd01d59a032a4e0a5297214f40fa0bec28f8a3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/21] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 88be6d7c3ac9d88dea6e91c9d0d732d81728a2fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/21] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From beac21c141b201350d4052d6ebac03dacc9b46bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/21] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (16 preceding siblings ...)
  2022-08-09 22:02 ` motorto
@ 2022-08-10 10:55 ` motorto
  2022-08-10 23:26 ` [PR PATCH] [Updated] " motorto
                   ` (47 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-10 10:55 UTC (permalink / raw)
  To: ml

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

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1210509536

Comment:
Pinging the maintainers to see if they can help (updating to last version might do the trick)
@thypon - rng-tools
@evandeaubl  tigervnc

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (17 preceding siblings ...)
  2022-08-10 10:55 ` motorto
@ 2022-08-10 23:26 ` motorto
  2022-08-11 10:15 ` motorto
                   ` (46 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-10 23:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- tcpflow
- transcode
- xnec2c
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- gsoap (fail to fetch needs to be updated)


Packages that the tests were failling already ~(added make_check=no)~

- clutter
- rest
- watchman (test fail)

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- hunspell
- libsasl - remove patch for old autoconf
- lxsession
- ltrace

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [ ] geany - need help here upstream [changed to meson but didn;t release it yet](https://github.com/geany/geany/issues/2771)
- [ ] gloobus-preview
- [ ] hplip
- [ ] iverilog
- [ ] libsrtp
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [ ] openjdk7-bootstrap
- [ ] openldap
- [X] opensc -  compiles fine on my system
- [ ] pilot-link
- [ ] rng-tools
- [ ] seahorse-nautilus - need help with this one
- [x] thunderbird
- [ ] tigervnc
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system



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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/23] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/23] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/23] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/23] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/23] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/23] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/23] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/23] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/23] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/23] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/23] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/23] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/23] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/23] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/23] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/23] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/23] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/23] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/23] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/23] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/23] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/23] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/23] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (18 preceding siblings ...)
  2022-08-10 23:26 ` [PR PATCH] [Updated] " motorto
@ 2022-08-11 10:15 ` motorto
  2022-08-11 10:32 ` motorto
                   ` (45 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 10:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- tcpflow
- transcode
- xnec2c
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- gsoap (fail to fetch needs to be updated)
- rng-tools


Packages that the tests were failling already ~(added make_check=no)~

- clutter
- rest
- watchman (test fail)

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- hunspell
- libsasl - remove patch for old autoconf
- lxsession
- ltrace
- libsrtp

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [ ] geany - need help here upstream [changed to meson but didn;t release it yet](https://github.com/geany/geany/issues/2771)
- [ ] gloobus-preview
- [ ] hplip
- [ ] iverilog
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [ ] openjdk7-bootstrap
- [ ] openldap
- [X] opensc -  compiles fine on my system
- [ ] pilot-link
- [ ] seahorse-nautilus
- [x] thunderbird
- [ ] tigervnc
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system



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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/24] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/24] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/24] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/24] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/24] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/24] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/24] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/24] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/24] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/24] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/24] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/24] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/24] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/24] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/24] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/24] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/24] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/24] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/24] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/24] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/24] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/24] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/24] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 2eb8fdbc01ef3b175749f5ba785c29d85e0ff8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/24] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (19 preceding siblings ...)
  2022-08-11 10:15 ` motorto
@ 2022-08-11 10:32 ` motorto
  2022-08-11 10:51 ` motorto
                   ` (44 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 10:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- tcpflow
- transcode
- xnec2c
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- gsoap (fail to fetch needs to be updated)
- rng-tools


Packages that the tests were failling already ~(added make_check=no)~

- clutter
- rest
- watchman (test fail)

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- hunspell
- libsasl - remove patch for old autoconf
- lxsession
- ltrace
- libsrtp
- iverilog

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [ ] geany - need help here upstream [changed to meson but didn;t release it yet](https://github.com/geany/geany/issues/2771)
- [ ] gloobus-preview
- [ ] hplip
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [ ] openjdk7-bootstrap
- [ ] openldap
- [X] opensc -  compiles fine on my system
- [ ] pilot-link
- [ ] seahorse-nautilus
- [x] thunderbird
- [ ] tigervnc
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system



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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/25] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/25] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/25] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/25] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/25] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/25] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/25] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/25] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/25] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/25] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/25] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/25] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/25] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/25] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/25] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/25] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/25] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/25] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/25] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/25] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/25] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/25] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/25] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 2eb8fdbc01ef3b175749f5ba785c29d85e0ff8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/25] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eeceea27b9860acc82da1012700853576e8f936 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/25] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (20 preceding siblings ...)
  2022-08-11 10:32 ` motorto
@ 2022-08-11 10:51 ` motorto
  2022-08-11 10:59 ` motorto
                   ` (43 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 10:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- tcpflow
- transcode
- xnec2c
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- gsoap (fail to fetch needs to be updated)
- rng-tools


Packages that the tests were failling already ~(added make_check=no)~

- clutter
- rest
- watchman (test fail)

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- hunspell
- libsasl - remove patch for old autoconf
- lxsession
- ltrace
- libsrtp
- iverilog

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [ ] geany - need help here upstream [changed to meson but didn;t release it yet](https://github.com/geany/geany/issues/2771)
- [ ] gloobus-preview
- [ ] hplip
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [ ] openjdk7-bootstrap
- [ ] openldap
- [X] opensc -  compiles fine on my system
- [ ] pilot-link
- [ ] seahorse-nautilus
- [x] thunderbird
- [ ] tigervnc
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system



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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/26] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/26] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/26] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/26] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/26] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/26] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/26] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/26] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/26] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/26] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/26] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/26] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/26] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/26] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/26] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/26] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/26] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/26] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/26] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/26] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/26] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/26] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/26] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 2eb8fdbc01ef3b175749f5ba785c29d85e0ff8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/26] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eeceea27b9860acc82da1012700853576e8f936 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/26] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 924eb957bf3fd0949383e690aa83be650f8055fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/26] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (21 preceding siblings ...)
  2022-08-11 10:51 ` motorto
@ 2022-08-11 10:59 ` motorto
  2022-08-11 11:38 ` motorto
                   ` (42 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 10:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- tcpflow
- transcode
- xnec2c
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- gsoap (fail to fetch needs to be updated)
- rng-tools


Packages that the tests were failling already ~(added make_check=no)~

- clutter
- rest
- watchman (test fail)

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- hunspell
- libsasl - remove patch for old autoconf
- lxsession
- ltrace
- libsrtp
- iverilog

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot
- tigervnc


Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [ ] geany - need help here upstream [changed to meson but didn;t release it yet](https://github.com/geany/geany/issues/2771)
- [ ] gloobus-preview
- [ ] hplip
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [ ] openjdk7-bootstrap
- [ ] openldap
- [X] opensc -  compiles fine on my system
- [ ] pilot-link
- [ ] seahorse-nautilus
- [x] thunderbird
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system



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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/27] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/27] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/27] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/27] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/27] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/27] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/27] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/27] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/27] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/27] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/27] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/27] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/27] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/27] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/27] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/27] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/27] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/27] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/27] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/27] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/27] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/27] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/27] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 2eb8fdbc01ef3b175749f5ba785c29d85e0ff8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/27] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eeceea27b9860acc82da1012700853576e8f936 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/27] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 924eb957bf3fd0949383e690aa83be650f8055fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/27] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From cd9898541350e846e0c7444ee6046cb76e9cf580 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/27] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (22 preceding siblings ...)
  2022-08-11 10:59 ` motorto
@ 2022-08-11 11:38 ` motorto
  2022-08-11 11:59 ` motorto
                   ` (41 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 11:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- tcpflow
- transcode
- xnec2c
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- gsoap (fail to fetch needs to be updated)
- rng-tools


Packages that the tests were failling already ~(added make_check=no)~

- clutter
- rest
- watchman (test fail)

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- hunspell
- libsasl - remove patch for old autoconf
- lxsession
- ltrace
- libsrtp
- iverilog
- hplip
- tigervnc
- openldap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot

Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [ ] geany - need help here upstream [changed to meson but didn;t release it yet](https://github.com/geany/geany/issues/2771)
- [ ] gloobus-preview
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [ ] openjdk7-bootstrap
- [X] opensc -  compiles fine on my system
- [ ] pilot-link
- [ ] seahorse-nautilus
- [x] thunderbird
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system



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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/28] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/28] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/28] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/28] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/28] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/28] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/28] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/28] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/28] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/28] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/28] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/28] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/28] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/28] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/28] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/28] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/28] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/28] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/28] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/28] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/28] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/28] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/28] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 2eb8fdbc01ef3b175749f5ba785c29d85e0ff8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/28] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eeceea27b9860acc82da1012700853576e8f936 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/28] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 924eb957bf3fd0949383e690aa83be650f8055fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/28] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From cd9898541350e846e0c7444ee6046cb76e9cf580 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/28] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From fb3005af9d8f7eed7644da44e6a847a40d84b3b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/28] openldap: fix template building

---
 srcpkgs/openldap/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..e98495d066c8 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (23 preceding siblings ...)
  2022-08-11 11:38 ` motorto
@ 2022-08-11 11:59 ` motorto
  2022-08-11 12:02 ` motorto
                   ` (40 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 11:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot

Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [X] opensc -  compiles fine on my system
- [x] thunderbird
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system
- [ ] gloobus-preview
- [ ] openjdk7-bootstrap
- [ ] pilot-link


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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/29] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/29] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/29] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/29] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/29] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/29] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/29] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/29] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/29] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/29] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/29] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/29] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/29] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/29] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/29] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/29] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/29] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/29] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/29] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/29] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/29] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/29] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/29] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 2eb8fdbc01ef3b175749f5ba785c29d85e0ff8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/29] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eeceea27b9860acc82da1012700853576e8f936 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/29] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 924eb957bf3fd0949383e690aa83be650f8055fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/29] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From cd9898541350e846e0c7444ee6046cb76e9cf580 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/29] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From fb3005af9d8f7eed7644da44e6a847a40d84b3b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/29] openldap: fix template building

---
 srcpkgs/openldap/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..e98495d066c8 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 178de37ba92251da77785720c56e2144324f4839 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 29/29] geany: fix template building

---
 srcpkgs/geany/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..bf308e43e011 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -17,9 +17,9 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
+# pre_configure() {
+# 	autoreconf -fi
+# }
 
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (24 preceding siblings ...)
  2022-08-11 11:59 ` motorto
@ 2022-08-11 12:02 ` motorto
  2022-08-11 14:03 ` motorto
                   ` (39 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 12:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot

Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [X] opensc -  compiles fine on my system
- [x] thunderbird
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system
- [ ] gloobus-preview
- [ ] openjdk7-bootstrap
- [ ] pilot-link


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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/30] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/30] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/30] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/30] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/30] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/30] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/30] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/30] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/30] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/30] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/30] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/30] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/30] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/30] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/30] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/30] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/30] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/30] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/30] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/30] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/30] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/30] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/30] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 2eb8fdbc01ef3b175749f5ba785c29d85e0ff8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/30] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eeceea27b9860acc82da1012700853576e8f936 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/30] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 924eb957bf3fd0949383e690aa83be650f8055fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/30] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From cd9898541350e846e0c7444ee6046cb76e9cf580 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/30] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From fb3005af9d8f7eed7644da44e6a847a40d84b3b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/30] openldap: fix template building

---
 srcpkgs/openldap/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..e98495d066c8 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 178de37ba92251da77785720c56e2144324f4839 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 29/30] geany: fix template building

---
 srcpkgs/geany/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..bf308e43e011 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -17,9 +17,9 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
+# pre_configure() {
+# 	autoreconf -fi
+# }
 
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"

From 7e06e4526c66286cbd96b20e9392fee43f67100c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 13:02:34 +0100
Subject: [PATCH 30/30] seahorse-nautilus: fix building

---
 srcpkgs/seahorse-nautilus/patches/new-gnupg.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
index 7cdbdbf84d1f..01d944a3cac9 100644
--- a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
+++ b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
@@ -7,7 +7,7 @@ Index: seahorse-nautilus-3.10.1/configure.ac
  
  if test	"$DO_CHECK" = "yes"; then
 -	accepted_versions="1.2 1.4 2.0"
-+	accepted_versions="1.2 1.4 2.0 2.1 2.2"
++	accepted_versions="1.2 1.4 2.0 2.1 2.2 2.3"
  	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
  	ok="no"
  	if test "$GNUPG" != "no"; then

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (25 preceding siblings ...)
  2022-08-11 12:02 ` motorto
@ 2022-08-11 14:03 ` motorto
  2022-08-11 14:14 ` motorto
                   ` (38 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 14:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot

Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [X] opensc -  compiles fine on my system
- [x] thunderbird
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system
- [ ] openjdk7-bootstrap

This packages seem dead upstream:

- [ ] gloobus-preview
- [ ] pilot-link - https://bugs.gentoo.org/831985


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

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

From acdbf1bf77e6c11272a76e6a97fbfd46bfbb7efd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/31] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 7b2e888857f027e7ea848832270fd1b83f208efc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/31] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 5c5538053906d2d5fb016ff7475d30a220d14e19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/31] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From d1582221753dab6634116c3d65eee92a4f13f07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/31] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 1cfa88eaed8aebee7549d62dc42fafca143d322a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/31] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 754714584cd8259afbadf8a16fad626f6ac4572e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/31] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843d04edaf079f0631aeef1b587c0733056e921a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/31] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From bb71b030e6056e1bec5e54ba3bbbbb01876f6340 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/31] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From b0b20999fc4546611a30457a83d1212fdcbd0e91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/31] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 8a1df52793b3cf2fd7c45be7944503389186cca7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/31] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 77901618f3672e0a26d61eef8cf47b02bbceae78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/31] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 361af7e635d09925f9b6a14f03b29c07b533a7c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/31] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 2f8ba00b4850a85e8616f894f90d807c5652d5df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/31] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 5f468a311c5b4c30dc3695163cbe31cc83fadfbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/31] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5ce836dba209f6140f74b80c1a894f2a9680bf18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/31] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b63f710975fcd06d1460f4bcae9e7d49f58ea08d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/31] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 76450e8f94fe39107f306bdf52f2cb3844321b00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/31] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 02fd6136092e313d6dc65b43fd264af5ff5d52d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/31] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 20b68b42451ff6005687084b86eeb7952192df41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/31] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ccc13d345292672464b6826d5f69faba0f1ea13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/31] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From ec3ddab594425aacc056259f54571037ae4d53b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/31] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 996cd641c04c25e8d37027c83660c24e1ad6d9e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/31] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 1dcff39a1909bebbf8c2620fe17e78dc0fab2d60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/31] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 2eb8fdbc01ef3b175749f5ba785c29d85e0ff8f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/31] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eeceea27b9860acc82da1012700853576e8f936 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/31] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 924eb957bf3fd0949383e690aa83be650f8055fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/31] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From cd9898541350e846e0c7444ee6046cb76e9cf580 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/31] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From fb3005af9d8f7eed7644da44e6a847a40d84b3b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/31] openldap: fix template building

---
 srcpkgs/openldap/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..e98495d066c8 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 178de37ba92251da77785720c56e2144324f4839 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 29/31] geany: fix template building

---
 srcpkgs/geany/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..bf308e43e011 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -17,9 +17,9 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
+# pre_configure() {
+# 	autoreconf -fi
+# }
 
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"

From 7e06e4526c66286cbd96b20e9392fee43f67100c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 13:02:34 +0100
Subject: [PATCH 30/31] seahorse-nautilus: fix building

---
 srcpkgs/seahorse-nautilus/patches/new-gnupg.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
index 7cdbdbf84d1f..01d944a3cac9 100644
--- a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
+++ b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
@@ -7,7 +7,7 @@ Index: seahorse-nautilus-3.10.1/configure.ac
  
  if test	"$DO_CHECK" = "yes"; then
 -	accepted_versions="1.2 1.4 2.0"
-+	accepted_versions="1.2 1.4 2.0 2.1 2.2"
++	accepted_versions="1.2 1.4 2.0 2.1 2.2 2.3"
  	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
  	ok="no"
  	if test "$GNUPG" != "no"; then

From 263c0d03e6ce4297cda5e27e20e7beebb0bfda47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 31/31] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (26 preceding siblings ...)
  2022-08-11 14:03 ` motorto
@ 2022-08-11 14:14 ` motorto
  2022-08-11 15:47 ` motorto
                   ` (37 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 14:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc
- pilot-link

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot

Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [X] opensc -  compiles fine on my system
- [x] thunderbird
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system
- [ ] openjdk7-bootstrap

This packages seem dead upstream:

- [ ] gloobus-preview

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

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

From f4d0e20921ee6f81e5c27de01053cc0c5c3be10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/31] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 292cf33ec729e035722dde4f3d24f4f89e5a81be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/31] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 012a0a600ed6ecab9d9c8145d51e11bb7e33f0db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/31] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From 36fc5e87efedbd70925391710c1e0f5cedc6411d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/31] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 26e8a20d16d73e69f7bd8983a19a436e6c56aa24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/31] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From da09a73fbfce4847aa3b1bbdf28b00e8ab75f126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/31] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5ea7059fba635eb2c4999daaf5657f6fc254a5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/31] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From ad9f2604498a0c8cc094c533531127acfcf49f7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/31] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 91da35697f620d8bcf4aa25746ee2865d19cc869 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/31] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 33cee944126b3da52c0bd3cd6dc4e07d6197c73c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/31] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 01a2846e422ccb844360803c2d98c24d02b06a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/31] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 3c8cd6a74c45e537b385a993d061e0289ac7f848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/31] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 73efb5c42bf1e8de2e1e6d480a6cc889eb999901 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/31] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From f793ae0c55abc63055d7b052424fb04a8866f6ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/31] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From b630a0526701c2086cf204d3a8cd5193b84275cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/31] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 24f4c2a47680f9ba0459390161f0d017ecbd4dfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/31] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From c86145fa3f9c516a49195bdd1d1d25ce26d74545 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/31] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 2b477da586f7afcee36704ae300d177a7eb0c9b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/31] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From e29767709b99ade3e816b719651b3c642f09ea12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/31] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From dcb5d29753d8ad9e407cefdb8aa80bc5b343a66d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/31] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From a70bac629fcf0b57c9fa58548167be33e91274c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/31] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 15cf88a401db4d57c121e77210fc41560f3ed2ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/31] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 5246ed65383f22617204b0a46ed9b55a307be812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/31] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From d7ca9773933ff305eee3994a7a46a020be5bcd12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/31] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 2bd71ef9c867bc737572d1e494e4bd2f58217f40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/31] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 518ae79aeca5e89bfe74e547dba21f8c9e80886d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/31] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From 6a9a1cb5b20ff9779f6f0e61f2019da9e25bfbdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/31] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From 9350229c0c5d698cb4fe51f7cf0f7c5104ec6be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/31] openldap: fix template building

---
 srcpkgs/openldap/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..e98495d066c8 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 0d75c9f914547d3febb4b57de28711e3a9f6d7a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 29/31] geany: fix template building

---
 srcpkgs/geany/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..bf308e43e011 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -17,9 +17,9 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
+# pre_configure() {
+# 	autoreconf -fi
+# }
 
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"

From 6e30a8546a1a5389e119c5bdeefa81739e4a3f32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 13:02:34 +0100
Subject: [PATCH 30/31] seahorse-nautilus: fix building

---
 srcpkgs/seahorse-nautilus/patches/new-gnupg.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
index 7cdbdbf84d1f..01d944a3cac9 100644
--- a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
+++ b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
@@ -7,7 +7,7 @@ Index: seahorse-nautilus-3.10.1/configure.ac
  
  if test	"$DO_CHECK" = "yes"; then
 -	accepted_versions="1.2 1.4 2.0"
-+	accepted_versions="1.2 1.4 2.0 2.1 2.2"
++	accepted_versions="1.2 1.4 2.0 2.1 2.2 2.3"
  	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
  	ok="no"
  	if test "$GNUPG" != "no"; then

From 7f70f480bdcdb50805181d976743ad6cb0b616f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 31/31] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (27 preceding siblings ...)
  2022-08-11 14:14 ` motorto
@ 2022-08-11 15:47 ` motorto
  2022-08-11 16:02 ` motorto
                   ` (36 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 15:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc
- pilot-link

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot

Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [X] opensc -  compiles fine on my system
- [x] thunderbird
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system
- [ ] openjdk7-bootstrap

This packages seem dead upstream:

- [ ] gloobus-preview

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

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

From f4d0e20921ee6f81e5c27de01053cc0c5c3be10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/32] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 292cf33ec729e035722dde4f3d24f4f89e5a81be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/32] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 012a0a600ed6ecab9d9c8145d51e11bb7e33f0db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/32] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From 36fc5e87efedbd70925391710c1e0f5cedc6411d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/32] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 26e8a20d16d73e69f7bd8983a19a436e6c56aa24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/32] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From da09a73fbfce4847aa3b1bbdf28b00e8ab75f126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/32] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5ea7059fba635eb2c4999daaf5657f6fc254a5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/32] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From ad9f2604498a0c8cc094c533531127acfcf49f7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/32] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 91da35697f620d8bcf4aa25746ee2865d19cc869 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/32] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 33cee944126b3da52c0bd3cd6dc4e07d6197c73c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/32] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 01a2846e422ccb844360803c2d98c24d02b06a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/32] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 3c8cd6a74c45e537b385a993d061e0289ac7f848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/32] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 73efb5c42bf1e8de2e1e6d480a6cc889eb999901 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/32] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From f793ae0c55abc63055d7b052424fb04a8866f6ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/32] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From b630a0526701c2086cf204d3a8cd5193b84275cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/32] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 24f4c2a47680f9ba0459390161f0d017ecbd4dfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/32] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From c86145fa3f9c516a49195bdd1d1d25ce26d74545 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/32] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 2b477da586f7afcee36704ae300d177a7eb0c9b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/32] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From e29767709b99ade3e816b719651b3c642f09ea12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/32] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From dcb5d29753d8ad9e407cefdb8aa80bc5b343a66d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/32] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From a70bac629fcf0b57c9fa58548167be33e91274c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/32] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 15cf88a401db4d57c121e77210fc41560f3ed2ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/32] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 5246ed65383f22617204b0a46ed9b55a307be812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/32] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From d7ca9773933ff305eee3994a7a46a020be5bcd12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/32] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 2bd71ef9c867bc737572d1e494e4bd2f58217f40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/32] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 518ae79aeca5e89bfe74e547dba21f8c9e80886d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/32] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From 6a9a1cb5b20ff9779f6f0e61f2019da9e25bfbdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/32] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From 9350229c0c5d698cb4fe51f7cf0f7c5104ec6be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/32] openldap: fix template building

---
 srcpkgs/openldap/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..e98495d066c8 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 0d75c9f914547d3febb4b57de28711e3a9f6d7a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 29/32] geany: fix template building

---
 srcpkgs/geany/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..bf308e43e011 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -17,9 +17,9 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
+# pre_configure() {
+# 	autoreconf -fi
+# }
 
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"

From 6e30a8546a1a5389e119c5bdeefa81739e4a3f32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 13:02:34 +0100
Subject: [PATCH 30/32] seahorse-nautilus: fix building

---
 srcpkgs/seahorse-nautilus/patches/new-gnupg.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
index 7cdbdbf84d1f..01d944a3cac9 100644
--- a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
+++ b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
@@ -7,7 +7,7 @@ Index: seahorse-nautilus-3.10.1/configure.ac
  
  if test	"$DO_CHECK" = "yes"; then
 -	accepted_versions="1.2 1.4 2.0"
-+	accepted_versions="1.2 1.4 2.0 2.1 2.2"
++	accepted_versions="1.2 1.4 2.0 2.1 2.2 2.3"
  	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
  	ok="no"
  	if test "$GNUPG" != "no"; then

From 7f70f480bdcdb50805181d976743ad6cb0b616f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 31/32] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 2100f0376af633c79bdbe73d762bbcef9944c067 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 32/32] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (28 preceding siblings ...)
  2022-08-11 15:47 ` motorto
@ 2022-08-11 16:02 ` motorto
  2022-08-11 16:05 ` motorto
                   ` (35 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 16:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc
- pilot-link
- openjdk7-bootstrap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot

Packages that I still need to confirm if they fail because of this update or if they already failed:

- [X] firefox - I am not trying to compile this one on my system sorry :)
- [X] mbox - compiles fine on my system
- [x] mozjs78 - compiles fine on my system
- [x] mozjs91 -  compiles fine on my system
- [X] opensc -  compiles fine on my system
- [x] thunderbird
- [x] tracebox - compiles fine on my system
- [x] vlc - compiles fine on my system
- [X] xmoto - compiles fine on my system


This packages seem dead upstream:

- [ ] gloobus-preview

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

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

From f4d0e20921ee6f81e5c27de01053cc0c5c3be10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/33] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 292cf33ec729e035722dde4f3d24f4f89e5a81be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/33] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 012a0a600ed6ecab9d9c8145d51e11bb7e33f0db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/33] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From 36fc5e87efedbd70925391710c1e0f5cedc6411d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/33] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 26e8a20d16d73e69f7bd8983a19a436e6c56aa24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/33] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From da09a73fbfce4847aa3b1bbdf28b00e8ab75f126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/33] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5ea7059fba635eb2c4999daaf5657f6fc254a5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/33] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From ad9f2604498a0c8cc094c533531127acfcf49f7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/33] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 91da35697f620d8bcf4aa25746ee2865d19cc869 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/33] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 33cee944126b3da52c0bd3cd6dc4e07d6197c73c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/33] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 01a2846e422ccb844360803c2d98c24d02b06a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/33] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 3c8cd6a74c45e537b385a993d061e0289ac7f848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/33] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 73efb5c42bf1e8de2e1e6d480a6cc889eb999901 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/33] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From f793ae0c55abc63055d7b052424fb04a8866f6ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/33] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From b630a0526701c2086cf204d3a8cd5193b84275cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/33] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 24f4c2a47680f9ba0459390161f0d017ecbd4dfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/33] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From c86145fa3f9c516a49195bdd1d1d25ce26d74545 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/33] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 2b477da586f7afcee36704ae300d177a7eb0c9b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/33] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From e29767709b99ade3e816b719651b3c642f09ea12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/33] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From dcb5d29753d8ad9e407cefdb8aa80bc5b343a66d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/33] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From a70bac629fcf0b57c9fa58548167be33e91274c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/33] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 15cf88a401db4d57c121e77210fc41560f3ed2ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/33] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 5246ed65383f22617204b0a46ed9b55a307be812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/33] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From d7ca9773933ff305eee3994a7a46a020be5bcd12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/33] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 2bd71ef9c867bc737572d1e494e4bd2f58217f40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/33] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 518ae79aeca5e89bfe74e547dba21f8c9e80886d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/33] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From 6a9a1cb5b20ff9779f6f0e61f2019da9e25bfbdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/33] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From 9350229c0c5d698cb4fe51f7cf0f7c5104ec6be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/33] openldap: fix template building

---
 srcpkgs/openldap/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..e98495d066c8 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 0d75c9f914547d3febb4b57de28711e3a9f6d7a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 29/33] geany: fix template building

---
 srcpkgs/geany/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..bf308e43e011 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -17,9 +17,9 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
+# pre_configure() {
+# 	autoreconf -fi
+# }
 
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"

From 6e30a8546a1a5389e119c5bdeefa81739e4a3f32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 13:02:34 +0100
Subject: [PATCH 30/33] seahorse-nautilus: fix building

---
 srcpkgs/seahorse-nautilus/patches/new-gnupg.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
index 7cdbdbf84d1f..01d944a3cac9 100644
--- a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
+++ b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
@@ -7,7 +7,7 @@ Index: seahorse-nautilus-3.10.1/configure.ac
  
  if test	"$DO_CHECK" = "yes"; then
 -	accepted_versions="1.2 1.4 2.0"
-+	accepted_versions="1.2 1.4 2.0 2.1 2.2"
++	accepted_versions="1.2 1.4 2.0 2.1 2.2 2.3"
  	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
  	ok="no"
  	if test "$GNUPG" != "no"; then

From 7f70f480bdcdb50805181d976743ad6cb0b616f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 31/33] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 2100f0376af633c79bdbe73d762bbcef9944c067 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 32/33] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From 4d21f9a55b2f6aa971efa8b221fb506cf6186b04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 17:02:26 +0100
Subject: [PATCH 33/33] gloobus-preview: template for autoconf 2.7.1

---
 srcpkgs/gloobus-preview/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..01034ba1e15d 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
-	autoreconf -fi
+	sed -i '/ACX_PTHREAD()/d' configure.ac
+	autoreconf -fiv
 }

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (29 preceding siblings ...)
  2022-08-11 16:02 ` motorto
@ 2022-08-11 16:05 ` motorto
  2022-08-12 23:13 ` paper42
                   ` (34 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-11 16:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc
- pilot-link
- openjdk7-bootstrap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot
- gloobus-preview

Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system

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

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

From f4d0e20921ee6f81e5c27de01053cc0c5c3be10c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/33] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 292cf33ec729e035722dde4f3d24f4f89e5a81be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/33] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 012a0a600ed6ecab9d9c8145d51e11bb7e33f0db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/33] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From 36fc5e87efedbd70925391710c1e0f5cedc6411d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/33] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 26e8a20d16d73e69f7bd8983a19a436e6c56aa24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/33] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From da09a73fbfce4847aa3b1bbdf28b00e8ab75f126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/33] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5ea7059fba635eb2c4999daaf5657f6fc254a5c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/33] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From ad9f2604498a0c8cc094c533531127acfcf49f7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/33] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 91da35697f620d8bcf4aa25746ee2865d19cc869 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/33] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 33cee944126b3da52c0bd3cd6dc4e07d6197c73c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/33] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 01a2846e422ccb844360803c2d98c24d02b06a2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/33] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 3c8cd6a74c45e537b385a993d061e0289ac7f848 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/33] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index 132ac53261b5..ace7277211ab 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 73efb5c42bf1e8de2e1e6d480a6cc889eb999901 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/33] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From f793ae0c55abc63055d7b052424fb04a8866f6ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/33] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From b630a0526701c2086cf204d3a8cd5193b84275cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/33] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 24f4c2a47680f9ba0459390161f0d017ecbd4dfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/33] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From c86145fa3f9c516a49195bdd1d1d25ce26d74545 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/33] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 2b477da586f7afcee36704ae300d177a7eb0c9b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/33] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From e29767709b99ade3e816b719651b3c642f09ea12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/33] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From dcb5d29753d8ad9e407cefdb8aa80bc5b343a66d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/33] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From a70bac629fcf0b57c9fa58548167be33e91274c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/33] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..19dbde4a9435 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 15cf88a401db4d57c121e77210fc41560f3ed2ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/33] ltrace: update to 0.7.3.20160924.

---
 srcpkgs/ltrace/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..a5e108430ff9 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
-	autoreconf -fi
+	mkdir -p config 
+	autoreconf -fiv
+
 }

From 5246ed65383f22617204b0a46ed9b55a307be812 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/33] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From d7ca9773933ff305eee3994a7a46a020be5bcd12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/33] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 2bd71ef9c867bc737572d1e494e4bd2f58217f40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/33] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 518ae79aeca5e89bfe74e547dba21f8c9e80886d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/33] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From 6a9a1cb5b20ff9779f6f0e61f2019da9e25bfbdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/33] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From 9350229c0c5d698cb4fe51f7cf0f7c5104ec6be7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/33] openldap: fix template building

---
 srcpkgs/openldap/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..e98495d066c8 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From b5c5a53c9d4a07a0328431395fdc2f5495d4df7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 29/33] geany: fix template building

---
 srcpkgs/geany/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..f4d3c9eb9dd6 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -17,10 +17,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From c33e511e80e42946354ce804d0c57bd602b33e3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 13:02:34 +0100
Subject: [PATCH 30/33] seahorse-nautilus: fix building

---
 srcpkgs/seahorse-nautilus/patches/new-gnupg.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
index 7cdbdbf84d1f..01d944a3cac9 100644
--- a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
+++ b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
@@ -7,7 +7,7 @@ Index: seahorse-nautilus-3.10.1/configure.ac
  
  if test	"$DO_CHECK" = "yes"; then
 -	accepted_versions="1.2 1.4 2.0"
-+	accepted_versions="1.2 1.4 2.0 2.1 2.2"
++	accepted_versions="1.2 1.4 2.0 2.1 2.2 2.3"
  	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
  	ok="no"
  	if test "$GNUPG" != "no"; then

From 271cafe9432cfbb6b402f8c60ab3a8cfa1782c95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 31/33] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 4a10d7a8b7f6287b0bfadb09189d57ce3d8e4428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 32/33] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From cca7d96b25e97d310a07d491f273c8f906b91d0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 17:02:26 +0100
Subject: [PATCH 33/33] gloobus-preview: template for autoconf 2.7.1

---
 srcpkgs/gloobus-preview/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..01034ba1e15d 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
-	autoreconf -fi
+	sed -i '/ACX_PTHREAD()/d' configure.ac
+	autoreconf -fiv
 }

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (30 preceding siblings ...)
  2022-08-11 16:05 ` motorto
@ 2022-08-12 23:13 ` paper42
  2022-08-12 23:14 ` [PR REVIEW] " paper42
                   ` (33 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:13 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1213582330

Comment:
`ltrace: update to 0.7.3.20160924.`  commit message is wrong, it's not an update

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (31 preceding siblings ...)
  2022-08-12 23:13 ` paper42
@ 2022-08-12 23:14 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (32 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:14 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944931479

Comment:
remove -v

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (37 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (26 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944933770

Comment:
automake can be probably dropped from hostmakedepends

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (33 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (30 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944935166

Comment:
move to a separate PR, this is not relevant for the autoconf update

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (39 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (24 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944937694

Comment:
build still fails with even without this autoconf update:
```
pywatchman/bser.c:31:10: fatal error: Python.h: No such file or directory                                                                         
   31 | #include <Python.h>                                                                                                                       
      |          ^~~~~~~~~~                                                                                                                       
compilation terminated.
```

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (32 preceding siblings ...)
  2022-08-12 23:14 ` [PR REVIEW] " paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (31 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944935282

Comment:
separate PR please

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (35 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (28 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944931896

Comment:
remove -v

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (38 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (25 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944931870

Comment:
use vsed and add a description why this is necessary

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (36 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (27 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944934243

Comment:
autoconf/automake/libtool can probably be dropped from hostmakedepends

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (40 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (23 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944932860

Comment:
this is also broken without the autoconf update, drop it from here and create a new separate PR for this fix

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (34 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-12 23:27 ` paper42
                   ` (29 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944934601

Comment:
some hostmakedepends can be dropped

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (41 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-12 23:27 ` paper42
  2022-08-13 11:55 ` [PR PATCH] [Updated] " motorto
                   ` (22 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-12 23:27 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r944931774

Comment:
if we are removing autoreconf, we can probably remove some hostmakedepends

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (42 preceding siblings ...)
  2022-08-12 23:27 ` paper42
@ 2022-08-13 11:55 ` motorto
  2022-08-13 11:58 ` [PR REVIEW] " motorto
                   ` (21 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-13 11:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc
- pilot-link
- openjdk7-bootstrap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot
- gloobus-preview

Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system

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

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

From cdd7950a7f90205cb5152b1ba624929a813ef040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/32] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From f4c1b279c39d4ab0c386896c54a45d06cb40253e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/32] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From d4838c5625905a742d7be9c777346fc57ce44479 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/32] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From b510556dddf811b5912ca95ff2e20aa935820cd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/32] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 0a0eea91129022b2475a089beff0dd8a711baedb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/32] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From a49bd416054ad3b5ce910dac2f09d7cfc559f0d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/32] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 646c8e7355b067ddf97992d46e17cd14bd70d58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/32] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 6c6ccdd1b6c5d2d96de5964b722c98aecc7aabde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/32] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 1f930acd99ff009fae66907060ea5c8c6ed3d301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/32] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 3371d77bd37e01fe2d9e790dce2f9d3a2761eb3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/32] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From d3160067d128147c1f0ae46a93c174d0eaf18a1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/32] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From fd6ca03a87404843ec172346c270591234c22b72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/32] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From c9da5306132e431d554ec99b3e44c5f08cb4dcdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/32] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 10ef0d0a8e0518fe24562aabbbc6991a090802e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/32] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From b1c76c3b880705bb17f10f610d2299bb8fecbb8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/32] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 6cf5e7c89d89a8fdf8f6cd684294423fae156fe4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/32] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From bfb77b1d04491593039f0628bbb45d833791322f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/32] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From ec619f8bf459dffbd6c72079ff72bf55c8bdb956 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/32] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843c3999c441f153994e94f09f5e944523916837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/32] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 40ab74b41492b1b7ad6ce85e2d344ceee357e76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/32] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From 2b7917f2878e133cb02d1852a88e44b746bf7491 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/32] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From d331691e152117ee46d539e1f81d0215a54be1d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/32] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From 2c6ad1ab66648ed42bc5d16d0276811be0adb50c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/32] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From b6a99fff66c6426cc76fb512c7a686b1e4ff498e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/32] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From ff538fbc29718187f096b7769ae5096f33c0fa25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/32] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From 04cc13ff162f314a4b190084736119ea55f38186 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:51:37 +0100
Subject: [PATCH 26/32] tigervnc: missing dependency

---
 srcpkgs/tigervnc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/tigervnc/template b/srcpkgs/tigervnc/template
index 432505d58882..3e1d161859ed 100644
--- a/srcpkgs/tigervnc/template
+++ b/srcpkgs/tigervnc/template
@@ -6,7 +6,7 @@ _xorg_version=1.20.0
 build_style=cmake
 hostmakedepends="automake gettext xorg-util-macros font-util pkg-config libtool xtrans"
 makedepends="fltk-devel zlib-devel libXtst-devel libjpeg-turbo-devel pixman-devel
- xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel"
+ xorgproto libxkbfile-devel libXrandr-devel libXfont2-devel gnutls-devel libdrm-devel libxshmfence-devel"
 depends="perl xauth xkeyboard-config"
 short_desc="High performance, multi-platform VNC client and server"
 maintainer="Evan Deaubl <evan@deaubl.name>"

From 7f101fa6bc2e4d159e8aa848ade75e449d27f62c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:59:04 +0100
Subject: [PATCH 27/32] hplip: add dependency

---
 srcpkgs/hplip/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template
index 339d08b463d8..cde79c1cee18 100644
--- a/srcpkgs/hplip/template
+++ b/srcpkgs/hplip/template
@@ -27,7 +27,7 @@ make_dirs="/var/lib/hp 0755 root root"
 hostmakedepends="pkg-config automake libtool python3"
 makedepends="openssl-devel python3-devel libxml2-python3 cups-devel sane-devel
  ghostscript-devel net-snmp-devel libusb-devel libjpeg-turbo-devel dbus-devel
- avahi-libs-devel"
+ avahi-libs-devel zlib-devel"
 depends="python3-gobject python3-dbus desktop-file-utils
  foomatic-db foomatic-db-engine python3-distro"
 short_desc="HP Linux Imaging and Printing"

From b9213a8ac1c0d62449487ff23e63cb9a95faf3d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 28/32] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 6777eb038a3c21b38c54a6a8e414435f99af4067 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 29/32] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From 642991ad38f0c6d3f885e2c1a56cc19f60602866 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 13:02:34 +0100
Subject: [PATCH 30/32] seahorse-nautilus: fix building

---
 srcpkgs/seahorse-nautilus/patches/new-gnupg.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
index 7cdbdbf84d1f..01d944a3cac9 100644
--- a/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
+++ b/srcpkgs/seahorse-nautilus/patches/new-gnupg.patch
@@ -7,7 +7,7 @@ Index: seahorse-nautilus-3.10.1/configure.ac
  
  if test	"$DO_CHECK" = "yes"; then
 -	accepted_versions="1.2 1.4 2.0"
-+	accepted_versions="1.2 1.4 2.0 2.1 2.2"
++	accepted_versions="1.2 1.4 2.0 2.1 2.2 2.3"
  	AC_PATH_PROGS(GNUPG, [gpg gpg2], no)
  	ok="no"
  	if test "$GNUPG" != "no"; then

From b87bcb2d8dbb521d72fdb4818adb06517d782a95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 31/32] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From d4acf8b5b4bc81dc583bf98554954ada710db0b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 32/32] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (43 preceding siblings ...)
  2022-08-13 11:55 ` [PR PATCH] [Updated] " motorto
@ 2022-08-13 11:58 ` motorto
  2022-08-13 12:00 ` [PR PATCH] [Updated] " motorto
                   ` (20 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-13 11:58 UTC (permalink / raw)
  To: ml

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

New review comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r945131513

Comment:
Weirdly enough now it is compiling even without the sed command... 

`./xbps-src clean && ./xbps-src pkg ` gives me a clean build state right ?

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (44 preceding siblings ...)
  2022-08-13 11:58 ` [PR REVIEW] " motorto
@ 2022-08-13 12:00 ` motorto
  2022-08-13 12:09 ` [PR REVIEW] " motorto
                   ` (19 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-13 12:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 

Packages fixed in this PR:

- geany 
- hplip
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- seahorse-nautilus
- tigervnc
- pilot-link
- openjdk7-bootstrap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot
- gloobus-preview

Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system

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

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

From cdd7950a7f90205cb5152b1ba624929a813ef040 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/29] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From f4c1b279c39d4ab0c386896c54a45d06cb40253e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/29] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From d4838c5625905a742d7be9c777346fc57ce44479 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/29] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From b510556dddf811b5912ca95ff2e20aa935820cd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/29] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 0a0eea91129022b2475a089beff0dd8a711baedb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/29] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From a49bd416054ad3b5ce910dac2f09d7cfc559f0d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/29] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 646c8e7355b067ddf97992d46e17cd14bd70d58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/29] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 6c6ccdd1b6c5d2d96de5964b722c98aecc7aabde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/29] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 1f930acd99ff009fae66907060ea5c8c6ed3d301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/29] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 3371d77bd37e01fe2d9e790dce2f9d3a2761eb3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/29] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From d3160067d128147c1f0ae46a93c174d0eaf18a1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/29] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From fd6ca03a87404843ec172346c270591234c22b72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/29] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From c9da5306132e431d554ec99b3e44c5f08cb4dcdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/29] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 10ef0d0a8e0518fe24562aabbbc6991a090802e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/29] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From b1c76c3b880705bb17f10f610d2299bb8fecbb8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/29] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 6cf5e7c89d89a8fdf8f6cd684294423fae156fe4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/29] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From bfb77b1d04491593039f0628bbb45d833791322f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/29] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From ec619f8bf459dffbd6c72079ff72bf55c8bdb956 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/29] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 843c3999c441f153994e94f09f5e944523916837 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/29] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 40ab74b41492b1b7ad6ce85e2d344ceee357e76b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/29] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From 2b7917f2878e133cb02d1852a88e44b746bf7491 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/29] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From d331691e152117ee46d539e1f81d0215a54be1d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/29] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From 2c6ad1ab66648ed42bc5d16d0276811be0adb50c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/29] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From b6a99fff66c6426cc76fb512c7a686b1e4ff498e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/29] libstrp: fix template building

---
 srcpkgs/libsrtp/template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..a1b62b74218f 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From ff538fbc29718187f096b7769ae5096f33c0fa25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/29] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From ab1cadbbcc71285ef22bdae779d918d11a848814 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/29] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 2df671882904f2b88ef4d984ebd774fc190218b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/29] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From d22b45e8d151ad4e02a050f009e3b93f5e94dea5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/29] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 7919a806952366353bb8cb32a4ef3f62d8848d97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/29] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (45 preceding siblings ...)
  2022-08-13 12:00 ` [PR PATCH] [Updated] " motorto
@ 2022-08-13 12:09 ` motorto
  2022-08-13 13:11 ` motorto
                   ` (18 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-13 12:09 UTC (permalink / raw)
  To: ml

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

New review comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r945132431

Comment:
In the autoconf 2.7.1 branch it builds fine: https://paste.rs/Gwu

I didn't had time to try with autoconf 2.6.9

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (46 preceding siblings ...)
  2022-08-13 12:09 ` [PR REVIEW] " motorto
@ 2022-08-13 13:11 ` motorto
  2022-08-13 14:31 ` motorto
                   ` (17 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-13 13:11 UTC (permalink / raw)
  To: ml

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

New review comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r945147289

Comment:
With autoconf 2.6.9 also builds: https://paste.rs/wGs

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (47 preceding siblings ...)
  2022-08-13 13:11 ` motorto
@ 2022-08-13 14:31 ` motorto
  2022-08-13 21:03 ` [PR PATCH] [Updated] " motorto
                   ` (16 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-13 14:31 UTC (permalink / raw)
  To: ml

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

New review comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r945147289

Comment:
With autoconf 2.6.9 also builds: https://paste.rs/wGs (build at master branch)

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (48 preceding siblings ...)
  2022-08-13 14:31 ` motorto
@ 2022-08-13 21:03 ` motorto
  2022-08-15 20:38 ` [PR REVIEW] " paper42
                   ` (15 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-13 21:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 1171b3ec85dc41b881e03ac0cb98696f9f066804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/29] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 92c6e8dfbaae4d45589a21d0569cfcac33851aeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/29] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 69e6f2643085a6aca552a27bee63546f7ecb63ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/29] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From dd5a04a0506f00db422d06ab05496164b18b25ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/29] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 3d1e325ebb2bab043bc1e6d6a82affa1756ef176 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/29] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b6c868e40d2858afe98253755addcead96004959 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/29] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1a29e463daa0a98b699e2a572468b91599af73a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/29] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From ae8a4bfcb94928408f0f68ae84e59e5848eac0e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/29] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From cc40868f371132b40983d829f5758951f1fbbc1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/29] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 08f217989c1b3faba64dc3862a496d8e08da71ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/29] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 10e3c2b660cfd013adc72bd05cbc428d9de4f82b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/29] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5b8602223801125f60eb702989f138aaf07c97a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/29] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 5ae121973ae85ec60f817bd5032bf7f96b568e1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/29] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 49723962ca51f8ff20ef9c84a470e3b82fa5951f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/29] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From bb06478f04c1d2c2e76eb25982c24af446ca0c90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/29] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 250d76d9630016c5604a832e609e7316fe7ea6d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/29] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 3661d451f7b044160b5c493d2165c5617e3ea1bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/29] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From a9ae908ea159ab7b5afc999f448e9c74b0b37e5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/29] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ca3a216f8a9e41ccb8718f6da1029b82de8fb04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/29] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1d9c36f4f22d28ab8862bcb7033f09a5f3e58fb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/29] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From c780f49e86335f0762c2194498005dc3dc9fd40b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/29] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 8bcfeec265e58a1972b6a2dfa51079801cd0b639 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/29] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From fbf27095fd230c0938d0867e51255fd16e920a05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/29] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 05b119dbec50de0da8cd6e205dff62dbcae90941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/29] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eb5e52c2f00b2774d45d093c0f7a16e71ead92d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/29] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From aa2a1e74783f39fe8b1a6480b6e3fe9c3d436709 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/29] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 94f63767df45757da0120cb784ea7894c8b0bc6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/29] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From a366d0da44b2672cb263ab473c5326fde4db3c58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/29] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 661d92d2ff6b38c832acd074e3ee914d1e23ee2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/29] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (49 preceding siblings ...)
  2022-08-13 21:03 ` [PR PATCH] [Updated] " motorto
@ 2022-08-15 20:38 ` paper42
  2022-08-15 20:42 ` paper42
                   ` (14 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-15 20:38 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r946105632

Comment:
Hmm, I must have had a dirty masterdir, I can't reproduce this failure anymore.

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (50 preceding siblings ...)
  2022-08-15 20:38 ` [PR REVIEW] " paper42
@ 2022-08-15 20:42 ` paper42
  2022-08-15 20:50 ` paper42
                   ` (13 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-15 20:42 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r946108067

Comment:
mostly, clean only cleans directories in /builddir and /destdir/. If one of the previous builds touched the system outside of these directories (and you were not using -t), it would still be broken. `zap` and `binary-bootstrap` recreate the masterdir from scratch, so that definitely gives you a clean state. `clean` should be good enough for all packages.

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (51 preceding siblings ...)
  2022-08-15 20:42 ` paper42
@ 2022-08-15 20:50 ` paper42
  2022-08-15 20:59 ` [PR REVIEW] " motorto
                   ` (12 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-08-15 20:50 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1215778154

Comment:
farstream needs gtk-doc added to hostmakedepends

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

* Re: [PR REVIEW] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (52 preceding siblings ...)
  2022-08-15 20:50 ` paper42
@ 2022-08-15 20:59 ` motorto
  2022-08-15 21:08 ` [PR PATCH] [Updated] " motorto
                   ` (11 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-15 20:59 UTC (permalink / raw)
  To: ml

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

New review comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#discussion_r946120315

Comment:
Tried building now this package after a zap 

could you confirm that this package builds without the sed ?

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (53 preceding siblings ...)
  2022-08-15 20:59 ` [PR REVIEW] " motorto
@ 2022-08-15 21:08 ` motorto
  2022-08-15 21:13 ` motorto
                   ` (10 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-15 21:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 1171b3ec85dc41b881e03ac0cb98696f9f066804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/30] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 92c6e8dfbaae4d45589a21d0569cfcac33851aeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/30] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 69e6f2643085a6aca552a27bee63546f7ecb63ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/30] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From dd5a04a0506f00db422d06ab05496164b18b25ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/30] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 3d1e325ebb2bab043bc1e6d6a82affa1756ef176 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/30] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b6c868e40d2858afe98253755addcead96004959 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/30] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1a29e463daa0a98b699e2a572468b91599af73a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/30] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From ae8a4bfcb94928408f0f68ae84e59e5848eac0e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/30] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From cc40868f371132b40983d829f5758951f1fbbc1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/30] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 08f217989c1b3faba64dc3862a496d8e08da71ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/30] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 10e3c2b660cfd013adc72bd05cbc428d9de4f82b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/30] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5b8602223801125f60eb702989f138aaf07c97a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/30] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 5ae121973ae85ec60f817bd5032bf7f96b568e1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/30] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 49723962ca51f8ff20ef9c84a470e3b82fa5951f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/30] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From bb06478f04c1d2c2e76eb25982c24af446ca0c90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/30] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 250d76d9630016c5604a832e609e7316fe7ea6d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/30] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 3661d451f7b044160b5c493d2165c5617e3ea1bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/30] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From a9ae908ea159ab7b5afc999f448e9c74b0b37e5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/30] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ca3a216f8a9e41ccb8718f6da1029b82de8fb04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/30] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1d9c36f4f22d28ab8862bcb7033f09a5f3e58fb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/30] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From c780f49e86335f0762c2194498005dc3dc9fd40b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/30] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 8bcfeec265e58a1972b6a2dfa51079801cd0b639 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/30] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From fbf27095fd230c0938d0867e51255fd16e920a05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/30] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 05b119dbec50de0da8cd6e205dff62dbcae90941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/30] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eb5e52c2f00b2774d45d093c0f7a16e71ead92d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/30] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From aa2a1e74783f39fe8b1a6480b6e3fe9c3d436709 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/30] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 94f63767df45757da0120cb784ea7894c8b0bc6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/30] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From a366d0da44b2672cb263ab473c5326fde4db3c58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/30] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 661d92d2ff6b38c832acd074e3ee914d1e23ee2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/30] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From cab02212eab822b895f98d53c5ce9d96b4857bb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/30] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (54 preceding siblings ...)
  2022-08-15 21:08 ` [PR PATCH] [Updated] " motorto
@ 2022-08-15 21:13 ` motorto
  2022-08-15 21:21 ` motorto
                   ` (9 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-15 21:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 1171b3ec85dc41b881e03ac0cb98696f9f066804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/31] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 92c6e8dfbaae4d45589a21d0569cfcac33851aeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/31] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 69e6f2643085a6aca552a27bee63546f7ecb63ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/31] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From dd5a04a0506f00db422d06ab05496164b18b25ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/31] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 3d1e325ebb2bab043bc1e6d6a82affa1756ef176 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/31] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b6c868e40d2858afe98253755addcead96004959 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/31] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1a29e463daa0a98b699e2a572468b91599af73a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/31] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From ae8a4bfcb94928408f0f68ae84e59e5848eac0e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/31] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From cc40868f371132b40983d829f5758951f1fbbc1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/31] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 08f217989c1b3faba64dc3862a496d8e08da71ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/31] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 10e3c2b660cfd013adc72bd05cbc428d9de4f82b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/31] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5b8602223801125f60eb702989f138aaf07c97a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/31] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 5ae121973ae85ec60f817bd5032bf7f96b568e1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/31] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 49723962ca51f8ff20ef9c84a470e3b82fa5951f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/31] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From bb06478f04c1d2c2e76eb25982c24af446ca0c90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/31] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 250d76d9630016c5604a832e609e7316fe7ea6d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/31] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 3661d451f7b044160b5c493d2165c5617e3ea1bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/31] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From a9ae908ea159ab7b5afc999f448e9c74b0b37e5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/31] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ca3a216f8a9e41ccb8718f6da1029b82de8fb04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/31] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1d9c36f4f22d28ab8862bcb7033f09a5f3e58fb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/31] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From c780f49e86335f0762c2194498005dc3dc9fd40b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/31] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 8bcfeec265e58a1972b6a2dfa51079801cd0b639 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/31] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From fbf27095fd230c0938d0867e51255fd16e920a05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/31] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 05b119dbec50de0da8cd6e205dff62dbcae90941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/31] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eb5e52c2f00b2774d45d093c0f7a16e71ead92d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/31] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From aa2a1e74783f39fe8b1a6480b6e3fe9c3d436709 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/31] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 94f63767df45757da0120cb784ea7894c8b0bc6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/31] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From a366d0da44b2672cb263ab473c5326fde4db3c58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/31] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 661d92d2ff6b38c832acd074e3ee914d1e23ee2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/31] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From cab02212eab822b895f98d53c5ce9d96b4857bb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/31] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From c47258ea740ba5c8d384ca47624a52330d20a7ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 31/31] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (55 preceding siblings ...)
  2022-08-15 21:13 ` motorto
@ 2022-08-15 21:21 ` motorto
  2022-08-16  9:09 ` motorto
                   ` (8 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-15 21:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2
- gamin (patch fails to apply ...) 
- gnome-latex
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). 
- libcryptui
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr
- pdsh ( tests fail)
- pgadmin3
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 1171b3ec85dc41b881e03ac0cb98696f9f066804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/32] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 92c6e8dfbaae4d45589a21d0569cfcac33851aeb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/32] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 69e6f2643085a6aca552a27bee63546f7ecb63ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/32] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From dd5a04a0506f00db422d06ab05496164b18b25ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/32] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From 3d1e325ebb2bab043bc1e6d6a82affa1756ef176 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/32] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b6c868e40d2858afe98253755addcead96004959 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/32] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1a29e463daa0a98b699e2a572468b91599af73a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/32] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From ae8a4bfcb94928408f0f68ae84e59e5848eac0e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/32] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From cc40868f371132b40983d829f5758951f1fbbc1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/32] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 08f217989c1b3faba64dc3862a496d8e08da71ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/32] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 10e3c2b660cfd013adc72bd05cbc428d9de4f82b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/32] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5b8602223801125f60eb702989f138aaf07c97a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/32] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 5ae121973ae85ec60f817bd5032bf7f96b568e1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/32] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 49723962ca51f8ff20ef9c84a470e3b82fa5951f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/32] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From bb06478f04c1d2c2e76eb25982c24af446ca0c90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/32] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 250d76d9630016c5604a832e609e7316fe7ea6d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/32] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 3661d451f7b044160b5c493d2165c5617e3ea1bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/32] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From a9ae908ea159ab7b5afc999f448e9c74b0b37e5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/32] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1ca3a216f8a9e41ccb8718f6da1029b82de8fb04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/32] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 1d9c36f4f22d28ab8862bcb7033f09a5f3e58fb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/32] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From c780f49e86335f0762c2194498005dc3dc9fd40b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/32] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 8bcfeec265e58a1972b6a2dfa51079801cd0b639 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/32] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From fbf27095fd230c0938d0867e51255fd16e920a05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/32] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 05b119dbec50de0da8cd6e205dff62dbcae90941 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/32] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 8eb5e52c2f00b2774d45d093c0f7a16e71ead92d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/32] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From aa2a1e74783f39fe8b1a6480b6e3fe9c3d436709 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/32] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 94f63767df45757da0120cb784ea7894c8b0bc6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/32] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From a366d0da44b2672cb263ab473c5326fde4db3c58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/32] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 661d92d2ff6b38c832acd074e3ee914d1e23ee2e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/32] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From cab02212eab822b895f98d53c5ce9d96b4857bb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/32] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From c47258ea740ba5c8d384ca47624a52330d20a7ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 31/32] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

From b5e732d34df8df428a5c4a7a8aa37d09015be1fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:21:02 +0100
Subject: [PATCH 32/32] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..78f151370e39 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -8,7 +8,7 @@ configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
  automake libtool gettext-devel-tools glib-devel
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"
 depends="hicolor-icon-theme gnupg"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (56 preceding siblings ...)
  2022-08-15 21:21 ` motorto
@ 2022-08-16  9:09 ` motorto
  2022-08-19 17:47 ` motorto
                   ` (7 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-16  9:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2 (fixed in dd5000ae0e651956977c9280142fd45678df6916)
- gamin (patch fails to apply, fixed in 643353ee640c320645c7946adb8c9862dcbdef61) 
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). fixed in fee715adc214d07b022f25881b8840bc8494fe69
- libcryptui (fixed in 26e2d9fbdc2ff2d644f141cce4d48d22921694b0, also fixed for autoconf 2.71 in this PR)
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr (fixed in 580473cab7f407c005080c4accf98316e5a45e60)
- pdsh ( tests fail)
- pgadmin3 (package removed in e5860d61e94d3e37c824378bdb4971dc54eaec16)
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c (#38696)

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap
- gnome-latex
- libcryptui

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From bf9b36fbc736f0d2234433d275f69f863cc79a9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/33] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From ccea0e5b81c121d445ff1d537a27e4395f94982f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/33] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 3924251695a69fd85996e87ddf1d6b2c168ce377 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/33] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From c5809384038533549013363360f4d00b1e3a6c54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/33] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From a9fb765f355cc1915c86b4fc1540fb9e0977f6e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/33] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From fb1fc9444774db104d5ab564d94fe0ddb7f74502 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/33] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 45238d3c1801ca7d4ebff2a11b435b0cb40de90b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/33] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 46a7fccfd6ac37473d12b5064b2b5d8653d9a3ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/33] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From dfbf375cf2d921fe541637298597ce06f61cd453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/33] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 39d97817f22544d4154e8de266dccec091f0659f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/33] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From d0f936d5a1e534c5e76d605170a2e97872b6d3bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/33] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b46bb4b8857829fff652d6645ca07ae65d876c49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/33] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 282d322d1be08bbe30c5fe58a565a109ab8b44f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/33] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From a462d005eee04eec9e9b414ea7f6c48f56d1d3d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/33] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5deb205995431be0dc5eb37287cfb22873670f2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/33] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From cd9fbf8d6ce6231fcdd1e1291844605507ce10ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/33] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 740700f7e3b4e6080b10be4bf8fde88649988f25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/33] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 1093ebe5444bdc10cf3d9bb35a519a3ab853d0a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/33] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From a23526235f13cb32dbeaa1d02a60d309978dac69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/33] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From d4a6fb48e65a3c05d53e2aa98594434f96456804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/33] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From 812ce8132b586240789d671cd90fea76e4ac585f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/33] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 7592720d3021091f2ebdd9403a5194f38dcf79ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/33] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From 07b04b6121364515128635fb6d8f575635dfb38f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/33] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From dfd0d78979e23a09b6155cceaeb61da57985118a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/33] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From fd3dbbc52c99b25fff7a748cbe070be186572492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/33] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From b18457dff75c75748224aa3d0f69b48e2f884078 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/33] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From b9c98c82032df1fead14cb890922cc8d07a7f825 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/33] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From cddce3ac8cfc4069a8d34c03c733e9ed94b205cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/33] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 97d345c45acddb3bcf110092e3c1addbddc1adc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/33] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From d5224f59623c6af1a8b7ed935763e1f287d91897 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/33] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From 669e42d092184893ece201be7c278ce9e2b8c9b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 31/33] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

From 1fd16e76345531ed0370beb6c39de34bf4272484 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:21:02 +0100
Subject: [PATCH 32/33] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..78f151370e39 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -8,7 +8,7 @@ configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
  automake libtool gettext-devel-tools glib-devel
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"
 depends="hicolor-icon-theme gnupg"

From cac0bc5e9b148996af6a8fbfada974ef962fb6f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 16 Aug 2022 10:08:32 +0100
Subject: [PATCH 33/33] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..6cb4695c9f94 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -7,7 +7,7 @@ build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
 hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"
 short_desc="LaTeX editor for the GNOME desktop"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (57 preceding siblings ...)
  2022-08-16  9:09 ` motorto
@ 2022-08-19 17:47 ` motorto
  2022-08-20 12:13 ` motorto
                   ` (6 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-19 17:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2 (fixed in dd5000ae0e651956977c9280142fd45678df6916)
- gamin (patch fails to apply, fixed in 643353ee640c320645c7946adb8c9862dcbdef61) 
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). fixed in fee715adc214d07b022f25881b8840bc8494fe69
- libcryptui (fixed in 26e2d9fbdc2ff2d644f141cce4d48d22921694b0, also fixed for autoconf 2.71 in this PR)
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr (fixed in 580473cab7f407c005080c4accf98316e5a45e60)
- pdsh ( tests fail)
- pgadmin3 (package removed in e5860d61e94d3e37c824378bdb4971dc54eaec16)
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c (#38696)

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap
- gnome-latex
- libcryptui

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From bf9b36fbc736f0d2234433d275f69f863cc79a9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/34] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From ccea0e5b81c121d445ff1d537a27e4395f94982f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/34] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 3924251695a69fd85996e87ddf1d6b2c168ce377 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/34] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From c5809384038533549013363360f4d00b1e3a6c54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/34] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From a9fb765f355cc1915c86b4fc1540fb9e0977f6e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/34] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From fb1fc9444774db104d5ab564d94fe0ddb7f74502 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/34] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 45238d3c1801ca7d4ebff2a11b435b0cb40de90b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/34] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 46a7fccfd6ac37473d12b5064b2b5d8653d9a3ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/34] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From dfbf375cf2d921fe541637298597ce06f61cd453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/34] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 39d97817f22544d4154e8de266dccec091f0659f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/34] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From d0f936d5a1e534c5e76d605170a2e97872b6d3bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/34] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From b46bb4b8857829fff652d6645ca07ae65d876c49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/34] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 282d322d1be08bbe30c5fe58a565a109ab8b44f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/34] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From a462d005eee04eec9e9b414ea7f6c48f56d1d3d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/34] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5deb205995431be0dc5eb37287cfb22873670f2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/34] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From cd9fbf8d6ce6231fcdd1e1291844605507ce10ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/34] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 740700f7e3b4e6080b10be4bf8fde88649988f25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/34] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 1093ebe5444bdc10cf3d9bb35a519a3ab853d0a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/34] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From a23526235f13cb32dbeaa1d02a60d309978dac69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/34] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From d4a6fb48e65a3c05d53e2aa98594434f96456804 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/34] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From 812ce8132b586240789d671cd90fea76e4ac585f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/34] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 7592720d3021091f2ebdd9403a5194f38dcf79ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/34] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From 07b04b6121364515128635fb6d8f575635dfb38f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/34] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From dfd0d78979e23a09b6155cceaeb61da57985118a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/34] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From fd3dbbc52c99b25fff7a748cbe070be186572492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/34] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From b18457dff75c75748224aa3d0f69b48e2f884078 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/34] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From b9c98c82032df1fead14cb890922cc8d07a7f825 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/34] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From cddce3ac8cfc4069a8d34c03c733e9ed94b205cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/34] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 97d345c45acddb3bcf110092e3c1addbddc1adc5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/34] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From d5224f59623c6af1a8b7ed935763e1f287d91897 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/34] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From 669e42d092184893ece201be7c278ce9e2b8c9b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 31/34] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

From 1fd16e76345531ed0370beb6c39de34bf4272484 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:21:02 +0100
Subject: [PATCH 32/34] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..78f151370e39 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -8,7 +8,7 @@ configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
  automake libtool gettext-devel-tools glib-devel
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"
 depends="hicolor-icon-theme gnupg"

From cac0bc5e9b148996af6a8fbfada974ef962fb6f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 16 Aug 2022 10:08:32 +0100
Subject: [PATCH 33/34] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..6cb4695c9f94 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -7,7 +7,7 @@ build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
 hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"
 short_desc="LaTeX editor for the GNOME desktop"

From 324d29f3a8ce91de891dc79b19babf4b59698817 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Fri, 19 Aug 2022 18:46:52 +0100
Subject: [PATCH 34/34] lxsession: add missing dependency

---
 srcpkgs/lxsession/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 6f3d8e22480b..d1ef33061d9b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,7 +4,7 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool vala"
 makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (58 preceding siblings ...)
  2022-08-19 17:47 ` motorto
@ 2022-08-20 12:13 ` motorto
  2022-08-20 22:03 ` motorto
                   ` (5 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-20 12:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that

Packages failing that were failing already (will not fix)

- MEGAcmd
- ctags (patch fails to apply ...) #38597 
- davfs2 (fixed in dd5000ae0e651956977c9280142fd45678df6916)
- gamin (patch fails to apply, fixed in 643353ee640c320645c7946adb8c9862dcbdef61) 
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). fixed in fee715adc214d07b022f25881b8840bc8494fe69
- libcryptui (fixed in 26e2d9fbdc2ff2d644f141cce4d48d22921694b0, also fixed for autoconf 2.71 in this PR)
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr (fixed in 580473cab7f407c005080c4accf98316e5a45e60)
- pdsh ( tests fail)
- pgadmin3 (package removed in e5860d61e94d3e37c824378bdb4971dc54eaec16)
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c (#38696)

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap
- gnome-latex
- libcryptui

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 949cd35cc762a5229ea6dcbdb783cf229a42c3d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/34] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From 2bb4832f04e0750777229ba6b2d59ed0f4e1ff4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/34] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From 27b738fa1511719f79585a3f27485893f8642fd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/34] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From 6291b441b9c4930c4325316e665d3f18563532fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/34] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From cf31ad3df5080b3f2180115bcecf71ed6d535b64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/34] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 5aa30a40cf06d1bbe4fda853bf3a7392b12675c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/34] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From fa1f565babe2960e3db3399a7d4d989098e40d81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/34] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From f0dbd7089cd7e3b857223381978a8f83f0774114 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/34] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 9b3f51b6de2d211da2179c7d2aafbf0101d2a539 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/34] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 7e05981021ebb795fc41954047965315ead3f962 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/34] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 40d12997964c448c7a5f153aec49d2bd35477b45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/34] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 7ccb1eb6c624f331a800bfa111b68e845b587e60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/34] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 5210f054851650d46e80ccf6019e4d777d6cee77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/34] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 865d3ccf83e6505f313b9e5ed2b3800897da0cb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/34] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 5a8af3192e087523eb2a5ebc949f1054c6cbbedc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/34] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From c1fa83f08539ae6cf80eb4cc39153f85f2a5b24c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/34] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From c5c720c98498f851f9db2c496896b899d00fc4ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/34] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From e0e8bde4ec3e95f33d4145505418bcf37629410b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/34] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 0a7d17a0118e651641265853b87cb5af9ce9256d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/34] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 800db1ffdc9d7a0afa0da8e17db7480491fc9678 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/34] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From a3090385e7f3a92b89aac3b14c2377b4cc7b70b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/34] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From c37175e72f19b08e19dd69a19650d782b3b4b91b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/34] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From d4342c256a913a7275d2a4c128e4990588ddda39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/34] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 778306b82502605269c25c1f19e44830defeb526 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/34] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From ebe74730a9b68d846b667b429db04722fb681919 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/34] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From a3baac4fbf7a9255edfed03f0c2b216024398582 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/34] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From b793e4ae7957ab9450cc39c4d57fe19699fb4c4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/34] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From 8094c4b0b1228b5fb74736d6950ff6d0440cbdba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/34] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 4724ccffd47ed1e1007f8e6418651814a2f0b644 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/34] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From e0cb0a64418ce95b18918ec33f11a29f72f3b20f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/34] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From 3fb37d5c0c786d3ecc705a70ad4642982fc6dca0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 31/34] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

From 9b512321a1e1349f9fb431966f9681ad6f9c42ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:21:02 +0100
Subject: [PATCH 32/34] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..78f151370e39 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -8,7 +8,7 @@ configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
  automake libtool gettext-devel-tools glib-devel
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"
 depends="hicolor-icon-theme gnupg"

From f6bcf4554148edf29cb1f01bbeda7d98bae21605 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 16 Aug 2022 10:08:32 +0100
Subject: [PATCH 33/34] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..6cb4695c9f94 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -7,7 +7,7 @@ build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
 hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"
 short_desc="LaTeX editor for the GNOME desktop"

From 5952dcac249fc91a3a7664221d523bfc60910cdb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Fri, 19 Aug 2022 18:46:52 +0100
Subject: [PATCH 34/34] lxsession: add missing dependency

---
 srcpkgs/lxsession/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 6f3d8e22480b..d1ef33061d9b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,7 +4,7 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool vala"
 makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (59 preceding siblings ...)
  2022-08-20 12:13 ` motorto
@ 2022-08-20 22:03 ` motorto
  2022-08-21 17:07 ` motorto
                   ` (4 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-20 22:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that.


### Packages blocking this PR to be merged:

- boinc
- nfdump
- nfs4-acl-tools
- portaudio
- tpm2-tss


Packages failing that were failing already (will not fix)

- ctags (patch fails to apply ...) #38597 
- davfs2 (fixed in dd5000ae0e651956977c9280142fd45678df6916)
- gamin (patch fails to apply, fixed in 643353ee640c320645c7946adb8c9862dcbdef61) 
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). fixed in fee715adc214d07b022f25881b8840bc8494fe69
- libcryptui (fixed in 26e2d9fbdc2ff2d644f141cce4d48d22921694b0, also fixed for autoconf 2.71 in this PR)
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr (fixed in 580473cab7f407c005080c4accf98316e5a45e60)
- pdsh ( tests fail)
- pgadmin3 (package removed in e5860d61e94d3e37c824378bdb4971dc54eaec16)
- portaudio
- rng-tools
- tcpflow
- transcode
- xnec2c (#38696)

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap
- gnome-latex
- libcryptui

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 4bb9057a156c8dfca13d26f74d0ecc95e42adc67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/34] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From a841d880f8cd45ae247d682915faf68d1d3529b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/34] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From ac52c036bd86f29b244eeda7099b971cc0a1273f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/34] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From fb2c08c5a8d18a148db70120f903379cf2fc412c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/34] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From a6e4ab7360fd9305e2d1b1866dc2df90df8bc6b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/34] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 9c7d58758103cbc0fd124dffee6f2b94a8b0816b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/34] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 7c5b2a7873f5a0359ed3d7ee945a275030b025e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/34] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 1ad0b00e9a7ab9094af526d2f57eae21856ff628 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/34] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 9b2eff9e7d914fc949467da1ce4116f473389788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/34] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 884c782b37f0ef73ac4f2693e4e4c7039c239ae5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/34] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From c9ab74c121627c8fc248e16d391534231b39b906 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/34] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From d9f6178b7f7d710c898bdf60bf7cf9813f4ceae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/34] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From d13abce9fa5f420a6ae5ae8be51938d97748fd84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/34] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 1af4fa9624a12ea717773fc4982e0b9f3683ac88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/34] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 8d48712aededc450f726c77aac826133873a5130 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/34] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From bbd094ffecf423ecd524566ecffdf56b4be70955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/34] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 2a26b5cf40f00dae0c7a44574080924e2c9af6c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/34] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 56550503fdc73c1f30ed4d25e40ba0509f8f1188 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/34] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 9eccc51e4ab3de75cf7abab21c9b0ccc7cfc614f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/34] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 972b2de19cc757e2427425b05e8304d44a1cfb4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/34] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From 91871a12b804ecbad833af4926e88531a491b490 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/34] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 5cd2b5388e6fbc3a53d641394fe5fa668413f71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/34] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From a0aecd5bf18039d6d3d1d11d186828af9de4bf68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/34] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 027bd6b883e36b9b37610734b65723938cd01526 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/34] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 4706f499ae1ebced38ad94cc7804c6f0f20f6c4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/34] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From d7eb44b781c206e5062c6fc777f1d72a79672544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/34] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 1e8f9720f73c215da415a29921e85effede3b7d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/34] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From b0968fccc88bd1a030e5e9e8ed140933ed1d715d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/34] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 228d7e0412e81548809b8b541881fa0eca90ed57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/34] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From 68cd52b3d4c0f5f593dfb33ed0bb8207ca941526 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/34] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From e080443fbe57d1bad53fe3dd003416a1158a3b88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 31/34] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

From ef8fb29ffa5dc6a931651ba52b06e09ad644f535 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:21:02 +0100
Subject: [PATCH 32/34] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..78f151370e39 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -8,7 +8,7 @@ configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
  automake libtool gettext-devel-tools glib-devel
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"
 depends="hicolor-icon-theme gnupg"

From 86ebd79b20d1e5abb929e54a1ceb340d710a354a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 16 Aug 2022 10:08:32 +0100
Subject: [PATCH 33/34] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..6cb4695c9f94 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -7,7 +7,7 @@ build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
 hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"
 short_desc="LaTeX editor for the GNOME desktop"

From 238cce7e46e95316952246d8428926f20ff8374c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Fri, 19 Aug 2022 18:46:52 +0100
Subject: [PATCH 34/34] lxsession: add missing dependency

---
 srcpkgs/lxsession/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 6f3d8e22480b..d1ef33061d9b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,7 +4,7 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool vala"
 makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (60 preceding siblings ...)
  2022-08-20 22:03 ` motorto
@ 2022-08-21 17:07 ` motorto
  2022-08-21 17:34 ` motorto
                   ` (3 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-21 17:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that.


### Packages blocking this PR to be merged:

- boinc
- nfs4-acl-tools
- portaudio @ericonr (you being the maintainer could you help here ?)
- tpm2-tss


Packages failing that were failing already (will not fix)

- ctags (patch fails to apply ...) #38597 
- davfs2 (fixed in dd5000ae0e651956977c9280142fd45678df6916)
- gamin (patch fails to apply, fixed in 643353ee640c320645c7946adb8c9862dcbdef61) 
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). fixed in fee715adc214d07b022f25881b8840bc8494fe69
- libcryptui (fixed in 26e2d9fbdc2ff2d644f141cce4d48d22921694b0, also fixed for autoconf 2.71 in this PR)
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr (fixed in 580473cab7f407c005080c4accf98316e5a45e60)
- pdsh ( tests fail)
- pgadmin3 (package removed in e5860d61e94d3e37c824378bdb4971dc54eaec16)
- rng-tools
- tcpflow
- transcode
- xnec2c (#38696)

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap
- gnome-latex
- libcryptui

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 4bb9057a156c8dfca13d26f74d0ecc95e42adc67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/35] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From a841d880f8cd45ae247d682915faf68d1d3529b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/35] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From ac52c036bd86f29b244eeda7099b971cc0a1273f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/35] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From fb2c08c5a8d18a148db70120f903379cf2fc412c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/35] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From a6e4ab7360fd9305e2d1b1866dc2df90df8bc6b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/35] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 9c7d58758103cbc0fd124dffee6f2b94a8b0816b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/35] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 7c5b2a7873f5a0359ed3d7ee945a275030b025e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/35] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 1ad0b00e9a7ab9094af526d2f57eae21856ff628 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/35] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 9b2eff9e7d914fc949467da1ce4116f473389788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/35] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 884c782b37f0ef73ac4f2693e4e4c7039c239ae5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/35] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From c9ab74c121627c8fc248e16d391534231b39b906 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/35] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From d9f6178b7f7d710c898bdf60bf7cf9813f4ceae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/35] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From d13abce9fa5f420a6ae5ae8be51938d97748fd84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/35] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 1af4fa9624a12ea717773fc4982e0b9f3683ac88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/35] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 8d48712aededc450f726c77aac826133873a5130 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/35] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From bbd094ffecf423ecd524566ecffdf56b4be70955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/35] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 2a26b5cf40f00dae0c7a44574080924e2c9af6c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/35] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 56550503fdc73c1f30ed4d25e40ba0509f8f1188 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/35] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 9eccc51e4ab3de75cf7abab21c9b0ccc7cfc614f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/35] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 972b2de19cc757e2427425b05e8304d44a1cfb4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/35] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From 91871a12b804ecbad833af4926e88531a491b490 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/35] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 5cd2b5388e6fbc3a53d641394fe5fa668413f71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/35] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From a0aecd5bf18039d6d3d1d11d186828af9de4bf68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/35] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 027bd6b883e36b9b37610734b65723938cd01526 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/35] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 4706f499ae1ebced38ad94cc7804c6f0f20f6c4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/35] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From d7eb44b781c206e5062c6fc777f1d72a79672544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/35] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 1e8f9720f73c215da415a29921e85effede3b7d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/35] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From b0968fccc88bd1a030e5e9e8ed140933ed1d715d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/35] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 228d7e0412e81548809b8b541881fa0eca90ed57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/35] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From 68cd52b3d4c0f5f593dfb33ed0bb8207ca941526 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/35] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From e080443fbe57d1bad53fe3dd003416a1158a3b88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 31/35] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

From ef8fb29ffa5dc6a931651ba52b06e09ad644f535 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:21:02 +0100
Subject: [PATCH 32/35] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..78f151370e39 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -8,7 +8,7 @@ configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
  automake libtool gettext-devel-tools glib-devel
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"
 depends="hicolor-icon-theme gnupg"

From 86ebd79b20d1e5abb929e54a1ceb340d710a354a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 16 Aug 2022 10:08:32 +0100
Subject: [PATCH 33/35] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..6cb4695c9f94 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -7,7 +7,7 @@ build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
 hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"
 short_desc="LaTeX editor for the GNOME desktop"

From 238cce7e46e95316952246d8428926f20ff8374c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Fri, 19 Aug 2022 18:46:52 +0100
Subject: [PATCH 34/35] lxsession: add missing dependency

---
 srcpkgs/lxsession/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 6f3d8e22480b..d1ef33061d9b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,7 +4,7 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool vala"
 makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"

From 8d56155b505fec3b12b5cbdbf88a293ce48fc74c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 21 Aug 2022 18:04:28 +0100
Subject: [PATCH 35/35] nfs4-acl-tools: Fix build with autoconf-2.7.1.

Added two new patches from gentoo:

- jobserver-unavailable.patch: makes possible to build with -jX (instead of 1
  only)
- libtool.patch: Fixes cross build
---
 srcpkgs/nfs4-acl-tools/patches/Makefile.patch | 20 ------
 .../patches/jobserver-unavailable.patch       | 26 +++++++
 srcpkgs/nfs4-acl-tools/patches/libtool.patch  | 72 +++++++++++++++++++
 srcpkgs/nfs4-acl-tools/template               | 12 ++--
 4 files changed, 105 insertions(+), 25 deletions(-)
 delete mode 100644 srcpkgs/nfs4-acl-tools/patches/Makefile.patch
 create mode 100644 srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
 create mode 100644 srcpkgs/nfs4-acl-tools/patches/libtool.patch

diff --git a/srcpkgs/nfs4-acl-tools/patches/Makefile.patch b/srcpkgs/nfs4-acl-tools/patches/Makefile.patch
deleted file mode 100644
index e41aaf8e0a5e..000000000000
--- a/srcpkgs/nfs4-acl-tools/patches/Makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/Makefile	2018-08-21 18:07:51.000000000 +0200
-+++ b/Makefile.new	2018-10-02 11:16:49.335221638 +0200
-@@ -61,16 +61,7 @@
- 
- $(CONFIGURE): aclocal.m4
- 	autoconf
--	./configure \
--		--prefix=/ \
--		--exec-prefix=/ \
--		--sbindir=/bin \
--		--bindir=/usr/bin \
--		--libdir=/lib \
--		--libexecdir=/usr/lib \
--		--includedir=/usr/include \
--		--mandir=/usr/share/man \
--		--datadir=/usr/share \
-+	./configure @configure_args@ \
- 		$$LOCAL_CONFIGURE_OPTIONS
- 	touch .census
- 
diff --git a/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch b/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
new file mode 100644
index 000000000000..852a9626e2d2
--- /dev/null
+++ b/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
@@ -0,0 +1,26 @@
+From: https://gitweb.gentoo.org/repo/gentoo.git/tree/net-fs/nfs4-acl-tools/files/nfs4-acl-tools-0.3.5-jobserver-unavailable.patch
+
+Fix
+
+*      gmake[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
+
+--- a/include/buildmacros
++++ b/include/buildmacros
+@@ -152,7 +152,7 @@ INSTALL_LINGUAS = \
+ endif
+ 
+ SUBDIRS_MAKERULE = \
+-	@for d in $(SUBDIRS) ""; do \
++	@+for d in $(SUBDIRS) ""; do \
+ 		if test -d "$$d" -a ! -z "$$d"; then \
+ 			$(ECHO) === $$d ===; \
+ 			$(MAKEF) -C $$d $@ || exit $$?; \
+@@ -170,7 +170,7 @@ DIST_MAKERULE = \
+ 	$(MAKEF) -C build dist
+ 
+ SOURCE_MAKERULE = \
+-	@test -z "$$DIR" && DIR="."; \
++	@+test -z "$$DIR" && DIR="."; \
+ 	for f in $(SRCFILES) ""; do \
+ 	    if test ! -z "$$f"; then $(ECHO) $$DIR/$$f; fi;\
+ 	done; \
diff --git a/srcpkgs/nfs4-acl-tools/patches/libtool.patch b/srcpkgs/nfs4-acl-tools/patches/libtool.patch
new file mode 100644
index 000000000000..c32d46af6ef0
--- /dev/null
+++ b/srcpkgs/nfs4-acl-tools/patches/libtool.patch
@@ -0,0 +1,72 @@
+From 2abd5015bf6bac1697ac4422d76fa121a49f2b24 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Fri, 17 Jun 2022 12:36:01 -0700
+Subject: [PATCH] configure: Add missing LT_INIT
+
+Otherwise it fails to generate libtool for the build breaking the build
+when using a different toolchain than the system libtool. It also breaks
+the build with rlibtool which depends on the generated libtool to
+determine if it should build static or shared libraries.
+
+The existing make and libtool tests were removed as unnecessary and
+problematic.
+--- a/configure.ac
++++ b/configure.ac
+@@ -9,6 +9,9 @@ AC_ARG_ENABLE(shared,
+ 			     enable_shared=no)
+ AC_SUBST(enable_shared)
+ 
++LT_INIT
++
++AC_PROG_LIBTOOL
+ AC_PROG_INSTALL
+ AC_PROG_CC
+ 
+--- a/include/builddefs.in
++++ b/include/builddefs.in
+@@ -39,6 +39,8 @@ DEBUG = @debug_build@
+ OPTIMIZER = @opt_build@
+ MALLOCLIB = @malloc_lib@
+ 
++top_builddir = $(TOPDIR)
++
+ LIBNFS4ACL = $(TOPDIR)/libnfs4acl/libnfs4acl.la
+ LIBATTR = @libattr@
+ 
+@@ -68,7 +70,6 @@ AWK		= @awk@
+ SED		= @sed@
+ TAR		= @tar@
+ ZIP		= @zip@
+-MAKE		= @make@
+ ECHO		= @echo@
+ SORT		= @sort@
+ LN_S		= @LN_S@
+--- a/m4/package_utilies.m4
++++ b/m4/package_utilies.m4
+@@ -22,26 +22,6 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
+     AC_SUBST(cc)
+     AC_PACKAGE_NEED_UTILITY($1, "$cc", cc, [C compiler])
+ 
+-    if test -z "$MAKE"; then
+-        AC_PATH_PROG(MAKE, gmake,, /usr/bin:/usr/freeware/bin)
+-    fi
+-    if test -z "$MAKE"; then
+-        AC_PATH_PROG(MAKE, make,, /usr/bin)
+-    fi
+-    make=$MAKE
+-    AC_SUBST(make)
+-    AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make])
+-
+-    if test -z "$LIBTOOL"; then
+-	AC_PATH_PROG(LIBTOOL, glibtool,, /usr/bin)
+-    fi
+-    if test -z "$LIBTOOL"; then
+-	AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
+-    fi
+-    libtool=$LIBTOOL
+-    AC_SUBST(libtool)
+-    AC_PACKAGE_NEED_UTILITY($1, "$libtool", libtool, [GNU libtool])
+-
+     if test -z "$TAR"; then
+         AC_PATH_PROG(TAR, tar,, /usr/freeware/bin:/bin:/usr/local/bin:/usr/bin)
+     fi
diff --git a/srcpkgs/nfs4-acl-tools/template b/srcpkgs/nfs4-acl-tools/template
index defeeccdfbfc..d2a8453402cf 100644
--- a/srcpkgs/nfs4-acl-tools/template
+++ b/srcpkgs/nfs4-acl-tools/template
@@ -3,8 +3,6 @@ pkgname=nfs4-acl-tools
 version=0.3.7
 revision=1
 build_style=gnu-configure
-configure_args="ac_cv_path_LIBTOOL='/usr/bin/libtool --tag=CC'
- ac_cv_func_malloc_0_nonnull=yes"
 hostmakedepends="automake autoconf libtool"
 makedepends="attr-devel"
 short_desc="Client tools for manipulating NFSv4 ACLs directly"
@@ -13,14 +11,18 @@ license="BSD-3-Clause, LGPL-2.1-or-later, GPL-2.0-only"
 homepage="http://linux-nfs.org/wiki/index.php/Main_Page"
 distfiles="http://linux-nfs.org/~bfields/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=1b929f15b7b8d1701a416a0888df61a2a173b50eeaa9fed4f28543ffe8989503
-disable_parallel_build=yes
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi
 
-do_configure() {
-	sed -i "s;@configure_args@;$(echo $configure_args | paste);" Makefile
+pre_configure() {
+	cp /usr/share/autoconf/build-aux/{config.guess,config.sub} "${wrksrc}"
+	autoreconf -ifv
+}
+
+pre_install() {
+	export CHOWNPROG=: CHGRPPROG=: # Don't try to chown/chgrp as we build as non-root
 }
 
 post_install() {

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (61 preceding siblings ...)
  2022-08-21 17:07 ` motorto
@ 2022-08-21 17:34 ` motorto
  2022-09-10 13:52 ` paper42
                   ` (2 subsequent siblings)
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-08-21 17:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that.


### Packages blocking this PR to be merged:

- portaudio @ericonr (you being the maintainer could you help here ?)
- tpm2-tss


Packages failing that were failing already (will not fix)

- ctags (patch fails to apply ...) #38597 
- davfs2 (fixed in dd5000ae0e651956977c9280142fd45678df6916)
- gamin (patch fails to apply, fixed in 643353ee640c320645c7946adb8c9862dcbdef61) 
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). fixed in fee715adc214d07b022f25881b8840bc8494fe69
- libcryptui (fixed in 26e2d9fbdc2ff2d644f141cce4d48d22921694b0, also fixed for autoconf 2.71 in this PR)
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr (fixed in 580473cab7f407c005080c4accf98316e5a45e60)
- pdsh ( tests fail)
- pgadmin3 (package removed in e5860d61e94d3e37c824378bdb4971dc54eaec16)
- rng-tools
- tcpflow
- transcode
- xnec2c (#38696)

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap
- gnome-latex
- libcryptui
- nfs4-acl-tools

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 4bb9057a156c8dfca13d26f74d0ecc95e42adc67 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/36] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From a841d880f8cd45ae247d682915faf68d1d3529b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/36] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From ac52c036bd86f29b244eeda7099b971cc0a1273f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/36] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From fb2c08c5a8d18a148db70120f903379cf2fc412c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/36] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From a6e4ab7360fd9305e2d1b1866dc2df90df8bc6b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/36] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 9c7d58758103cbc0fd124dffee6f2b94a8b0816b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/36] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 7c5b2a7873f5a0359ed3d7ee945a275030b025e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/36] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 1ad0b00e9a7ab9094af526d2f57eae21856ff628 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/36] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 9b2eff9e7d914fc949467da1ce4116f473389788 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/36] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From 884c782b37f0ef73ac4f2693e4e4c7039c239ae5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/36] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From c9ab74c121627c8fc248e16d391534231b39b906 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/36] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From d9f6178b7f7d710c898bdf60bf7cf9813f4ceae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/36] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From d13abce9fa5f420a6ae5ae8be51938d97748fd84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/36] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 1af4fa9624a12ea717773fc4982e0b9f3683ac88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/36] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From 8d48712aededc450f726c77aac826133873a5130 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:59 +0100
Subject: [PATCH 15/36] libunique1: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libunique1/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template
index f73931b0c72b..0ac287925885 100644
--- a/srcpkgs/libunique1/template
+++ b/srcpkgs/libunique1/template
@@ -6,7 +6,7 @@ wrksrc="libunique-${version}"
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --disable-dbus"
-hostmakedepends="libtool automake pkg-config glib-devel"
+hostmakedepends="libtool automake pkg-config glib-devel gtk-doc"
 makedepends="libSM-devel gtk+-devel"
 short_desc="Library for writing single instance applications (GTK+2)"
 maintainer="Orphaned <orphan@voidlinux.org>"

From bbd094ffecf423ecd524566ecffdf56b4be70955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 16/36] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 2a26b5cf40f00dae0c7a44574080924e2c9af6c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 17/36] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From 56550503fdc73c1f30ed4d25e40ba0509f8f1188 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 18/36] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 9eccc51e4ab3de75cf7abab21c9b0ccc7cfc614f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 19/36] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 972b2de19cc757e2427425b05e8304d44a1cfb4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 20/36] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From 91871a12b804ecbad833af4926e88531a491b490 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 21/36] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 8fe456a1d43e..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,8 +4,8 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
-makedepends="dbus-glib-devel gtk+3-devel polkit-devel libunique1-devel"
+hostmakedepends="pkg-config intltool"
+makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 5cd2b5388e6fbc3a53d641394fe5fa668413f71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 22/36] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From a0aecd5bf18039d6d3d1d11d186828af9de4bf68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 23/36] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 027bd6b883e36b9b37610734b65723938cd01526 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 24/36] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 4706f499ae1ebced38ad94cc7804c6f0f20f6c4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 25/36] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From d7eb44b781c206e5062c6fc777f1d72a79672544 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 26/36] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 1e8f9720f73c215da415a29921e85effede3b7d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 27/36] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From b0968fccc88bd1a030e5e9e8ed140933ed1d715d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 28/36] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From 228d7e0412e81548809b8b541881fa0eca90ed57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 29/36] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From 68cd52b3d4c0f5f593dfb33ed0bb8207ca941526 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 30/36] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From e080443fbe57d1bad53fe3dd003416a1158a3b88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 31/36] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

From ef8fb29ffa5dc6a931651ba52b06e09ad644f535 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:21:02 +0100
Subject: [PATCH 32/36] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..78f151370e39 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -8,7 +8,7 @@ configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
  automake libtool gettext-devel-tools glib-devel
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"
 depends="hicolor-icon-theme gnupg"

From 86ebd79b20d1e5abb929e54a1ceb340d710a354a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 16 Aug 2022 10:08:32 +0100
Subject: [PATCH 33/36] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..6cb4695c9f94 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -7,7 +7,7 @@ build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
 hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"
 short_desc="LaTeX editor for the GNOME desktop"

From 238cce7e46e95316952246d8428926f20ff8374c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Fri, 19 Aug 2022 18:46:52 +0100
Subject: [PATCH 34/36] lxsession: add missing dependency

---
 srcpkgs/lxsession/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 6f3d8e22480b..d1ef33061d9b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,7 +4,7 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool vala"
 makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"

From 8d56155b505fec3b12b5cbdbf88a293ce48fc74c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 21 Aug 2022 18:04:28 +0100
Subject: [PATCH 35/36] nfs4-acl-tools: Fix build with autoconf-2.7.1.

Added two new patches from gentoo:

- jobserver-unavailable.patch: makes possible to build with -jX (instead of 1
  only)
- libtool.patch: Fixes cross build
---
 srcpkgs/nfs4-acl-tools/patches/Makefile.patch | 20 ------
 .../patches/jobserver-unavailable.patch       | 26 +++++++
 srcpkgs/nfs4-acl-tools/patches/libtool.patch  | 72 +++++++++++++++++++
 srcpkgs/nfs4-acl-tools/template               | 12 ++--
 4 files changed, 105 insertions(+), 25 deletions(-)
 delete mode 100644 srcpkgs/nfs4-acl-tools/patches/Makefile.patch
 create mode 100644 srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
 create mode 100644 srcpkgs/nfs4-acl-tools/patches/libtool.patch

diff --git a/srcpkgs/nfs4-acl-tools/patches/Makefile.patch b/srcpkgs/nfs4-acl-tools/patches/Makefile.patch
deleted file mode 100644
index e41aaf8e0a5e..000000000000
--- a/srcpkgs/nfs4-acl-tools/patches/Makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/Makefile	2018-08-21 18:07:51.000000000 +0200
-+++ b/Makefile.new	2018-10-02 11:16:49.335221638 +0200
-@@ -61,16 +61,7 @@
- 
- $(CONFIGURE): aclocal.m4
- 	autoconf
--	./configure \
--		--prefix=/ \
--		--exec-prefix=/ \
--		--sbindir=/bin \
--		--bindir=/usr/bin \
--		--libdir=/lib \
--		--libexecdir=/usr/lib \
--		--includedir=/usr/include \
--		--mandir=/usr/share/man \
--		--datadir=/usr/share \
-+	./configure @configure_args@ \
- 		$$LOCAL_CONFIGURE_OPTIONS
- 	touch .census
- 
diff --git a/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch b/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
new file mode 100644
index 000000000000..852a9626e2d2
--- /dev/null
+++ b/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
@@ -0,0 +1,26 @@
+From: https://gitweb.gentoo.org/repo/gentoo.git/tree/net-fs/nfs4-acl-tools/files/nfs4-acl-tools-0.3.5-jobserver-unavailable.patch
+
+Fix
+
+*      gmake[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
+
+--- a/include/buildmacros
++++ b/include/buildmacros
+@@ -152,7 +152,7 @@ INSTALL_LINGUAS = \
+ endif
+ 
+ SUBDIRS_MAKERULE = \
+-	@for d in $(SUBDIRS) ""; do \
++	@+for d in $(SUBDIRS) ""; do \
+ 		if test -d "$$d" -a ! -z "$$d"; then \
+ 			$(ECHO) === $$d ===; \
+ 			$(MAKEF) -C $$d $@ || exit $$?; \
+@@ -170,7 +170,7 @@ DIST_MAKERULE = \
+ 	$(MAKEF) -C build dist
+ 
+ SOURCE_MAKERULE = \
+-	@test -z "$$DIR" && DIR="."; \
++	@+test -z "$$DIR" && DIR="."; \
+ 	for f in $(SRCFILES) ""; do \
+ 	    if test ! -z "$$f"; then $(ECHO) $$DIR/$$f; fi;\
+ 	done; \
diff --git a/srcpkgs/nfs4-acl-tools/patches/libtool.patch b/srcpkgs/nfs4-acl-tools/patches/libtool.patch
new file mode 100644
index 000000000000..c32d46af6ef0
--- /dev/null
+++ b/srcpkgs/nfs4-acl-tools/patches/libtool.patch
@@ -0,0 +1,72 @@
+From 2abd5015bf6bac1697ac4422d76fa121a49f2b24 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Fri, 17 Jun 2022 12:36:01 -0700
+Subject: [PATCH] configure: Add missing LT_INIT
+
+Otherwise it fails to generate libtool for the build breaking the build
+when using a different toolchain than the system libtool. It also breaks
+the build with rlibtool which depends on the generated libtool to
+determine if it should build static or shared libraries.
+
+The existing make and libtool tests were removed as unnecessary and
+problematic.
+--- a/configure.ac
++++ b/configure.ac
+@@ -9,6 +9,9 @@ AC_ARG_ENABLE(shared,
+ 			     enable_shared=no)
+ AC_SUBST(enable_shared)
+ 
++LT_INIT
++
++AC_PROG_LIBTOOL
+ AC_PROG_INSTALL
+ AC_PROG_CC
+ 
+--- a/include/builddefs.in
++++ b/include/builddefs.in
+@@ -39,6 +39,8 @@ DEBUG = @debug_build@
+ OPTIMIZER = @opt_build@
+ MALLOCLIB = @malloc_lib@
+ 
++top_builddir = $(TOPDIR)
++
+ LIBNFS4ACL = $(TOPDIR)/libnfs4acl/libnfs4acl.la
+ LIBATTR = @libattr@
+ 
+@@ -68,7 +70,6 @@ AWK		= @awk@
+ SED		= @sed@
+ TAR		= @tar@
+ ZIP		= @zip@
+-MAKE		= @make@
+ ECHO		= @echo@
+ SORT		= @sort@
+ LN_S		= @LN_S@
+--- a/m4/package_utilies.m4
++++ b/m4/package_utilies.m4
+@@ -22,26 +22,6 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
+     AC_SUBST(cc)
+     AC_PACKAGE_NEED_UTILITY($1, "$cc", cc, [C compiler])
+ 
+-    if test -z "$MAKE"; then
+-        AC_PATH_PROG(MAKE, gmake,, /usr/bin:/usr/freeware/bin)
+-    fi
+-    if test -z "$MAKE"; then
+-        AC_PATH_PROG(MAKE, make,, /usr/bin)
+-    fi
+-    make=$MAKE
+-    AC_SUBST(make)
+-    AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make])
+-
+-    if test -z "$LIBTOOL"; then
+-	AC_PATH_PROG(LIBTOOL, glibtool,, /usr/bin)
+-    fi
+-    if test -z "$LIBTOOL"; then
+-	AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
+-    fi
+-    libtool=$LIBTOOL
+-    AC_SUBST(libtool)
+-    AC_PACKAGE_NEED_UTILITY($1, "$libtool", libtool, [GNU libtool])
+-
+     if test -z "$TAR"; then
+         AC_PATH_PROG(TAR, tar,, /usr/freeware/bin:/bin:/usr/local/bin:/usr/bin)
+     fi
diff --git a/srcpkgs/nfs4-acl-tools/template b/srcpkgs/nfs4-acl-tools/template
index defeeccdfbfc..d2a8453402cf 100644
--- a/srcpkgs/nfs4-acl-tools/template
+++ b/srcpkgs/nfs4-acl-tools/template
@@ -3,8 +3,6 @@ pkgname=nfs4-acl-tools
 version=0.3.7
 revision=1
 build_style=gnu-configure
-configure_args="ac_cv_path_LIBTOOL='/usr/bin/libtool --tag=CC'
- ac_cv_func_malloc_0_nonnull=yes"
 hostmakedepends="automake autoconf libtool"
 makedepends="attr-devel"
 short_desc="Client tools for manipulating NFSv4 ACLs directly"
@@ -13,14 +11,18 @@ license="BSD-3-Clause, LGPL-2.1-or-later, GPL-2.0-only"
 homepage="http://linux-nfs.org/wiki/index.php/Main_Page"
 distfiles="http://linux-nfs.org/~bfields/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=1b929f15b7b8d1701a416a0888df61a2a173b50eeaa9fed4f28543ffe8989503
-disable_parallel_build=yes
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi
 
-do_configure() {
-	sed -i "s;@configure_args@;$(echo $configure_args | paste);" Makefile
+pre_configure() {
+	cp /usr/share/autoconf/build-aux/{config.guess,config.sub} "${wrksrc}"
+	autoreconf -ifv
+}
+
+pre_install() {
+	export CHOWNPROG=: CHGRPPROG=: # Don't try to chown/chgrp as we build as non-root
 }
 
 post_install() {

From c7ce575871890e2ac1378260482c5f5b765ef562 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 21 Aug 2022 18:34:05 +0100
Subject: [PATCH 36/36] portaudio:  Fix build with autoconf-2.7.1.

---
 srcpkgs/portaudio/template | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/srcpkgs/portaudio/template b/srcpkgs/portaudio/template
index 7032f8da9d41..68ce32b934eb 100644
--- a/srcpkgs/portaudio/template
+++ b/srcpkgs/portaudio/template
@@ -5,7 +5,7 @@ revision=6
 wrksrc=portaudio
 build_style=gnu-configure
 configure_args="--enable-cxx --with-jack $(vopt_enable sndio)"
-hostmakedepends="automake libtool pkg-config"
+hostmakedepends="pkg-config"
 makedepends="alsa-lib-devel jack-devel $(vopt_if sndio sndio-devel)"
 short_desc="Portable cross-platform audio I/O library"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -19,18 +19,6 @@ disable_parallel_build=yes
 build_options="sndio"
 build_options_default=""
 
-pre_configure() {
-	# depcomp is required when building the bindings/cpp extension
-	# but will be removed by autoreconf + libtool >= 2.4.6
-	# Protect it from removal
-	mv depcomp{,~}
-
-	autoreconf -fi
-
-	# Restore depcomp
-	mv depcomp{~,}
-}
-
 post_install() {
 	vlicense LICENSE.txt
 }

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

* Re: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (62 preceding siblings ...)
  2022-08-21 17:34 ` motorto
@ 2022-09-10 13:52 ` paper42
  2022-09-10 19:33 ` [PR PATCH] [Updated] " motorto
  2022-09-13 20:17 ` [PR PATCH] [Merged]: " paper42
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-09-10 13:52 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38412#issuecomment-1242733935

Comment:
@motorto please resolve conflicts

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

* Re: [PR PATCH] [Updated] autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (63 preceding siblings ...)
  2022-09-10 13:52 ` paper42
@ 2022-09-10 19:33 ` motorto
  2022-09-13 20:17 ` [PR PATCH] [Merged]: " paper42
  65 siblings, 0 replies; 67+ messages in thread
From: motorto @ 2022-09-10 19:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/motorto/void-packages autoconf-2.71
https://github.com/void-linux/void-packages/pull/38412

autoconf: update to 2.71.
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that.

Packages failing that were failing already (will not fix)

- ctags (patch fails to apply ...) #38597 
- davfs2 (fixed in dd5000ae0e651956977c9280142fd45678df6916)
- gamin (patch fails to apply, fixed in 643353ee640c320645c7946adb8c9862dcbdef61) 
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). fixed in fee715adc214d07b022f25881b8840bc8494fe69
- libcryptui (fixed in 26e2d9fbdc2ff2d644f141cce4d48d22921694b0, also fixed for autoconf 2.71 in this PR)
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr (fixed in 580473cab7f407c005080c4accf98316e5a45e60)
- pdsh ( tests fail)
- pgadmin3 (package removed in e5860d61e94d3e37c824378bdb4971dc54eaec16)
- rng-tools
- tcpflow
- transcode
- xnec2c (#38696)

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap
- gnome-latex
- libcryptui
- nfs4-acl-tools
- portaudio

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

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

From 7ea4a682949e16739489211b5843a55cf0cc62e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:05:28 +0100
Subject: [PATCH 01/35] autoconf: update to 2.71.

---
 .../patches/fix-perl-5.22-autoscan.patch      | 27 -------------------
 srcpkgs/autoconf/template                     |  6 ++---
 2 files changed, 3 insertions(+), 30 deletions(-)
 delete mode 100644 srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch

diff --git a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch b/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
deleted file mode 100644
index 3054d22a5cf4..000000000000
--- a/srcpkgs/autoconf/patches/fix-perl-5.22-autoscan.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Tue, 29 Jan 2013 13:46:48 -0800
-Subject: [PATCH] autoscan: port to perl 5.17
-
-* bin/autoscan.in (scan_sh_file): Escape '{'.  This avoids a
-feature that is deprecated in Perl 5.17.  Reported by Ray Lauff in
-<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
----
- bin/autoscan.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/bin/autoscan.in
-+++ b/bin/autoscan.in
-@@ -358,7 +358,7 @@ sub scan_sh_file ($)
-     {
-       # Strip out comments and variable references.
-       s/#.*//;
--      s/\${[^\}]*}//g;
-+      s/\$\{[^\}]*}//g;
-       s/@[^@]*@//g;
- 
-       # Tokens in the code.
--- 
-2.1.0
-
-
diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template
index 260e8c753f07..72ff5aceb16e 100644
--- a/srcpkgs/autoconf/template
+++ b/srcpkgs/autoconf/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf'
 pkgname=autoconf
-version=2.69
-revision=9
+version=2.71
+revision=1
 build_style=gnu-configure
 hostmakedepends="perl m4 help2man"
 depends="virtual?awk m4 perl"
@@ -10,7 +10,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-or-later, GPL-3.0-or-later"
 homepage="http://www.gnu.org/software/autoconf"
 distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
-checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
+checksum=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
 
 pre_check() {
 	# Disable failing test by adding

From d9a94594a5c7c15679ddf5113a34c4cc95bcf9c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 1 Aug 2022 18:11:18 +0100
Subject: [PATCH 02/35] autoconf-archive: update to 2022.02.11.

---
 srcpkgs/autoconf-archive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/autoconf-archive/template b/srcpkgs/autoconf-archive/template
index 1edf5d96f775..fe34f02787dd 100644
--- a/srcpkgs/autoconf-archive/template
+++ b/srcpkgs/autoconf-archive/template
@@ -1,7 +1,7 @@
 # Template file for 'autoconf-archive'
 pkgname=autoconf-archive
-version=2019.01.06
-revision=2
+version=2022.02.11
+revision=1
 build_style=gnu-configure
 hostmakedepends="texinfo"
 depends="autoconf"
@@ -10,4 +10,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/autoconf-archive/"
 distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
-checksum=17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f
+checksum=78a61b611e2eeb55a89e0398e0ce387bcaf57fe2dd53c6fe427130f777ad1e8c

From dba4bdf094d9a32ce69eeb374bdf474c112f9f38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:52:51 +0100
Subject: [PATCH 03/35] clutter: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/clutter/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template
index 461e2fe07978..d49446154207 100644
--- a/srcpkgs/clutter/template
+++ b/srcpkgs/clutter/template
@@ -8,7 +8,7 @@ configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-i
  --enable-wayland-backend --enable-egl-backend --enable-wayland-compositor
  --enable-gdk-backend"
 hostmakedepends="automake libtool pkg-config intltool glib-devel
- gettext-devel"
+ gettext-devel gtk-doc"
 makedepends="atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
  libgudev-devel libxkbcommon-devel cogl-devel libinput-devel libevdev-devel
  eudev-libudev-devel gtk+3-devel"

From 8c585b304c785804a402a8b4c1c03a69515ce59a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:53:48 +0100
Subject: [PATCH 04/35] cogl: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/cogl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template
index 43c282b85e84..987bdc4ba112 100644
--- a/srcpkgs/cogl/template
+++ b/srcpkgs/cogl/template
@@ -9,7 +9,7 @@ configure_args="--enable-cairo=yes --enable-cogl-pango=yes
  --enable-wayland-egl-platform --enable-wayland-egl-server
  $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
- glib-devel gobject-introspection"
+ glib-devel gobject-introspection gtk-doc"
 makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
  gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel libXdamage-devel"
 short_desc="Library for using 3D graphics hardware for rendering"

From b83c9a50c381e9064df4fbf3f33b5bcaad4a973c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:54:46 +0100
Subject: [PATCH 05/35] gupnp-dlna: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-dlna/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-dlna/template b/srcpkgs/gupnp-dlna/template
index d88090126ee3..7f3a62ebd782 100644
--- a/srcpkgs/gupnp-dlna/template
+++ b/srcpkgs/gupnp-dlna/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake libtool pkg-config $(vopt_if vala vala)"
+hostmakedepends="automake libtool pkg-config $(vopt_if vala vala) gtk-doc"
 makedepends="gst-plugins-base1-devel libxml2-devel $(vopt_if vala vala)"
 short_desc="GUPnP DLNA"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 0c3cf141646fd7d5789a8ba27f82441d26b66e0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:55:16 +0100
Subject: [PATCH 06/35] gupnp-igd: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gupnp-igd/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template
index 314a36472b85..17a80d67b9a0 100644
--- a/srcpkgs/gupnp-igd/template
+++ b/srcpkgs/gupnp-igd/template
@@ -5,7 +5,7 @@ revision=3
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-python --disable-static $(vopt_enable gir introspection)"
-hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection"
+hostmakedepends="automake pkg-config glib-devel libtool gobject-introspection gtk-doc"
 makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
 short_desc="Library to handle UPnP IGD port mapping"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 27a0f72a91d6409e2ef2678505a4f899281b6a4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:13 +0100
Subject: [PATCH 07/35] libcanberra: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcanberra/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template
index de049b68e088..89467130e825 100644
--- a/srcpkgs/libcanberra/template
+++ b/srcpkgs/libcanberra/template
@@ -5,7 +5,7 @@ revision=11
 build_style=gnu-configure
 configure_args="--enable-alsa --enable-null --disable-lynx
  --enable-gstreamer --disable-oss --with-builtin=dso"
-hostmakedepends="automake libtool gettext-devel pkg-config intltool"
+hostmakedepends="automake libtool gettext-devel pkg-config intltool gtk-doc"
 makedepends="
  gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
  gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel

From 0e1390eb8b30d72704a28f33fc11957d6c9434e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:56:48 +0100
Subject: [PATCH 08/35] libdbusmenu-glib: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libdbusmenu-glib/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template
index 9945baa250d8..eddfaa109cf0 100644
--- a/srcpkgs/libdbusmenu-glib/template
+++ b/srcpkgs/libdbusmenu-glib/template
@@ -8,7 +8,7 @@ build_helper="gir"
 configure_args="--disable-dumper --disable-static --disable-tests
  $(vopt_enable gir vala) $(vopt_enable gir introspection) HAVE_VALGRIND_FALSE=''"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool pkg-config
- $(vopt_if gir 'gobject-introspection vala-devel')"
+ $(vopt_if gir 'gobject-introspection vala-devel') gtk-doc"
 makedepends="gtk+3-devel"
 short_desc="Library for passing menus over DBus"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"

From 9f303f5a44bd55d4f456c3984e6c77431a2e533e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:01 +0100
Subject: [PATCH 09/35] libfm: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libfm/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libfm/template b/srcpkgs/libfm/template
index be9425847037..a66bc51b5ed2 100644
--- a/srcpkgs/libfm/template
+++ b/srcpkgs/libfm/template
@@ -8,7 +8,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-udisks --disable-static --with-gtk=3"
 hostmakedepends="automake gettext-devel glib-devel intltool libtool
- pkg-config vala-devel"
+ pkg-config vala-devel gtk-doc"
 makedepends="dbus-glib-devel gtk+3-devel libexif-devel menu-cache-devel"
 depends="libfm-extra>=${version}"
 short_desc="Core library of PCManFM file manager"

From eaf819ff1eeccc3836b37633a1e7237e83255612 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:16 +0100
Subject: [PATCH 10/35] libglade: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libglade/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template
index f9bbef8cfbe3..e72c1b898939 100644
--- a/srcpkgs/libglade/template
+++ b/srcpkgs/libglade/template
@@ -4,7 +4,7 @@ version=2.6.4
 revision=12
 build_style=gnu-configure
 configure_args="--disable-static --without-xml-catalog"
-hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel"
+hostmakedepends="automake pkg-config libtool python glib-devel gtk+-devel gtk-doc"
 makedepends="libxml2-devel gtk+-devel xmlcatmgr"
 depends="xmlcatmgr"
 short_desc="Runtime interpreter for GLADE GUI files"

From 369463ba18bee413464530b97037a28ae9c2f968 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:33 +0100
Subject: [PATCH 11/35] libgpod: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgpod/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template
index 8e547f1f9ebd..2fe5fa4da108 100644
--- a/srcpkgs/libgpod/template
+++ b/srcpkgs/libgpod/template
@@ -4,7 +4,7 @@ version=0.8.3
 revision=4
 build_style=gnu-configure
 configure_args="--with-udev-dir=/usr/lib/udev --enable-udev"
-hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool"
+hostmakedepends="intltool pkg-config automake gettext-devel glib-devel libtool gtk-doc"
 makedepends="gdk-pixbuf-devel libimobiledevice-devel sg3_utils-devel sqlite-devel"
 short_desc="Shared library to access the contents of an iPod"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 3a567a407ee265b7ac91643692ae58853dfc1643 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:57:52 +0100
Subject: [PATCH 12/35] libgsf: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libgsf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libgsf/template b/srcpkgs/libgsf/template
index e032d7543547..4c3caab06ba8 100644
--- a/srcpkgs/libgsf/template
+++ b/srcpkgs/libgsf/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static --enable-introspection"
-hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
+hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config gtk-doc"
 makedepends="gdk-pixbuf-devel libxml2-devel"
 checkdepends="perl-XML-Parser unzip"
 short_desc="Structured File Library"

From 05286a0ec82befd3d470577b67a5bec896f9c5f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:11 +0100
Subject: [PATCH 13/35] libidn2: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libidn2/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libidn2/template b/srcpkgs/libidn2/template
index e7f490959388..3777a1baebcd 100644
--- a/srcpkgs/libidn2/template
+++ b/srcpkgs/libidn2/template
@@ -3,7 +3,7 @@ pkgname=libidn2
 version=2.3.2
 revision=1
 build_style=gnu-configure
-hostmakedepends="automake gettext-devel libtool pkg-config"
+hostmakedepends="automake gettext-devel libtool pkg-config gtk-doc"
 makedepends="libunistring-devel"
 short_desc="Internationalized string handling library"
 maintainer="Enno Boland <gottox@voidlinux.org>"

From 83cd14272f9fcc386a126f5642dffe15aba28298 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:58:34 +0100
Subject: [PATCH 14/35] libu2f: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libu2f-host/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template
index c2cd5b754dca..b912493060db 100644
--- a/srcpkgs/libu2f-host/template
+++ b/srcpkgs/libu2f-host/template
@@ -5,7 +5,7 @@ revision=5
 wrksrc="${pkgname}-${pkgname}-${version}"
 build_style=gnu-configure
 configure_args="--with-openssl=yes"
-hostmakedepends="automake gengetopt libtool pkg-config"
+hostmakedepends="automake gengetopt libtool pkg-config gtk-doc"
 makedepends="hidapi-devel json-c-devel openssl-devel"
 depends="libfido2"
 short_desc="C library and tool that implements the host-side of the U2F protocol"

From d967706b5fa7ae4b442139fd6ec733a126cd7afc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:13 +0100
Subject: [PATCH 15/35] mash: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/mash/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/mash/template b/srcpkgs/mash/template
index 722ee0dd981e..26e7c8777186 100644
--- a/srcpkgs/mash/template
+++ b/srcpkgs/mash/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake glib-devel intltool libtool pkg-config
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="clutter-devel"
 depends="clutter>=1.18"
 short_desc="Small library for using 3D models within a Clutter scene"

From 3238fb21fae9046f1c5e28f21472834aaccdccb0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:27 +0100
Subject: [PATCH 16/35] rest: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/rest/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rest/template b/srcpkgs/rest/template
index 94314aa9d7b1..aa4299c8ffd3 100644
--- a/srcpkgs/rest/template
+++ b/srcpkgs/rest/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="$(vopt_enable gir introspection) --disable-static
  --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"
-hostmakedepends="automake perl m4 libtool pkg-config glib-devel"
+hostmakedepends="automake perl m4 libtool pkg-config glib-devel gtk-doc"
 makedepends="libglib-devel libsoup-gnome-devel libxml2-devel"
 depends="ca-certificates"
 short_desc="RESTful library"

From a8fdeb61800a5eb86463808aa6d19ae1719a0b1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 00:59:45 +0100
Subject: [PATCH 17/35] ykneomgr: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/ykneomgr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/ykneomgr/template b/srcpkgs/ykneomgr/template
index 5278e36965d3..d0e4c82f3307 100644
--- a/srcpkgs/ykneomgr/template
+++ b/srcpkgs/ykneomgr/template
@@ -4,7 +4,7 @@ version=0.1.8
 revision=4
 wrksrc="libykneomgr-${version}"
 build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config gengetopt help2man"
+hostmakedepends="automake libtool pkg-config gengetopt help2man gtk-doc"
 makedepends="pcsclite-devel libzip-devel zlib-devel"
 short_desc="Yubikey NEO Manager"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 2b837216e461534f04e12db4ce2ea2e932e451db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 01:08:25 +0100
Subject: [PATCH 18/35] hunspell: add gettext-devel-tools as hostmakedepends

Make it build with autoconf-2.7.1
---
 srcpkgs/hunspell/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 929f4b1893e7..7f8a27cf54a9 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -4,7 +4,7 @@ version=1.7.0
 revision=3
 build_style=gnu-configure
 configure_args="--with-ui"
-hostmakedepends="automake bison libtool pkg-config"
+hostmakedepends="automake bison libtool pkg-config gettext-devel-tools"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"

From 93a4127d8aaa172ddd9eafb3f504e4f4a2dc6e4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 15:53:42 +0100
Subject: [PATCH 19/35] libsasl: remove unneeded patch

---
 .../cyrus-sasl-2.1.27-autotools_fixes.patch   | 35 -------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch

diff --git a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch b/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
deleted file mode 100644
index 5c751bbc8d8f..000000000000
--- a/srcpkgs/libsasl/patches/cyrus-sasl-2.1.27-autotools_fixes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: https://git.alpinelinux.org/aports/tree/main/cyrus-sasl/cyrus-sasl-2.1.27-autotools_fixes.patch
-Upstream: No
-Reason: FTBFS
-
---- cyrus-sasl-2.1.27/configure.ac
-+++ cyrus-sasl-2.1.27/configure.ac
-@@ -44,6 +44,8 @@
- 
- AC_PREREQ(2.63)
- 
-+AC_CONFIG_MACRO_DIR([config])
-+
- dnl
- dnl REMINDER: When changing the version number here, please also update
- dnl the values in win32/include/config.h and include/sasl.h as well.
---- cyrus-sasl-2.1.27/Makefile.am
-+++ cyrus-sasl-2.1.27/Makefile.am
-@@ -44,6 +44,8 @@
- #
- ################################################################
- 
-+ACLOCAL_AMFLAGS = -I config
-+
- if SASLAUTHD
- SAD = saslauthd
- else
---- cyrus-sasl-2.1.27/saslauthd/Makefile.am
-+++ cyrus-sasl-2.1.27/saslauthd/Makefile.am
-@@ -1,4 +1,6 @@
- AUTOMAKE_OPTIONS = 1.7
-+ACLOCAL_AMFLAGS = -I ../config
-+
- sbin_PROGRAMS	= saslauthd testsaslauthd
- EXTRA_PROGRAMS  = saslcache
- 

From 4f896cfe1f9d6cca855c961778e58f5e64726d54 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:00:54 +0100
Subject: [PATCH 20/35] lxsession: template work with autoconf-2.7.1

---
 srcpkgs/lxsession/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 9cb6e2cf8507..6f3d8e22480b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,7 +4,7 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool vala-devel autoconf automake glib-devel gettext-devel"
+hostmakedepends="pkg-config intltool"
 makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"
@@ -17,5 +17,4 @@ replaces="lxpolkit>=0"
 
 pre_build() {
 	rm *.stamp
-	autoreconf -fi
 }

From 2a4ed5d22cdcdbfa68fbe3e10b2a16e01d2fa317 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Wed, 10 Aug 2022 23:58:19 +0100
Subject: [PATCH 21/35] ltrace: fix template building

---
 srcpkgs/ltrace/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template
index a26e64e3c797..156bbb9e058d 100644
--- a/srcpkgs/ltrace/template
+++ b/srcpkgs/ltrace/template
@@ -25,5 +25,7 @@ pre_configure() {
 		sed -i 's/#ifndef __mips__/#if 0/' proc.c
 	fi
 
+	mkdir -p config 
 	autoreconf -fi
+
 }

From 76d44bc26a708d38a9cf986628acfdd757191179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 00:26:12 +0100
Subject: [PATCH 22/35] watchman: patch fixes build

---
 srcpkgs/watchman/patches/fix_autogen.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/watchman/patches/fix_autogen.patch

diff --git a/srcpkgs/watchman/patches/fix_autogen.patch b/srcpkgs/watchman/patches/fix_autogen.patch
new file mode 100644
index 000000000000..c9333f644fb3
--- /dev/null
+++ b/srcpkgs/watchman/patches/fix_autogen.patch
@@ -0,0 +1,13 @@
+From: https://github.com/facebook/watchman/issues/937#issuecomment-904717182
+
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -21,7 +21,7 @@ automake --add-missing --foreign
+ # should be the case provided pkg-config is installed AND the above commands
+ # have been run to prep the source tree with local set-up.
+ CHECK_PKG_CONFIG_M4='m4_ifdef([PKG_CHECK_MODULES], [errprint([ok])])'
+-if [ "x$(autoconf <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
++if [ "x$(autoconf --warnings=none <(echo "$CHECK_PKG_CONFIG_M4") 2>&1)" != "xok" ] ; then
+   echo 'pkg-config appears to be missing (not available to autoconf tools)'
+   echo 'please install the pkg-config package for your system.'
+   exit 1

From 9be44a5a5e646bc0f8064cc9c20e17560de0b99d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:14:05 +0100
Subject: [PATCH 23/35] libsrtp: fix template building

---
 srcpkgs/libsrtp/template | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/srcpkgs/libsrtp/template b/srcpkgs/libsrtp/template
index 9748ca264b16..85cd3e9004ac 100644
--- a/srcpkgs/libsrtp/template
+++ b/srcpkgs/libsrtp/template
@@ -4,7 +4,7 @@ version=2.3.0
 revision=1
 build_style=gnu-configure
 make_build_target="all shared_library"
-hostmakedepends="automake pkg-config"
+hostmakedepends="pkg-config"
 short_desc="Library implementing SRTP, the Secure Real-time Transport Protocol"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
@@ -19,10 +19,6 @@ post_install() {
 	vlicense LICENSE
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
 libsrtp-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 0ad1f18aa3b7d0595d502691d8d06703246982bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 11:32:04 +0100
Subject: [PATCH 24/35] iverilog: fix build with autoconf 2.71

---
 ...e-scripts-to-work-with-autoconf-2.70.patch | 307 ++++++++++++++++++
 1 file changed, 307 insertions(+)
 create mode 100644 srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch

diff --git a/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
new file mode 100644
index 000000000000..b35a6da65935
--- /dev/null
+++ b/srcpkgs/iverilog/patches/0001-Fix-configure-scripts-to-work-with-autoconf-2.70.patch
@@ -0,0 +1,307 @@
+From 4b3e1099e5517333dd690ba948bce1236466a395 Mon Sep 17 00:00:00 2001
+From: Martin Whitaker <icarus@martin-whitaker.me.uk>
+Date: Fri, 1 Jan 2021 18:42:01 +0000
+Subject: Fix configure scripts to work with autoconf 2.70.
+
+Numerous deprecated features have now become obsolete. Mostly done by
+running autoupdate, but that left a few fixes to be done manually.
+
+This includes the latest version of AX_PROG_CC_FOR_BUILD from
+https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+---
+ INSTALL                      |  5 ++--
+ Makefile.in                  |  2 +-
+ README.txt                   |  2 +-
+ aclocal.m4                   | 57 ++++++++++++++++++++++--------------
+ configure.in => configure.ac | 45 +++++++++++++---------------
+ 5 files changed, 59 insertions(+), 52 deletions(-)
+ rename configure.in => configure.ac (87%)
+
+diff --git a/INSTALL b/INSTALL
+index a2c8722c..95b40376 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -19,8 +19,8 @@ diffs or instructions to the address given in the `README' so they can
+ be considered for the next release.  If at some point `config.cache'
+ contains results you don't want to keep, you may remove or edit it.
+ 
+-   The file `configure.in' is used to create `configure' by a program
+-called `autoconf'.  You only need `configure.in' if you want to change
++   The file `configure.ac' is used to create `configure' by a program
++called `autoconf'.  You only need `configure.ac' if you want to change
+ it or regenerate `configure' using a newer version of `autoconf'.
+ 
+ The simplest way to compile this package is:
+@@ -178,4 +178,3 @@ operates.
+      script, and exit.
+ 
+ `configure' also accepts some other, not widely useful, options.
+-
+diff --git a/Makefile.in b/Makefile.in
+index 97459337..90ecadeb 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -202,7 +202,7 @@ stamp-_pli_types-h: $(srcdir)/_pli_types.h.in config.status
+ 	./config.status _pli_types.h
+ _pli_types.h: stamp-_pli_types-h
+ 
+-$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/aclocal.m4
++$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/aclocal.m4
+ 	cd $(srcdir) && autoconf
+ 
+ config.status: $(srcdir)/configure
+diff --git a/README.txt b/README.txt
+index 26533ebc..d04dab88 100644
+--- a/README.txt
++++ b/README.txt
+@@ -72,7 +72,7 @@ If you are building from git, you will also need software to generate
+ the configure scripts.
+ 
+ 	- autoconf 2.53 or later
+-	  This generates configure scripts from configure.in. The 2.53
++	  This generates configure scripts from configure.ac. The 2.53
+ 	  or later versions are known to work, autoconf 2.13 is
+ 	  reported to *not* work.
+ 
+diff --git a/aclocal.m4 b/aclocal.m4
+index 1b2dd6a1..5fcc7cbf 100644
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -6,7 +6,7 @@
+ # different builds. Remember to change the default suffix string to some
+ # value appropriate for the current version.
+ AC_DEFUN([AX_ENABLE_SUFFIX],
+-[AC_ARG_ENABLE([suffix],[AC_HELP_STRING([--enable-suffix],
++[AC_ARG_ENABLE([suffix],[AS_HELP_STRING([--enable-suffix],
+                                         [Use/set the installation command suffix])],
+                [true],[enable_suffix=no])
+ if test X$enable_suffix = Xyes; then
+@@ -250,7 +250,7 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ ]) #_AC_AM_CONFIG_HEADER_HOOK
+ 
+ # ===========================================================================
+-#   http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
++#   https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
+ # ===========================================================================
+ #
+ # SYNOPSIS
+@@ -283,31 +283,35 @@ echo "timestamp for $_config_header" > `AS_DIRNAME(["$_config_header"])`/[]$_sta
+ #   and this notice are preserved. This file is offered as-is, without any
+ #   warranty.
+ 
+-#serial 8
++#serial 18
+ 
+ AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
+ AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
+ AC_REQUIRE([AC_PROG_CC])dnl
+ AC_REQUIRE([AC_PROG_CPP])dnl
+-AC_REQUIRE([AC_EXEEXT])dnl
+-AC_REQUIRE([AC_CANONICAL_HOST])dnl
++AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ 
+ dnl Use the standard macros, but make them use other variable names
+ dnl
+ pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
++pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
+ pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
+ pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
+ pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
+ pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
++pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
+ pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
+ pushdef([ac_cv_objext], ac_cv_build_objext)dnl
+ pushdef([ac_exeext], ac_build_exeext)dnl
+ pushdef([ac_objext], ac_build_objext)dnl
+ pushdef([CC], CC_FOR_BUILD)dnl
+ pushdef([CPP], CPP_FOR_BUILD)dnl
++pushdef([GCC], GCC_FOR_BUILD)dnl
+ pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
+ pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
++pushdef([EXEEXT], BUILD_EXEEXT)dnl
+ pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
++pushdef([OBJEXT], BUILD_OBJEXT)dnl
+ pushdef([host], build)dnl
+ pushdef([host_alias], build_alias)dnl
+ pushdef([host_cpu], build_cpu)dnl
+@@ -318,27 +322,29 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl
+ pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
+ pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
+ pushdef([ac_cv_host_os], ac_cv_build_os)dnl
+-pushdef([ac_cpp], ac_build_cpp)dnl
+-pushdef([ac_compile], ac_build_compile)dnl
+-pushdef([ac_link], ac_build_link)dnl
++pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
++pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
++pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
++pushdef([cross_compiling], cross_compiling_build)dnl
+ 
+-save_cross_compiling=$cross_compiling
+-save_ac_tool_prefix=$ac_tool_prefix
+-cross_compiling=no
+-ac_tool_prefix=
++cross_compiling_build=no
+ 
++ac_build_tool_prefix=
++AS_IF([test -n "$build"],      [ac_build_tool_prefix="$build-"],
++      [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
++
++AC_LANG_PUSH([C])
+ AC_PROG_CC
++_AC_COMPILER_EXEEXT
++_AC_COMPILER_OBJEXT
+ AC_PROG_CPP
+-AC_EXEEXT
+-
+-ac_tool_prefix=$save_ac_tool_prefix
+-cross_compiling=$save_cross_compiling
+ 
+ dnl Restore the old definitions
+ dnl
+-popdef([ac_link])dnl
+-popdef([ac_compile])dnl
+-popdef([ac_cpp])dnl
++popdef([cross_compiling])dnl
++popdef([am_cv_prog_cc_c_o])dnl
++popdef([am_cv_CC_dependencies_compiler_type])dnl
++popdef([ac_tool_prefix])dnl
+ popdef([ac_cv_host_os])dnl
+ popdef([ac_cv_host_vendor])dnl
+ popdef([ac_cv_host_cpu])dnl
+@@ -349,29 +355,36 @@ popdef([host_vendor])dnl
+ popdef([host_cpu])dnl
+ popdef([host_alias])dnl
+ popdef([host])dnl
++popdef([OBJEXT])dnl
+ popdef([LDFLAGS])dnl
++popdef([EXEEXT])dnl
+ popdef([CPPFLAGS])dnl
+ popdef([CFLAGS])dnl
++popdef([GCC])dnl
+ popdef([CPP])dnl
+ popdef([CC])dnl
+ popdef([ac_objext])dnl
+ popdef([ac_exeext])dnl
+ popdef([ac_cv_objext])dnl
+ popdef([ac_cv_exeext])dnl
++popdef([ac_cv_c_compiler_gnu])dnl
+ popdef([ac_cv_prog_cc_g])dnl
+ popdef([ac_cv_prog_cc_cross])dnl
+ popdef([ac_cv_prog_cc_works])dnl
++popdef([ac_cv_prog_cc_c89])dnl
+ popdef([ac_cv_prog_gcc])dnl
+ popdef([ac_cv_prog_CPP])dnl
+ 
++dnl restore global variables ac_ext, ac_cpp, ac_compile,
++dnl ac_link, ac_compiler_gnu (dependant on the current
++dnl language after popping):
++AC_LANG_POP([C])
++
+ dnl Finally, set Makefile variables
+ dnl
+-BUILD_EXEEXT=$ac_build_exeext
+-BUILD_OBJEXT=$ac_build_objext
+ AC_SUBST(BUILD_EXEEXT)dnl
+ AC_SUBST(BUILD_OBJEXT)dnl
+ AC_SUBST([CFLAGS_FOR_BUILD])dnl
+ AC_SUBST([CPPFLAGS_FOR_BUILD])dnl
+ AC_SUBST([LDFLAGS_FOR_BUILD])dnl
+ ])
+-
+diff --git a/configure.in b/configure.ac
+similarity index 87%
+rename from configure.in
+rename to configure.ac
+index 83e0fe50..8913fb74 100644
+--- a/configure.in
++++ b/configure.ac
+@@ -1,21 +1,19 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(netlist.h)
+-AC_CONFIG_HEADER(config.h)
+-AC_CONFIG_HEADER(_pli_types.h)
+-AC_CONFIG_HEADER(vhdlpp/vhdlpp_config.h)
+-AC_CONFIG_HEADER(vvp/config.h)
+-AC_CONFIG_HEADER(vpi/vpi_config.h)
+-AC_CONFIG_HEADER(libveriuser/config.h)
+-AC_CONFIG_HEADER(tgt-vvp/vvp_config.h)
+-AC_CONFIG_HEADER(tgt-vhdl/vhdl_config.h)
+-AC_CONFIG_HEADER(tgt-pcb/pcb_config.h)
++AC_INIT
++AC_CONFIG_SRCDIR([netlist.h])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([_pli_types.h])
++AC_CONFIG_HEADERS([vhdlpp/vhdlpp_config.h])
++AC_CONFIG_HEADERS([vvp/config.h])
++AC_CONFIG_HEADERS([vpi/vpi_config.h])
++AC_CONFIG_HEADERS([libveriuser/config.h])
++AC_CONFIG_HEADERS([tgt-vvp/vvp_config.h])
++AC_CONFIG_HEADERS([tgt-vhdl/vhdl_config.h])
++AC_CONFIG_HEADERS([tgt-pcb/pcb_config.h])
+ 
+ AC_CANONICAL_HOST
+ dnl Checks for programs.
+ AC_PROG_CC
+-# AC_PROG_CC_C99 is only available in autoconf version 2.60 and later.
+-AC_PREREQ([2.60])
+-AC_PROG_CC_C99
+ AC_PROG_CXX
+ AC_PROG_RANLIB
+ AC_CHECK_TOOL(LD, ld, false)
+@@ -92,7 +90,7 @@ fi
+ 
+ AC_LANG(C++)
+ 
+-AC_ARG_WITH([m32], [AC_HELP_STRING([--with-m32], [Compile 32-bit on x86_64])],
++AC_ARG_WITH([m32], [AS_HELP_STRING([--with-m32],[Compile 32-bit on x86_64])],
+             [ with_m32=yes ],[ with_m32=no ])
+ 
+ AS_IF( [test "x$with_m32" = xyes],
+@@ -170,8 +168,7 @@ AC_FUNC_ALLOCA
+ AC_FUNC_FSEEKO
+ 
+ # valgrind checks
+-AC_ARG_WITH([valgrind], [AC_HELP_STRING([--with-valgrind],
+-                                        [Add valgrind hooks])],
++AC_ARG_WITH([valgrind], [AS_HELP_STRING([--with-valgrind],[Add valgrind hooks])],
+             [], [check_valgrind=yes])
+ 
+ AS_IF([test "x$check_valgrind" = xyes],
+@@ -182,14 +179,11 @@ AS_IF([test "x$check_valgrind" = xyes],
+                        [AC_MSG_ERROR([Could not find <valgrind/memcheck.h>])])])
+ 
+ AC_MSG_CHECKING(for sys/times)
+-AC_TRY_LINK(
+-#include <unistd.h>
++AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
+ #include <sys/times.h>
+-,{clock_t a = times(0)/sysconf(_SC_CLK_TCK);},
+-do_times=yes
+-AC_DEFINE([HAVE_TIMES], [1], [The times system call is available in the host operating system.]),
+-do_times=no
+-)
++]], [[{clock_t a = times(0)/sysconf(_SC_CLK_TCK);}]])],[do_times=yes
++AC_DEFINE(HAVE_TIMES, 1, The times system call is available in the host operating system.)],[do_times=no
++])
+ AC_MSG_RESULT($do_times)
+ 
+ # --
+@@ -262,7 +256,7 @@ AC_CHECK_FUNCS(fopen64)
+ # The following math functions may be defined in the math library so look
+ # in the default libraries first and then look in -lm for them. On some
+ # systems we may need to use the compiler in C99 mode to get a definition.
+-# We requested C99 mode earlier with AC_PROG_CC_C99.
++# Modern versions of autoconf will enable C99 if it is available.
+ AC_SEARCH_LIBS([lround], [m], [AC_DEFINE([HAVE_LROUND], [1])])
+ AC_SEARCH_LIBS([llround], [m], [AC_DEFINE([HAVE_LLROUND], [1])])
+ AC_SEARCH_LIBS([nan], [m], [AC_DEFINE([HAVE_NAN], [1])])
+@@ -337,4 +331,5 @@ AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
+ fi
+ AC_MSG_RESULT(ok)
+ AX_PROG_CC_FOR_BUILD
+-AC_OUTPUT(Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile)
++AC_CONFIG_FILES([Makefile ivlpp/Makefile vhdlpp/Makefile vvp/Makefile vpi/Makefile driver/Makefile driver-vpi/Makefile cadpli/Makefile libveriuser/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-vvp/Makefile tgt-vhdl/Makefile tgt-fpga/Makefile tgt-verilog/Makefile tgt-pal/Makefile tgt-vlog95/Makefile tgt-pcb/Makefile tgt-blif/Makefile tgt-sizer/Makefile])
++AC_OUTPUT
+-- 
+2.20.1
+

From cd8d20a6a4f3c6a34fec98f17b9bc1f8860b7a00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:38:46 +0100
Subject: [PATCH 25/35] openldap: fix template building

---
 srcpkgs/openldap/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/openldap/template b/srcpkgs/openldap/template
index a0d96aaca218..a8ba40d111c9 100644
--- a/srcpkgs/openldap/template
+++ b/srcpkgs/openldap/template
@@ -13,7 +13,7 @@ configure_args="--prefix=/usr
  --enable-syslog --enable-slapd --enable-crypt --enable-spasswd
  --enable-bdb --enable-hdb --enable-overlays=mod --enable-meta=mod
  --disable-static --with-yielding_select=yes --enable-modules"
-hostmakedepends="pkg-config groff automake libtool"
+hostmakedepends="pkg-config groff"
 makedepends="openssl-devel libsasl-devel db-devel libltdl-devel"
 depends="openldap-tools>=${version}_${revision}"
 conf_files="/etc/openldap/ldap.conf /etc/openldap/slapd.conf"
@@ -31,7 +31,6 @@ pre_configure() {
 	sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h
 	sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif}
 	sed -i 's|-$(MKDIR) $(DESTDIR)$(localstatedir)/run|-$(MKDIR) $(DESTDIR)/run/openldap|' servers/slapd/Makefile.in
-	aclocal; autoconf; autoheader; libtoolize -f
 }
 post_install() {
 	ln -sf ../libexec/slapd ${DESTDIR}/usr/bin/slapd

From 1ee618bdb6d7204a72b88c1873bbef2d3cb68f89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 12:41:32 +0100
Subject: [PATCH 26/35] geany: fix template building

---
 srcpkgs/geany/template | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/srcpkgs/geany/template b/srcpkgs/geany/template
index be726f7817a4..aee031b26414 100644
--- a/srcpkgs/geany/template
+++ b/srcpkgs/geany/template
@@ -4,8 +4,7 @@ version=1.38
 revision=1
 build_style=gnu-configure
 configure_args="--enable-vte --enable-gtk3"
-hostmakedepends="automake gettext-devel glib-devel libtool pkg-config intltool
- python3"
+hostmakedepends="pkg-config libtool intltool"
 makedepends="gtk+3-devel"
 depends="hicolor-icon-theme desktop-file-utils"
 short_desc="Fast and lightweight IDE"
@@ -17,10 +16,6 @@ distfiles="https://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
 checksum=abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546
 python_version=3
 
-pre_configure() {
-	autoreconf -fi
-}
-
 geany-devel_package() {
 	depends="libglib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - Development files"

From 0cb551afc5cba5641cf80389d8fa6bdc934a1353 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 15:02:50 +0100
Subject: [PATCH 27/35] pilot-link: add patch autoconf2.71

---
 .../pilot-link/patches/autoconf-2.71.patch    | 162 ++++++++++++++++++
 1 file changed, 162 insertions(+)
 create mode 100644 srcpkgs/pilot-link/patches/autoconf-2.71.patch

diff --git a/srcpkgs/pilot-link/patches/autoconf-2.71.patch b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
new file mode 100644
index 000000000000..d01f34c6dc6b
--- /dev/null
+++ b/srcpkgs/pilot-link/patches/autoconf-2.71.patch
@@ -0,0 +1,162 @@
+From d2c7d22bdfb28144ccdea99ae8298605a619ead6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 14:58:50 +0100
+Subject: [PATCH 1/1] autoconf2.71
+
+---
+ configure.ac | 77 +++++++++-------------------------------------------
+ 1 file changed, 13 insertions(+), 64 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc19311..727a4a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -16,8 +16,8 @@ dnl ******************************
+ dnl Limit to a specific ac version
+ dnl ******************************
+ AC_PREREQ(2.53)
+-AM_CONFIG_HEADER(config.h)
+-AM_CONFIG_HEADER(include/pi-md5.h)
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_HEADERS([include/pi-md5.h])
+ 
+ dnl ******************************
+ dnl Pilot Link Version
+@@ -62,14 +62,6 @@ AC_SUBST(PISYNC_AGE)
+ 
+ dnl Eat -Werror so configure will run properly, if the user provided it
+ enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+ 
+ dnl Check host type
+ AC_CANONICAL_HOST
+@@ -89,14 +81,6 @@ AM_PROG_LIBTOOL
+ AC_PROG_YACC
+ 
+ 
+-dnl ******************************
+-dnl Defaults for GCC
+-dnl ******************************
+-if test "x$GCC" = "xyes"; then
+-	CFLAGS=${CFLAGS:-"-g2 -Wall"}
+-fi
+-
+-
+ dnl ******************************
+ dnl Platform-specific things
+ dnl ******************************
+@@ -351,7 +335,7 @@ AC_ARG_WITH(bluez,
+ 		AC_HELP_STRING([--with-bluez],
+ 			[Enable use of BlueZ]),
+ 		[use_bluez="$withval"])
+-if test "$use_bluez" != "no" ; then
++AS_IF([test "$use_bluez" != "no"], [
+ 	PKG_CHECK_MODULES([BLUEZ],[bluez],[
+ 		have_bluez=yes
+ 		use_bluez=yes
+@@ -367,7 +351,7 @@ if test "$use_bluez" != "no" ; then
+ 			have_bluez=no
+ 		])
+ 	])
+-fi
++])
+ 
+ if test "$use_bluez" = "yes" ; then
+ 	AC_DEFINE([HAVE_BLUEZ],[1],[Define if we build with BlueZ])
+@@ -387,20 +371,11 @@ AC_ARG_WITH(included-popt,
+ 		[with_included_popt="auto"]
+ )
+ 
+-if test "x$enable_conduits" != "xno"; then
+-	if test "x$with_included_popt" != "xyes"; then
+-		dnl Determine if system popt is good enough
+-		save_LIBS="$LIBS"
+-		AC_CHECK_HEADER(popt.h,
+-			AC_CHECK_DECL(POPT_BIT_SET,
+-				AC_CHECK_LIB(popt, poptStrippedArgv,,
+-					[with_included_popt="yes"]),
+-				[with_included_popt="yes"],
+-				[#include <popt.h>]),
+-			[with_included_popt="yes"]
+-		)
+-		LIBS="$save_LIBS"
+-	fi
++AS_IF([test "x$enable_conduits" != "xno"], [
++	AS_IF([test "x$with_included_popt" != "xyes"], [
++		PKG_CHECK_MODULES([POPT], [popt])
++		POPT_INCLUDES="${POPT_CFLAGS}"
++	])
+ 
+ 	AC_MSG_CHECKING(whether to use included popt)
+ 	if test "x$with_included_popt" = "xyes"; then
+@@ -413,14 +388,13 @@ if test "x$enable_conduits" != "xno"; then
+ 		msg_popt="yes (system)"
+ 	    POPT_LIBS="-lpopt"
+ 	fi
+-else
++], [
+ 	with_included_popt="no"
+ 	msg_popt="none"
+ 	POPT_LIBS=
+ 	POPT_INCLUDES=
+-fi
++])
+ AM_CONDITIONAL(INCLUDED_POPT, test "x$with_included_popt" = "xyes")
+-AC_SUBST(POPT_LIBS)
+ AC_SUBST(POPT_INCLUDES)
+ 
+ 
+@@ -667,31 +641,6 @@ if test "x$with_efence" != "xno"; then
+ fi
+ 
+ 
+-dnl *************************************
+-dnl Runtime debugging
+-dnl *************************************
+-set_debug=yes
+-AC_ARG_ENABLE(debug,
+-	      [  --disable-debug         Shunt runtime debugging],
+-	      [set_debug=no])
+-
+-if test "${enable_debug+set}" = set; then
+-	if test "$enable_debug" = yes; then
+-		CFLAGS="-g $CFLAGS"
+-		set_debug=yes
+-	fi
+-fi
+-
+-echo -n "Runtime debugging is "
+-if test "$set_debug" = "yes"; then
+-	echo "enabled"
+-	AC_DEFINE(PI_DEBUG, 1, [Define if we have debugging enabled])
+-else
+-	echo "disabled"
+-	CFLAGS=`echo "$CFLAGS" | sed -e "s/-g //"`
+-fi
+-
+-
+ dnl *************************************
+ dnl Profiling information
+ dnl *************************************
+@@ -740,9 +689,9 @@ AC_ARG_ENABLE(compile-warnings,
+ 
+ if test "$GCC" = "yes" -a "$set_compile_warnings" != "no"; then
+ 	CFLAGS="$CFLAGS \
+-		-std=gnu99 -g -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
++		-std=gnu99 -Wshadow -Wall -W -Waggregate-return -Wcast-align 	\
+ 		-Wcast-qual -Wnested-externs -Wpointer-arith -Wundef -Winline	\
+-		-Wbad-function-cast -pedantic -O0"
++		-Wbad-function-cast -pedantic"
+ 
+ fi
+ 
+-- 
+2.37.1
+

From dcc098df972799faaf35673974c1436e7b319453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Thu, 11 Aug 2022 16:47:26 +0100
Subject: [PATCH 28/35] openjdk7-bootstrap: autoconf2.7.1 patch

---
 .../patches/autoconf2.7.patch                 | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch

diff --git a/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
new file mode 100644
index 000000000000..1dc4f34ee001
--- /dev/null
+++ b/srcpkgs/openjdk7-bootstrap/patches/autoconf2.7.patch
@@ -0,0 +1,43 @@
+From 55d55c0e4998cfe621c8584518c0d7e300dfce3b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
+Date: Thu, 11 Aug 2022 15:45:13 +0100
+Subject: [PATCH 1/1] autoconf-2.7.1
+
+---
+ autogen.sh | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 8537f67..18078e2 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -11,7 +11,7 @@ for AUTOCONF in autoconf autoconf259; do
+         AUTOCONF_VERSION=`${AUTOCONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOCONF_VERSION}
+         case ${AUTOCONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOCONF=true
+                 break;
+                 ;;
+@@ -28,7 +28,7 @@ for AUTOHEADER in autoheader autoheader259; do
+         AUTOHEADER_VERSION=`${AUTOHEADER} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTOHEADER_VERSION}
+         case ${AUTOHEADER_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTOHEADER=true
+                 break;
+                 ;;
+@@ -45,7 +45,7 @@ for AUTORECONF in autoreconf; do
+         AUTORECONF_VERSION=`${AUTORECONF} --version | head -1 | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ #        echo ${AUTORECONF_VERSION}
+         case ${AUTORECONF_VERSION} in
+-            2.59* | 2.6[0-9]* )
++            2.59* | 2.6[0-9]* | 2.7[0-9]* )
+                 HAVE_AUTORECONF=true
+                 break;
+                 ;;
+-- 
+2.37.1
+

From 05b6c8c2bd2964a3606a8ccdd1710623c3847bab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:07:47 +0100
Subject: [PATCH 29/35] farstream: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/farstream/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template
index 3c6d77347cb7..e93c7a0c23bb 100644
--- a/srcpkgs/farstream/template
+++ b/srcpkgs/farstream/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 build_helper="gir"
 configure_args="--disable-valgrind --disable-static $(vopt_enable gir introspection)"
 hostmakedepends="automake libtool gettext pkg-config intltool
- glib-devel $(vopt_if gir gobject-introspection)"
+ glib-devel $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gupnp-igd-devel libnice-devel gst-plugins-base1-devel"
 depends="gst-plugins-good1 gst-plugins-bad1"
 checkdepends="$depends"

From 5efe2d1d439fd950b3cfc0494ef30ef5fb42b2dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:12:50 +0100
Subject: [PATCH 30/35] gloobus-preview: fix build with autoconf 2.71

---
 srcpkgs/gloobus-preview/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/gloobus-preview/template b/srcpkgs/gloobus-preview/template
index 96b57be75226..28dd6f126490 100644
--- a/srcpkgs/gloobus-preview/template
+++ b/srcpkgs/gloobus-preview/template
@@ -23,5 +23,6 @@ if [ -z "$CROSS_BUILD" ]; then
 fi
 
 pre_configure() {
+	vsed -i '/ACX_PTHREAD()/d' configure.ac
 	autoreconf -fi
 }

From 122d34a451eb4b5d349cb62258ce55c0810853b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 15 Aug 2022 22:21:02 +0100
Subject: [PATCH 31/35] libcryptui: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/libcryptui/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libcryptui/template b/srcpkgs/libcryptui/template
index b1bbeee440ca..78f151370e39 100644
--- a/srcpkgs/libcryptui/template
+++ b/srcpkgs/libcryptui/template
@@ -8,7 +8,7 @@ configure_args="--disable-static --disable-update-mime-database
  --disable-schemas-compile $(vopt_enable gir introspection)"
 hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
  automake libtool gettext-devel-tools glib-devel
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
  libnotify-devel gcr-devel"
 depends="hicolor-icon-theme gnupg"

From 7b92ee1bfe71d8296a1504e5964459709e646543 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 16 Aug 2022 10:08:32 +0100
Subject: [PATCH 32/35] gnome-latex: add gtk-doc to hostmakedepends

https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html
---
 srcpkgs/gnome-latex/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template
index 7e00a38a07c2..6cb4695c9f94 100644
--- a/srcpkgs/gnome-latex/template
+++ b/srcpkgs/gnome-latex/template
@@ -7,7 +7,7 @@ build_style=gnu-configure
 configure_args="--disable-appstream-util --disable-dconf-migration
  $(vopt_enable gir introspection)"
 hostmakedepends="glib-devel intltool itstool pkg-config vala yelp
- $(vopt_if gir gobject-introspection)"
+ $(vopt_if gir gobject-introspection) gtk-doc"
 makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
  gtk+3-devel libgee08-devel libglib-devel tepl-devel"
 short_desc="LaTeX editor for the GNOME desktop"

From a12d03031e21a72316c4d003de89d58d3972aa5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Fri, 19 Aug 2022 18:46:52 +0100
Subject: [PATCH 33/35] lxsession: add missing dependency

---
 srcpkgs/lxsession/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template
index 6f3d8e22480b..d1ef33061d9b 100644
--- a/srcpkgs/lxsession/template
+++ b/srcpkgs/lxsession/template
@@ -4,7 +4,7 @@ version=0.5.5
 revision=1
 build_style=gnu-configure
 configure_args="--enable-buildin-clipboard --enable-buildin-polkit --enable-gtk3"
-hostmakedepends="pkg-config intltool"
+hostmakedepends="pkg-config intltool vala"
 makedepends="dbus-glib-devel gtk+3-devel polkit-devel"
 depends="hicolor-icon-theme"
 short_desc="LXDE X11 Session Manager"

From b7c77aa1fd0b250cc14c307a6c56c31ff65608a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 21 Aug 2022 18:04:28 +0100
Subject: [PATCH 34/35] nfs4-acl-tools: Fix build with autoconf-2.7.1.

Added two new patches from gentoo:

- jobserver-unavailable.patch: makes possible to build with -jX (instead of 1
  only)
- libtool.patch: Fixes cross build
---
 srcpkgs/nfs4-acl-tools/patches/Makefile.patch | 20 ------
 .../patches/jobserver-unavailable.patch       | 26 +++++++
 srcpkgs/nfs4-acl-tools/patches/libtool.patch  | 72 +++++++++++++++++++
 srcpkgs/nfs4-acl-tools/template               | 12 ++--
 4 files changed, 105 insertions(+), 25 deletions(-)
 delete mode 100644 srcpkgs/nfs4-acl-tools/patches/Makefile.patch
 create mode 100644 srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
 create mode 100644 srcpkgs/nfs4-acl-tools/patches/libtool.patch

diff --git a/srcpkgs/nfs4-acl-tools/patches/Makefile.patch b/srcpkgs/nfs4-acl-tools/patches/Makefile.patch
deleted file mode 100644
index e41aaf8e0a5e..000000000000
--- a/srcpkgs/nfs4-acl-tools/patches/Makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/Makefile	2018-08-21 18:07:51.000000000 +0200
-+++ b/Makefile.new	2018-10-02 11:16:49.335221638 +0200
-@@ -61,16 +61,7 @@
- 
- $(CONFIGURE): aclocal.m4
- 	autoconf
--	./configure \
--		--prefix=/ \
--		--exec-prefix=/ \
--		--sbindir=/bin \
--		--bindir=/usr/bin \
--		--libdir=/lib \
--		--libexecdir=/usr/lib \
--		--includedir=/usr/include \
--		--mandir=/usr/share/man \
--		--datadir=/usr/share \
-+	./configure @configure_args@ \
- 		$$LOCAL_CONFIGURE_OPTIONS
- 	touch .census
- 
diff --git a/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch b/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
new file mode 100644
index 000000000000..852a9626e2d2
--- /dev/null
+++ b/srcpkgs/nfs4-acl-tools/patches/jobserver-unavailable.patch
@@ -0,0 +1,26 @@
+From: https://gitweb.gentoo.org/repo/gentoo.git/tree/net-fs/nfs4-acl-tools/files/nfs4-acl-tools-0.3.5-jobserver-unavailable.patch
+
+Fix
+
+*      gmake[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
+
+--- a/include/buildmacros
++++ b/include/buildmacros
+@@ -152,7 +152,7 @@ INSTALL_LINGUAS = \
+ endif
+ 
+ SUBDIRS_MAKERULE = \
+-	@for d in $(SUBDIRS) ""; do \
++	@+for d in $(SUBDIRS) ""; do \
+ 		if test -d "$$d" -a ! -z "$$d"; then \
+ 			$(ECHO) === $$d ===; \
+ 			$(MAKEF) -C $$d $@ || exit $$?; \
+@@ -170,7 +170,7 @@ DIST_MAKERULE = \
+ 	$(MAKEF) -C build dist
+ 
+ SOURCE_MAKERULE = \
+-	@test -z "$$DIR" && DIR="."; \
++	@+test -z "$$DIR" && DIR="."; \
+ 	for f in $(SRCFILES) ""; do \
+ 	    if test ! -z "$$f"; then $(ECHO) $$DIR/$$f; fi;\
+ 	done; \
diff --git a/srcpkgs/nfs4-acl-tools/patches/libtool.patch b/srcpkgs/nfs4-acl-tools/patches/libtool.patch
new file mode 100644
index 000000000000..c32d46af6ef0
--- /dev/null
+++ b/srcpkgs/nfs4-acl-tools/patches/libtool.patch
@@ -0,0 +1,72 @@
+From 2abd5015bf6bac1697ac4422d76fa121a49f2b24 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Fri, 17 Jun 2022 12:36:01 -0700
+Subject: [PATCH] configure: Add missing LT_INIT
+
+Otherwise it fails to generate libtool for the build breaking the build
+when using a different toolchain than the system libtool. It also breaks
+the build with rlibtool which depends on the generated libtool to
+determine if it should build static or shared libraries.
+
+The existing make and libtool tests were removed as unnecessary and
+problematic.
+--- a/configure.ac
++++ b/configure.ac
+@@ -9,6 +9,9 @@ AC_ARG_ENABLE(shared,
+ 			     enable_shared=no)
+ AC_SUBST(enable_shared)
+ 
++LT_INIT
++
++AC_PROG_LIBTOOL
+ AC_PROG_INSTALL
+ AC_PROG_CC
+ 
+--- a/include/builddefs.in
++++ b/include/builddefs.in
+@@ -39,6 +39,8 @@ DEBUG = @debug_build@
+ OPTIMIZER = @opt_build@
+ MALLOCLIB = @malloc_lib@
+ 
++top_builddir = $(TOPDIR)
++
+ LIBNFS4ACL = $(TOPDIR)/libnfs4acl/libnfs4acl.la
+ LIBATTR = @libattr@
+ 
+@@ -68,7 +70,6 @@ AWK		= @awk@
+ SED		= @sed@
+ TAR		= @tar@
+ ZIP		= @zip@
+-MAKE		= @make@
+ ECHO		= @echo@
+ SORT		= @sort@
+ LN_S		= @LN_S@
+--- a/m4/package_utilies.m4
++++ b/m4/package_utilies.m4
+@@ -22,26 +22,6 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
+     AC_SUBST(cc)
+     AC_PACKAGE_NEED_UTILITY($1, "$cc", cc, [C compiler])
+ 
+-    if test -z "$MAKE"; then
+-        AC_PATH_PROG(MAKE, gmake,, /usr/bin:/usr/freeware/bin)
+-    fi
+-    if test -z "$MAKE"; then
+-        AC_PATH_PROG(MAKE, make,, /usr/bin)
+-    fi
+-    make=$MAKE
+-    AC_SUBST(make)
+-    AC_PACKAGE_NEED_UTILITY($1, "$make", make, [GNU make])
+-
+-    if test -z "$LIBTOOL"; then
+-	AC_PATH_PROG(LIBTOOL, glibtool,, /usr/bin)
+-    fi
+-    if test -z "$LIBTOOL"; then
+-	AC_PATH_PROG(LIBTOOL, libtool,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
+-    fi
+-    libtool=$LIBTOOL
+-    AC_SUBST(libtool)
+-    AC_PACKAGE_NEED_UTILITY($1, "$libtool", libtool, [GNU libtool])
+-
+     if test -z "$TAR"; then
+         AC_PATH_PROG(TAR, tar,, /usr/freeware/bin:/bin:/usr/local/bin:/usr/bin)
+     fi
diff --git a/srcpkgs/nfs4-acl-tools/template b/srcpkgs/nfs4-acl-tools/template
index defeeccdfbfc..d2a8453402cf 100644
--- a/srcpkgs/nfs4-acl-tools/template
+++ b/srcpkgs/nfs4-acl-tools/template
@@ -3,8 +3,6 @@ pkgname=nfs4-acl-tools
 version=0.3.7
 revision=1
 build_style=gnu-configure
-configure_args="ac_cv_path_LIBTOOL='/usr/bin/libtool --tag=CC'
- ac_cv_func_malloc_0_nonnull=yes"
 hostmakedepends="automake autoconf libtool"
 makedepends="attr-devel"
 short_desc="Client tools for manipulating NFSv4 ACLs directly"
@@ -13,14 +11,18 @@ license="BSD-3-Clause, LGPL-2.1-or-later, GPL-2.0-only"
 homepage="http://linux-nfs.org/wiki/index.php/Main_Page"
 distfiles="http://linux-nfs.org/~bfields/${pkgname}/${pkgname}-${version}.tar.gz"
 checksum=1b929f15b7b8d1701a416a0888df61a2a173b50eeaa9fed4f28543ffe8989503
-disable_parallel_build=yes
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-legacy-compat"
 fi
 
-do_configure() {
-	sed -i "s;@configure_args@;$(echo $configure_args | paste);" Makefile
+pre_configure() {
+	cp /usr/share/autoconf/build-aux/{config.guess,config.sub} "${wrksrc}"
+	autoreconf -ifv
+}
+
+pre_install() {
+	export CHOWNPROG=: CHGRPPROG=: # Don't try to chown/chgrp as we build as non-root
 }
 
 post_install() {

From 5cb343a3333a26a7e4611c309fc9a1f250cd533b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 21 Aug 2022 18:34:05 +0100
Subject: [PATCH 35/35] portaudio:  Fix build with autoconf-2.7.1.

---
 srcpkgs/portaudio/template | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/srcpkgs/portaudio/template b/srcpkgs/portaudio/template
index 7032f8da9d41..68ce32b934eb 100644
--- a/srcpkgs/portaudio/template
+++ b/srcpkgs/portaudio/template
@@ -5,7 +5,7 @@ revision=6
 wrksrc=portaudio
 build_style=gnu-configure
 configure_args="--enable-cxx --with-jack $(vopt_enable sndio)"
-hostmakedepends="automake libtool pkg-config"
+hostmakedepends="pkg-config"
 makedepends="alsa-lib-devel jack-devel $(vopt_if sndio sndio-devel)"
 short_desc="Portable cross-platform audio I/O library"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -19,18 +19,6 @@ disable_parallel_build=yes
 build_options="sndio"
 build_options_default=""
 
-pre_configure() {
-	# depcomp is required when building the bindings/cpp extension
-	# but will be removed by autoreconf + libtool >= 2.4.6
-	# Protect it from removal
-	mv depcomp{,~}
-
-	autoreconf -fi
-
-	# Restore depcomp
-	mv depcomp{~,}
-}
-
 post_install() {
 	vlicense LICENSE.txt
 }

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

* Re: [PR PATCH] [Merged]: autoconf: update to 2.71.
  2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
                   ` (64 preceding siblings ...)
  2022-09-10 19:33 ` [PR PATCH] [Updated] " motorto
@ 2022-09-13 20:17 ` paper42
  65 siblings, 0 replies; 67+ messages in thread
From: paper42 @ 2022-09-13 20:17 UTC (permalink / raw)
  To: ml

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

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

autoconf: update to 2.71.
https://github.com/void-linux/void-packages/pull/38412

Description:
[ci skip]

#### 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):
  - armv6l

I have also update autoconf-archive in this pr.

Because this is a critical package I will make sure that all package that depends on autoconf and automake still compile.

There was some changes that might need to add [gtk-doc on hostmakedepends](https://www.mail-archive.com/bug-autoconf@gnu.org/msg04872.html). Separate PRs for the packages will be created and I will reference here.

Compiled all the packages that depend on autoconf and automake `grep -ri autconf` (Yes, I know it has some false negatives).  Thanks @paper42  for that.

Packages failing that were failing already (will not fix)

- ctags (patch fails to apply ...) #38597 
- davfs2 (fixed in dd5000ae0e651956977c9280142fd45678df6916)
- gamin (patch fails to apply, fixed in 643353ee640c320645c7946adb8c9862dcbdef61) 
- gsoap (fail to fetch needs to be updated)
- kea -  fails with sphinx.errors.SphinxWarning: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English). fixed in fee715adc214d07b022f25881b8840bc8494fe69
- libcryptui (fixed in 26e2d9fbdc2ff2d644f141cce4d48d22921694b0, also fixed for autoconf 2.71 in this PR)
- libtar (patchs fail to apply)
- mod_wsgi
- pcsxr (fixed in 580473cab7f407c005080c4accf98316e5a45e60)
- pdsh ( tests fail)
- pgadmin3 (package removed in e5860d61e94d3e37c824378bdb4971dc54eaec16)
- rng-tools
- tcpflow
- transcode
- xnec2c (#38696)

Packages that the tests were failling already ~(added make_check=no)~

- clutter
- openldap
- rest
- watchman

Packages fixed on other PRS:

- bluebird-themes #38543 
- tpm2-tss #38567 
- lksctp-tools #38581 
- tigervnc #38647
- hplip #38649
- seahorse-nautilus #38650


Packages fixed in this PR:

- geany 
- hunspell
- iverilog
- libsasl - remove patch for old autoconf
- libsrtp
- ltrace
- lxsession
- pilot-link
- openjdk7-bootstrap
- gnome-latex
- libcryptui
- nfs4-acl-tools
- portaudio

Packages that need to tested by someone else (don't build on x86_64{musl,glibc})

- librtas
- libump-git
- libvpd
- lsvpd
- powerpc-utils
- sun7i-kernel
- yaboot


Packages that failed on @paper42  build but compile fine (might fail because of -j20)

- firefox - I am not trying to compile this one on my system sorry :)
- mbox - compiles fine on my system
- mozjs78 - compiles fine on my system
- mozjs91 -  compiles fine on my system
- opensc -  compiles fine on my system
- thunderbird
- tracebox - compiles fine on my system
- vlc - compiles fine on my system
- xmoto - compiles fine on my system
- gloobus-preview

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

end of thread, other threads:[~2022-09-13 20:17 UTC | newest]

Thread overview: 67+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 17:07 [PR PATCH] autoconf: update to 2.71 motorto
2022-08-01 17:08 ` [PR PATCH] [Updated] " motorto
2022-08-01 17:11 ` motorto
2022-08-01 19:36 ` motorto
2022-08-01 21:14 ` motorto
2022-08-01 22:04 ` paper42
2022-08-01 22:20 ` motorto
2022-08-04 21:28 ` motorto
2022-08-04 22:05 ` paper42
2022-08-04 22:18 ` motorto
2022-08-07 20:06 ` [PR PATCH] [Updated] " motorto
2022-08-08  0:02 ` motorto
2022-08-09  0:00 ` motorto
2022-08-09  0:09 ` motorto
2022-08-09 11:54 ` motorto
2022-08-09 11:57 ` motorto
2022-08-09 13:56 ` motorto
2022-08-09 22:02 ` motorto
2022-08-10 10:55 ` motorto
2022-08-10 23:26 ` [PR PATCH] [Updated] " motorto
2022-08-11 10:15 ` motorto
2022-08-11 10:32 ` motorto
2022-08-11 10:51 ` motorto
2022-08-11 10:59 ` motorto
2022-08-11 11:38 ` motorto
2022-08-11 11:59 ` motorto
2022-08-11 12:02 ` motorto
2022-08-11 14:03 ` motorto
2022-08-11 14:14 ` motorto
2022-08-11 15:47 ` motorto
2022-08-11 16:02 ` motorto
2022-08-11 16:05 ` motorto
2022-08-12 23:13 ` paper42
2022-08-12 23:14 ` [PR REVIEW] " paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-12 23:27 ` paper42
2022-08-13 11:55 ` [PR PATCH] [Updated] " motorto
2022-08-13 11:58 ` [PR REVIEW] " motorto
2022-08-13 12:00 ` [PR PATCH] [Updated] " motorto
2022-08-13 12:09 ` [PR REVIEW] " motorto
2022-08-13 13:11 ` motorto
2022-08-13 14:31 ` motorto
2022-08-13 21:03 ` [PR PATCH] [Updated] " motorto
2022-08-15 20:38 ` [PR REVIEW] " paper42
2022-08-15 20:42 ` paper42
2022-08-15 20:50 ` paper42
2022-08-15 20:59 ` [PR REVIEW] " motorto
2022-08-15 21:08 ` [PR PATCH] [Updated] " motorto
2022-08-15 21:13 ` motorto
2022-08-15 21:21 ` motorto
2022-08-16  9:09 ` motorto
2022-08-19 17:47 ` motorto
2022-08-20 12:13 ` motorto
2022-08-20 22:03 ` motorto
2022-08-21 17:07 ` motorto
2022-08-21 17:34 ` motorto
2022-09-10 13:52 ` paper42
2022-09-10 19:33 ` [PR PATCH] [Updated] " motorto
2022-09-13 20:17 ` [PR PATCH] [Merged]: " paper42

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