Hello community, here is the log from the commit of package dmapi for openSUSE:Factory checked in at 2015-11-24 22:31:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dmapi (Old) and /work/SRC/openSUSE:Factory/.dmapi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dmapi" Changes: -------- --- /work/SRC/openSUSE:Factory/dmapi/dmapi.changes 2015-06-11 09:09:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dmapi.new/dmapi.changes 2015-11-24 22:31:06.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Nov 19 18:34:28 UTC 2015 - [email protected] + +- Added dmapi-add-missing-includes-to-handle2path.patch to fix + build failures introduced when dependency xfsprogs-devel was + updated to 4.2.0. + +------------------------------------------------------------------- New: ---- dmapi-add-missing-includes-to-handle2path.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmapi.spec ++++++ --- /var/tmp/diff_new_pack.CUYil4/_old 2015-11-24 22:31:07.000000000 +0100 +++ /var/tmp/diff_new_pack.CUYil4/_new 2015-11-24 22:31:07.000000000 +0100 @@ -30,6 +30,7 @@ Source3: baselibs.conf Patch0: dmapi-docdir.diff Patch1: no-getdents-aarch64.diff +Patch2: dmapi-add-missing-includes-to-handle2path.patch BuildRequires: e2fsprogs-devel BuildRequires: xfsprogs-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -69,6 +70,7 @@ %setup -q %patch0 %patch1 +%patch2 -p1 %build export LCFLAGS="%{optflags}" ++++++ dmapi-add-missing-includes-to-handle2path.patch ++++++ From: Jeff Mahoney <[email protected]> Subject: dmapi: add missing includes to handle2path The update to xfsprogs 4.2.0 removed some includes from its own headers, so those headers need to be added manually to dmapi. Signed-off-by: Jeff Mahoney <[email protected]> --- libdm/dm_handle2path.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/libdm/dm_handle2path.c +++ b/libdm/dm_handle2path.c @@ -16,6 +16,10 @@ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <sys/stat.h> +#include <fcntl.h> +#include <string.h> +#include <unistd.h> #include <dmapi.h> #include <dmapi_kern.h> #include "dmapi_lib.h"
