diff options
author | Ørjan Malde <red@foxi.me> | 2024-04-09 09:53:52 +0200 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2024-04-09 09:53:52 +0200 |
commit | 9b063cc104b8ba06fbf95d67d2734beb82a5b71b (patch) | |
tree | af97e5092b0a12a57548707654d6714c38edb554 /patches/whois-5.5.22.local.patch | |
parent | c11fcbb1afc551e921032cc76821b3c7d19fc39e (diff) | |
download | midipix_build-9b063cc104b8ba06fbf95d67d2734beb82a5b71b.tar.bz2 midipix_build-9b063cc104b8ba06fbf95d67d2734beb82a5b71b.tar.xz |
groups.d/241.native_packages_inet.group: whois: bump to v5.5.22
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/whois-5.5.22.local.patch')
-rw-r--r-- | patches/whois-5.5.22.local.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/patches/whois-5.5.22.local.patch b/patches/whois-5.5.22.local.patch new file mode 100644 index 00000000..6fb35b17 --- /dev/null +++ b/patches/whois-5.5.22.local.patch @@ -0,0 +1,39 @@ +--- whois-5.5.7/Makefile.orig 2020-10-03 16:43:15.000000000 +0100 ++++ whois-5.5.7/Makefile 2021-01-23 07:55:24.889153830 +0000 +@@ -42,12 +42,12 @@ + $(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) ++ifeq ($(shell ${PKG_CONFIG} --exists 'libidn2 >= 2.0.3' || echo NO),) ++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-only-l libidn) ++DEFS += -DHAVE_LIBIDN $(shell ${PKG_CONFIG} --cflags-only-other libidn) + endif + + ifdef HAVE_ICONV +@@ -72,7 +72,7 @@ + CPPFLAGS += $(DEFS) $(INCLUDES) + + ############################################################################## +-all: Makefile.depend whois mkpasswd pos ++all: Makefile.depend whois mkpasswd + + ############################################################################## + %.o: %.c +@@ -121,7 +121,7 @@ + nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois + + ############################################################################## +-install: install-whois install-mkpasswd install-pos install-bashcomp ++install: install-whois install-mkpasswd install-bashcomp + + install-whois: whois + $(INSTALL) -d $(BASEDIR)$(prefix)/bin/ |