packages/libs/gnutls/patches/020-dont-install-m4-files.patch
John Audia e305f1bcb9 gnutls: Update to 3.7.4
Bump to latest upstream release.  Rebased existing patches.

This version introduces certificate compression support, and with that,
optional dependencies on zlib and zstd. When configure picks them up,
build will fail due to missing dependencies:

Package libgnutls is missing dependencies for the following libraries:
libz.so.1
libzstd.so.1

Disable zlib and zstd support to avoid that.

Signed-off-by: John Audia <graysky@archlinux.us>
[disable zlib and zstd]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-03-30 06:18:45 -04:00

25 lines
990 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Eneas U de Queiroz <cote2004-github@yahoo.com>
Date: Mon, 25 Oct 2021 08:49:21 -0300
Subject: Do not install m4 files
Do not use --install when calling aclocal. That flag instructs aclocal to
copy third-party files to the first -I directory. The intention here is to
copy files to the package build dir (m4). However, our toolchain prepends
the build-system's m4 dir to the list, causing the --install flag to
install an older version to the buildsystem m4 dir, causing failures in
other packages.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
--- a/Makefile.am
+++ b/Makefile.am
@@ -57,7 +57,7 @@ if ENABLE_DOC
SUBDIRS += doc
endif
-ACLOCAL_AMFLAGS = -I m4 -I src/gl/m4 -I lib/unistring/m4 --install
+ACLOCAL_AMFLAGS = -I m4 -I src/gl/m4 -I lib/unistring/m4
EXTRA_DIST = cfg.mk maint.mk CONTRIBUTING.md README.md LICENSE AUTHORS NEWS \
ChangeLog THANKS INSTALL.md RELEASES.md .mailmap