Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package memkind for openSUSE:Factory checked in at 2022-06-23 12:49:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/memkind (Old) and /work/SRC/openSUSE:Factory/.memkind.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "memkind" Thu Jun 23 12:49:32 2022 rev:11 rq:984698 version:1.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/memkind/memkind.changes 2021-12-22 20:18:33.475860868 +0100 +++ /work/SRC/openSUSE:Factory/.memkind.new.1548/memkind.changes 2022-06-23 12:49:33.652842459 +0200 @@ -1,0 +2,6 @@ +Thu Jun 23 09:52:48 UTC 2022 - Michael Matz <m...@suse.com> + +- Add memkind-dont-redefine-fortify.diff to not redefine + _FORTIFY_SOURCE if already included in CFLAGS. + +------------------------------------------------------------------- New: ---- memkind-dont-redefine-fortify.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ memkind.spec ++++++ --- /var/tmp/diff_new_pack.vTMMdU/_old 2022-06-23 12:49:34.204842817 +0200 +++ /var/tmp/diff_new_pack.vTMMdU/_new 2022-06-23 12:49:34.208842820 +0200 @@ -1,7 +1,7 @@ # # spec file for package memkind # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,6 +50,7 @@ %{!?buildsubdir: %define buildsubdir %{namespace}-%{commit}} Source0: https://github.com/%{namespace}/%{namespace}/archive/v%{commit}/%{buildsubdir}.tar.gz Patch0: memkind-fix-build.diff +Patch1: memkind-dont-redefine-fortify.diff %description The memkind library is an user extensible heap manager built on top @@ -85,6 +86,7 @@ %prep %setup -q -n memkind-%{version} %patch0 +%patch1 %build ++++++ memkind-dont-redefine-fortify.diff ++++++ --- configure.ac.mm 2022-06-23 11:48:44.233079355 +0200 +++ configure.ac 2022-06-23 11:50:42.223101729 +0200 @@ -142,6 +142,9 @@ if test "x$enable_secure" = "x1" ; then if test "$CFLAGS" != "${CFLAGS%-O0*}" ; then # if CFLAGS contains -O0 echo "WARNING: Could not apply FORTIFY_SOURCE=2 due to lack of optimization (-O0)" + elif test "$CFLAGS" != "${CFLAGS%-D_FORTIFY_SOURCE*}"; then + # CFLAGS already has FORTIFY_SOURCE, don't redefine + : else CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" #FORTITFY_SOURCE does not work with -O0 (ex. if enable_debug=1 or enable_gcov=1) fi