summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-03-11 12:03:09 +0100
committerØrjan Malde <red@foxi.me>2024-03-11 12:03:09 +0100
commit02565daa2679a520ec7124786104bec1a61a99bc (patch)
tree523dba1024f75f1cb23e0e35b5f133d9ee9e902b /patches
parent0a5c59c5d53da436614e1bfabd6f744d4e1cf339 (diff)
downloadmidipix_build-02565daa2679a520ec7124786104bec1a61a99bc.tar.bz2
midipix_build-02565daa2679a520ec7124786104bec1a61a99bc.tar.xz
groups.d/241.native_packages_inet.group: whois: bump to v5.5.21
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r--patches/whois-5.5.21.local.patch (renamed from patches/whois-5.5.20.local.patch)8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/whois-5.5.20.local.patch b/patches/whois-5.5.21.local.patch
index 0536845c..09cde92c 100644
--- a/patches/whois-5.5.20.local.patch
+++ b/patches/whois-5.5.21.local.patch
@@ -23,11 +23,11 @@ diff -ru whois-5.5.20.orig/utils.h whois-5.5.20/utils.h
-whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn)
-DEFS += -DHAVE_LIBIDN $(shell $(PKG_CONFIG) --cflags libidn)
+ifeq ($(shell ${PKG_CONFIG} --exists 'libidn2 >= 2.0.3' || echo NO),)
-+whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn2)
-+DEFS += -DHAVE_LIBIDN2 $(shell ${PKG_CONFIG} --cflags libidn2)
++whois_LDADD += $(shell ${PKG_CONFIG} --libs-only-l libidn2)
++DEFS += -DHAVE_LIBIDN2 $(shell ${PKG_CONFIG} --cflags-only-other libidn2)
+else ifeq ($(shell ${PKG_CONFIG} --exists 'libidn' || echo NO),)
-+whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn)
-+DEFS += -DHAVE_LIBIDN $(shell ${PKG_CONFIG} --cflags libidn)
++whois_LDADD += $(shell ${PKG_CONFIG} --libs-only-l libidn)
++DEFS += -DHAVE_LIBIDN $(shell ${PKG_CONFIG} --cflags-only-other libidn)
endif
ifdef HAVE_ICONV