diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-21 11:38:39 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-21 11:39:56 +0100 |
commit | 22dff458b1cc86f8d0efbf744616220aaf6e46d9 (patch) | |
tree | d436311080e9ab33d8d5c4204936353461b45ba4 /net-misc/whois/files | |
parent | dev-python/case: version bump to 1.5.3 (diff) | |
download | gentoo-22dff458b1cc86f8d0efbf744616220aaf6e46d9.tar.gz gentoo-22dff458b1cc86f8d0efbf744616220aaf6e46d9.tar.bz2 gentoo-22dff458b1cc86f8d0efbf744616220aaf6e46d9.zip |
net-misc/whois: Bump to version 5.3.0
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'net-misc/whois/files')
-rw-r--r-- | net-misc/whois/files/whois-5.3.0-libidn_automagic.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/whois/files/whois-5.3.0-libidn_automagic.patch b/net-misc/whois/files/whois-5.3.0-libidn_automagic.patch new file mode 100644 index 000000000000..4e01eb5668e2 --- /dev/null +++ b/net-misc/whois/files/whois-5.3.0-libidn_automagic.patch @@ -0,0 +1,23 @@ +We don't want libidn(2) being detected automagically. +Partially reverting upstream stupidity. + +--- whois-5.3.0/Makefile ++++ whois-5.3.0/Makefile +@@ -33,17 +33,9 @@ + DEFS += -DLOCALEDIR=\"$(BASEDIR)$(prefix)/share/locale\" + endif + +-# libidn support has been autodetected since 5.2.18 + ifdef HAVE_LIBIDN +-$(error Please fix your build system to stop defining HAVE_LIBIDN!) +-endif +- +-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) +-else ifeq ($(shell $(PKG_CONFIG) --exists 'libidn' || echo NO),) +-whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn) +-DEFS += -DHAVE_LIBIDN $(shell $(PKG_CONFIG) --cflags libidn) + endif + + ifdef HAVE_ICONV |