Hello community, here is the log from the commit of package kbuild for openSUSE:Factory checked in at 2017-05-27 13:07:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kbuild (Old) and /work/SRC/openSUSE:Factory/.kbuild.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kbuild" Sat May 27 13:07:58 2017 rev:34 rq:495832 version:0.1.9998svn2814 Changes: -------- --- /work/SRC/openSUSE:Factory/kbuild/kbuild.changes 2016-11-15 17:52:41.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kbuild.new/kbuild.changes 2017-05-27 13:09:25.999270577 +0200 @@ -1,0 +2,7 @@ +Wed May 17 16:38:25 UTC 2017 - dimstar@opensuse.org + +- Add kbuild-gcc7.patch: Fix build with GCC7 (boo#1039375): we also + need the definition of strlcpy on Linux; only *BSD has this by + default. + +------------------------------------------------------------------- New: ---- kbuild-gcc7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kbuild.spec ++++++ --- /var/tmp/diff_new_pack.VSa8Lq/_old 2017-05-27 13:09:27.103114511 +0200 +++ /var/tmp/diff_new_pack.VSa8Lq/_new 2017-05-27 13:09:27.107113945 +0200 @@ -1,7 +1,7 @@ # # spec file for package kbuild # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -43,6 +43,7 @@ Patch8: kbuild-wrong-memset.patch Patch9: ppc64le.patch Patch10: aarch64.patch +Patch11: kbuild-gcc7.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -69,6 +70,7 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" ++++++ kbuild-gcc7.patch ++++++ Index: kbuild-0.1.9998svn2814/src/kash/mystring.h =================================================================== --- kbuild-0.1.9998svn2814.orig/src/kash/mystring.h +++ kbuild-0.1.9998svn2814/src/kash/mystring.h @@ -44,9 +44,7 @@ void scopyn(const char *, char *, ssize_ int prefix(const char *, const char *); int number(struct shinstance *, const char *); int is_number(const char *); -#ifdef _MSC_VER size_t strlcpy(char *dst, const char *src, size_t siz); -#endif #define equal(s1, s2) (strcmp(s1, s2) == 0) #define scopy(s1, s2) ((void)strcpy(s2, s1))