From 213187a8cef559d828f07da3a78bc52007ca8cf0 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 9 Sep 2025 22:51:36 +0200 Subject: [PATCH] - updated to 3.10.4, fix build with GCC 15 --- postfix.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postfix.spec b/postfix.spec index 68bf508..3311f1d 100644 --- a/postfix.spec +++ b/postfix.spec @@ -18,13 +18,13 @@ Summary(pl.UTF-8): Serwer SMTP Postfix Summary(pt_BR.UTF-8): Postfix - Um MTA (Mail Transport Agent) de alto desempenho Summary(sk.UTF-8): Agent prenosu pošty Postfix Name: postfix -Version: 3.10.3 +Version: 3.10.4 Release: 1 Epoch: 2 License: distributable Group: Networking/Daemons/SMTP Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz -# Source0-md5: 3bdbc20e1d4b59f4fc353a0f9f99b5d2 +# Source0-md5: c9f472fe0455eff7a8334479fb0f1154 Source1: %{name}.aliases Source2: %{name}.cron Source3: %{name}.init @@ -279,7 +279,7 @@ Plik monitrc do monitorowania serwera Postfix. %build # export, as the same variables must be passed both to 'make makefiles' and 'make' -export CCARGS="%{!?with_epoll:-DNO_EPOLL} %{?with_ldap:-DHAS_LDAP} -DHAS_PCRE %{?with_sasl:-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL -I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL} %{?with_ssl:-DUSE_TLS} -DMAX_DYNAMIC_MAPS %{?with_cdb:-DHAS_CDB} %{?with_sqlite:-DHAS_SQLITE} %{?with_lmdb:-DHAS_LMDB} -LHAS_SDBM" +export CCARGS="-std=gnu17 %{!?with_epoll:-DNO_EPOLL} %{?with_ldap:-DHAS_LDAP} -DHAS_PCRE %{?with_sasl:-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL -I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL} %{?with_ssl:-DUSE_TLS} -DMAX_DYNAMIC_MAPS %{?with_cdb:-DHAS_CDB} %{?with_sqlite:-DHAS_SQLITE} %{?with_lmdb:-DHAS_LMDB} -LHAS_SDBM" export AUXLIBS="%{rpmldflags} -lsasl -lssl -lcrypto" export AUXLIBS_CDB="%{?with_cdb:-lcdb}" export AUXLIBS_LDAP="%{?with_ldap:-lldap -llber}" -- 2.49.0