From: Jakub Bogusz Date: Sun, 7 Apr 2024 18:30:37 +0000 (+0200) Subject: - updated to 5.5.22 X-Git-Tag: auto/th/whois-5.5.22-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fwhois.git;a=commitdiff_plain;h=6cc0c1b4aae87355ede8c04569088fa6fae46ad2 - updated to 5.5.22 --- diff --git a/whois-gcc.patch b/whois-gcc.patch deleted file mode 100644 index 728db2e..0000000 --- a/whois-gcc.patch +++ /dev/null @@ -1,15 +0,0 @@ -Extended malloc attributes are available since gcc 11. ---- whois/utils.h.orig 2023-10-08 22:58:33.000000000 +0200 -+++ whois/utils.h 2023-10-21 17:56:23.225691505 +0200 -@@ -17,7 +17,11 @@ - /* Portability macros */ - #ifdef __GNUC__ - # define NORETURN __attribute__((noreturn)) -+# if __GNUC__ >= 11 - # define MALLOC_FREE __attribute__((malloc(free))) -+# else -+# define MALLOC_FREE -+# endif - # define NONNULL __attribute__((returns_nonnull)) - #else - # define NORETURN diff --git a/whois.spec b/whois.spec index 8629f19..79fb520 100644 --- a/whois.spec +++ b/whois.spec @@ -3,16 +3,15 @@ Summary(pl.UTF-8): Rozszerzony klient WHOIS Summary(ru.UTF-8): Улучшенный клиент WHOIS Summary(uk.UTF-8): Покращений клієнт WHOIS Name: whois -Version: 5.5.19 +Version: 5.5.22 Release: 1 License: GPL v1+ Group: Networking/Utilities Source0: http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz -# Source0-md5: e719aef49e4ca3ff959fe4e18c3dd4a2 +# Source0-md5: 181d830358a9942dd4ad9cd82d1b1c29 Patch0: %{name}-idn.patch Patch1: %{name}-config.patch Patch2: %{name}-mkpwdhash.patch -Patch3: %{name}-gcc.patch URL: https://github.com/rfc1036/whois BuildRequires: gettext-tools BuildRequires: libidn2-devel >= 2.0.3 @@ -48,11 +47,10 @@ większosci zapytań. вибирати правильний whois сервер в залежності від запиту. %prep -%setup -q -n %{name} +%setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 # Makefile vs po/Makefile mismatch echo 'install-pos: install' >> po/Makefile