[packages/flowd] fix msghdr fields detection with gcc 14
atler
atler at pld-linux.org
Tue Jul 29 10:34:34 CEST 2025
commit 72d3e773b7f3282196a8bec63b3db6cd1c529db7
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jul 29 10:33:54 2025 +0200
fix msghdr fields detection with gcc 14
flowd.spec | 4 ++++
includes.patch | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)
---
diff --git a/flowd.spec b/flowd.spec
index e78c35e..e23df9b 100644
--- a/flowd.spec
+++ b/flowd.spec
@@ -13,7 +13,9 @@ Source0: http://www.mindrot.org/files/flowd/%{name}-%{version}.tar.gz
# Source0-md5: a3d0512b5e6d9c7d9e749d9894376ea4
Patch0: %{name}-username.patch
Patch1: format-error.patch
+Patch2: includes.patch
URL: http://www.mindrot.org/flowd.html
+BuildRequires: autoconf
BuildRequires: byacc
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: python-devel
@@ -104,8 +106,10 @@ sieciowych flowd.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
+%{__autoconf}
%configure
%{__make}
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..e4b57a1
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,18 @@
+--- flowd-0.9.1/configure.ac.orig 2008-07-25 02:04:17.000000000 +0200
++++ flowd-0.9.1/configure.ac 2025-07-29 10:21:18.625895673 +0200
+@@ -139,6 +139,7 @@
+ ac_cv_have_accrights_in_msghdr, [
+ AC_TRY_RUN(
+ [
++#include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/uio.h>
+@@ -163,6 +164,7 @@
+ ac_cv_have_control_in_msghdr, [
+ AC_TRY_RUN(
+ [
++#include <stdlib.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/uio.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/flowd.git/commitdiff/72d3e773b7f3282196a8bec63b3db6cd1c529db7
More information about the pld-cvs-commit
mailing list