[packages/inn] - fixed build with asserts disabled (-DNDEBUG); release 5
qboosh
qboosh at pld-linux.org
Fri Apr 11 19:09:48 CEST 2025
commit a418a37d65834ce3ef364757ee523263863ba12f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Apr 11 18:49:21 2025 +0200
- fixed build with asserts disabled (-DNDEBUG); release 5
inn-NDEBUG.patch | 11 +++++++++++
inn.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/inn.spec b/inn.spec
index 273d7c3..1238c6d 100644
--- a/inn.spec
+++ b/inn.spec
@@ -13,7 +13,7 @@ Summary(pt_BR.UTF-8): INN, InterNet News System (servidor news)
Summary(tr.UTF-8): INN, InterNet Haber Sistemi (haber sunucu)
Name: inn
Version: 2.7.2
-Release: 4
+Release: 5
License: distributable
Group: Networking/Daemons
Source0: ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
@@ -34,6 +34,7 @@ Patch3: %{name}-setgid.patch
Patch4: %{name}-config.patch
Patch5: %{name}-asneeded.patch
Patch6: %{name}-nnrpd_no_trace.patch
+Patch7: %{name}-NDEBUG.patch
Patch8: %{name}-libdir.patch
URL: https://www.eyrie.org/~eagle/software/inn/
BuildRequires: autoconf >= 2.64
@@ -262,6 +263,7 @@ sunucuya makaleyi yollar.
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 6 -p1
+%patch -P 7 -p1
%patch -P 8 -p1
touch innfeed/*.[ly]
diff --git a/inn-NDEBUG.patch b/inn-NDEBUG.patch
new file mode 100644
index 0000000..5c3f755
--- /dev/null
+++ b/inn-NDEBUG.patch
@@ -0,0 +1,11 @@
+--- inn-2.7.2/innfeed/article.c.orig 2024-06-22 13:22:42.000000000 +0200
++++ inn-2.7.2/innfeed/article.c 2025-04-11 18:43:55.916225746 +0200
+@@ -36,7 +36,7 @@
+ #include "endpoint.h"
+
+ #if defined(NDEBUG)
+-# define VALIDATE_HASH_TABLE() (void(0))
++# define VALIDATE_HASH_TABLE() ((void)0)
+ #else
+ # define VALIDATE_HASH_TABLE() hashValidateTable()
+ #endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/inn.git/commitdiff/a418a37d65834ce3ef364757ee523263863ba12f
More information about the pld-cvs-commit
mailing list