From: Marcin Krol Date: Tue, 9 Sep 2025 20:51:36 +0000 (+0200) Subject: - updated to 3.10.4, fix build with GCC 15 X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;ds=inline;p=packages%2Fpostfix.git - updated to 3.10.4, fix build with GCC 15 --- 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}"