]> git.pld-linux.org Git - packages/whois.git/commitdiff
- updated to 5.5.19 auto/th/whois-5.5.19-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 21 Oct 2023 16:00:05 +0000 (18:00 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 21 Oct 2023 16:00:05 +0000 (18:00 +0200)
whois-gcc.patch [new file with mode: 0644]
whois-pl.po-update.patch [deleted file]
whois.spec

diff --git a/whois-gcc.patch b/whois-gcc.patch
new file mode 100644 (file)
index 0000000..728db2e
--- /dev/null
@@ -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 (file)
index d9da35b..0000000
+++ /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 <cefek@career.pl>, 1999
- # Przemysław Knycz <djrzulf@pld.org.pl>, 2003
--# Jakub Bogusz <qboosh@pld-linux.org>, 2003-2019
-+# Jakub Bogusz <qboosh@pld-linux.org>, 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 <qboosh@pld-linux.org>\n"
- "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\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"
index a3646311509a6db690093250bb223382ec76bc94..8629f195628ad7f4fdc5e5978d5247f4c2cab6aa 100644 (file)
@@ -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
This page took 0.11275 seconds and 4 git commands to generate.