2025-04-11 14:45:34 +00:00
committed by Git OBS Bridge
8 changed files with 31 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 7 14:52:06 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add -std=gnu11 to CFLAGS to fix gcc15 compile time error, and to
still allow build on Leap 15.6
-------------------------------------------------------------------
Thu Sep 19 06:36:56 UTC 2024 - Angel Yankov <angel.yankov@suse.com>

View File

@@ -171,7 +171,7 @@ fi
%build
find . -name "*.cvsignore" -exec rm -fv "{}" "+"
autoreconf -f
export CFLAGS="%optflags -fno-strict-aliasing"
export CFLAGS="%optflags -fno-strict-aliasing -std=gnu11"
%configure --with-pic \
--with-plugindir=%{_libdir}/sasl2 \
--with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 7 14:52:06 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add -std=gnu11 to CFLAGS to fix gcc15 compile time error, and to
still allow build on Leap 15.6
-------------------------------------------------------------------
Tue May 7 08:26:51 UTC 2024 - Peter Varkoly <varkoly@suse.com>

View File

@@ -85,7 +85,7 @@ The SQL auxprop plugin supports PostgreSQL and MySQL
%build
find . -name "*.cvsignore" -exec rm -fv "{}" "+"
autoreconf -f
export CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS -DLDAP_DEPRECATED"
export CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS -DLDAP_DEPRECATED -std=gnu11"
%configure --with-plugindir=%{_libdir}/sasl2 \
--with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \
--with-saslauthd=/run/sasl2/ \

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 7 14:52:06 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add -std=gnu11 to CFLAGS to fix gcc15 compile time error, and to
still allow build on Leap 15.6
-------------------------------------------------------------------
Tue May 7 08:26:51 UTC 2024 - Peter Varkoly <varkoly@suse.com>

View File

@@ -85,7 +85,7 @@ The SQL auxprop plugin supports PostgreSQL and MySQL
%build
find . -name "*.cvsignore" -exec rm -fv "{}" "+"
autoreconf -f
export CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS -DLDAP_DEPRECATED"
export CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS -DLDAP_DEPRECATED -std=gnu11"
%configure --with-plugindir=%{_libdir}/sasl2 \
--with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \
--with-saslauthd=/run/sasl2/ \

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 7 14:52:06 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add -std=gnu11 to CFLAGS to fix gcc15 compile time error, and to
still allow build on Leap 15.6
-------------------------------------------------------------------
Thu Sep 19 06:36:56 UTC 2024 - Angel Yankov <angel.yankov@suse.com>

View File

@@ -182,7 +182,10 @@ fi
%build
find . -name "*.cvsignore" -exec rm -fv "{}" "+"
autoreconf -f
export CFLAGS="%optflags -fno-strict-aliasing"
## -std=gnu11 to fix gcc-15 errors
## note there exists upstream patch to fix the code but
## without changes to lib/md5.c which upstream has dropped
export CFLAGS="%optflags -fno-strict-aliasing -std=gnu11"
%configure --with-pic \
--with-plugindir=%{_libdir}/sasl2 \
--with-configdir=%{_sysconfdir}/sasl2/:%{_libdir}/sasl2 \