commit d842d69010ba700e73ec63ab66bd0e2cf97dbff1
Author: Jakub Bogusz <[email protected]>
Date:   Sat Oct 21 18:00:05 2023 +0200

    - updated to 5.5.19

 whois-gcc.patch          | 15 +++++++++++++++
 whois-pl.po-update.patch | 37 -------------------------------------
 whois.spec               | 10 +++++-----
 3 files changed, 20 insertions(+), 42 deletions(-)
---
diff --git a/whois.spec b/whois.spec
index a364631..8629f19 100644
--- a/whois.spec
+++ b/whois.spec
@@ -3,16 +3,16 @@ Summary(pl.UTF-8):    Rozszerzony klient WHOIS
 Summary(ru.UTF-8):     Улучшенный клиент WHOIS
 Summary(uk.UTF-8):     Покращений клієнт WHOIS
 Name:          whois
-Version:       5.5.18
-Release:       2
+Version:       5.5.19
+Release:       1
 License:       GPL v1+
 Group:         Networking/Utilities
 Source0:       
http://ftp.debian.org/debian/pool/main/w/whois/%{name}_%{version}.tar.xz
-# Source0-md5: be8aaa843a0030f656b0ac3ed945e4e6
+# Source0-md5: e719aef49e4ca3ff959fe4e18c3dd4a2
 Patch0:                %{name}-idn.patch
 Patch1:                %{name}-config.patch
 Patch2:                %{name}-mkpwdhash.patch
-Patch3:                %{name}-pl.po-update.patch
+Patch3:                %{name}-gcc.patch
 URL:           https://github.com/rfc1036/whois
 BuildRequires: gettext-tools
 BuildRequires: libidn2-devel >= 2.0.3
@@ -48,7 +48,7 @@ większosci zapytań.
 вибирати правильний whois сервер в залежності від запиту.
 
 %prep
-%setup -q
+%setup -q -n %{name}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
diff --git a/whois-gcc.patch b/whois-gcc.patch
new file mode 100644
index 0000000..728db2e
--- /dev/null
+++ b/whois-gcc.patch
@@ -0,0 +1,15 @@
+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-pl.po-update.patch b/whois-pl.po-update.patch
deleted file mode 100644
index d9da35b..0000000
--- a/whois-pl.po-update.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- whois-5.5.18/po/pl.po.orig 2023-10-05 21:33:46.034136147 +0200
-+++ whois-5.5.18/po/pl.po      2023-10-05 21:33:50.570778236 +0200
-@@ -1,14 +1,14 @@
- # Polish translation for whois.
- # Michał 'CeFeK' Nazarewicz <[email protected]>, 1999
- # Przemysław Knycz <[email protected]>, 2003
--# Jakub Bogusz <[email protected]>, 2003-2019
-+# Jakub Bogusz <[email protected]>, 2003-2023
- #
- msgid ""
- msgstr ""
--"Project-Id-Version: whois 5.5.1\n"
-+"Project-Id-Version: whois 5.5.18\n"
- "Report-Msgid-Bugs-To: \n"
- "POT-Creation-Date: 2022-01-03 17:52+0100\n"
--"PO-Revision-Date: 2019-08-28 18:02+0200\n"
-+"PO-Revision-Date: 2023-10-05 21:30+0200\n"
- "Last-Translator: Jakub Bogusz <[email protected]>\n"
- "Language-Team: Polish <[email protected]>\n"
- "Language: pl\n"
-@@ -149,7 +149,7 @@ msgstr ""
- "-H                     ukrycie oświadczeń prawnych\n"
- 
- #: ../whois.c:1506
--#, fuzzy, c-format
-+#, c-format
- msgid ""
- "      --verbose        explain what is being done\n"
- "      --no-recursion   disable recursion from registry to registrar 
servers\n"
-@@ -158,6 +158,7 @@ msgid ""
- "\n"
- msgstr ""
- "      --verbose        wyjaśnianie, co się dzieje\n"
-+"      --no-recursion   wyłączenie rekurencji z serwerów rejestru do 
rejestratorów\n"
- "      --help           wyświetlenie tego opisu i zakończenie działania\n"
- "      --version        wyświetlenie informacji o wersji i zakończenie "
- "działania\n"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/whois.git/commitdiff/d842d69010ba700e73ec63ab66bd0e2cf97dbff1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to