commit partclone for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package partclone for openSUSE:Factory checked in at 2015-06-24 21:04:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/partclone (Old) and /work/SRC/openSUSE:Factory/.partclone.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "partclone" Changes: -------- --- /work/SRC/openSUSE:Factory/partclone/partclone.changes 2015-03-25 21:04:53.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.partclone.new/partclone.changes 2015-06-24 21:04:45.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Jun 24 10:17:18 UTC 2015 - dimstar@opensuse.org + +- Add partclone-missing-includes.patch: Fix build with GCC5 by + correctly including the needed headers. + +------------------------------------------------------------------- New: ---- partclone-missing-includes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ partclone.spec ++++++ --- /var/tmp/diff_new_pack.yG7Wwr/_old 2015-06-24 21:04:45.000000000 +0200 +++ /var/tmp/diff_new_pack.yG7Wwr/_new 2015-06-24 21:04:45.000000000 +0200 @@ -25,6 +25,8 @@ Group: System/Filesystems Url: http://partclone.org/ Source: http://downloads.sourceforge.net/project/partclone/experimental/src/partclone-%{version}.tar.gz +# PATCH-FIX-UPSTREAM partclone-missing-includes.patch dimstar@opensuse.org -- Fix missing includes, submitted as https://github.com/Thomas-Tsai/partclone/pull/61 +Patch0: partclone-missing-includes.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: e2fsprogs-devel @@ -45,6 +47,7 @@ %prep %setup -q +%patch0 -p1 %build autoreconf -fi ++++++ partclone-missing-includes.patch ++++++
From 04391d72f31789051753b814837ae3bc2f31f5b4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger
Date: Wed, 24 Jun 2015 12:15:11 +0200 Subject: [PATCH] Fix missing includes
When building with gcc5, string.h is no longer implicit included and the
source must declare the includes.
Otherwise, the build 'warns' about this error (which can have quite bad
results):
[ 26s] ./src/deplib_version.c:31:9: warning: implicit declaration of
function 'strcmp' [-Wimplicit-function-declaration]
[ 26s] if (strcmp(libfs, "ntfs") == 0){
Spotted by openSUSE Build Root Policy verification:
[ 40s] E: partclone implicit-fortify-decl ./src/deplib_version.c:31
---
src/deplib_version.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/deplib_version.c b/src/deplib_version.c
index 987b711..807bcbd 100644
--- a/src/deplib_version.c
+++ b/src/deplib_version.c
@@ -1,4 +1,5 @@
#include
participants (1)
-
root@hilbert.suse.de