Hello community, here is the log from the commit of package gegl-unstable for openSUSE:Factory checked in at 2016-09-08 17:39:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gegl-unstable (Old) and /work/SRC/openSUSE:Factory/.gegl-unstable.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gegl-unstable" Changes: -------- --- /work/SRC/openSUSE:Factory/gegl-unstable/gegl-unstable.changes 2016-08-05 18:17:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gegl-unstable.new/gegl-unstable.changes 2016-09-08 17:39:13.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 31 22:28:36 UTC 2016 - dimstar@opensuse.org + +- Add gegl-unstable-include-stdlib.patch: include stdlib.h for + realpath(). + +------------------------------------------------------------------- New: ---- gegl-unstable-include-stdlib.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gegl-unstable.spec ++++++ --- /var/tmp/diff_new_pack.keHcFy/_old 2016-09-08 17:39:15.000000000 +0200 +++ /var/tmp/diff_new_pack.keHcFy/_new 2016-09-08 17:39:15.000000000 +0200 @@ -26,6 +26,8 @@ Group: System/Libraries Url: http://gegl.org/ Source: %{_name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM gegl-unstable-include-stdlib.patch bgo#770685 dimstar@opensuse.org -- Include stdlib.h for realpath() +Patch0: gegl-unstable-include-stdlib.patch BuildRequires: ImageMagick BuildRequires: OpenEXR-devel BuildRequires: SDL-devel @@ -127,6 +129,7 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build ./autogen.sh ++++++ gegl-unstable-include-stdlib.patch ++++++
From 9e7f494930966a10b8ffb2d34bc002a8b034473b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger
Date: Thu, 1 Sep 2016 00:27:08 +0200 Subject: [PATCH] core: Include stdlib.h for free() and realpath()
Without this, building for example on ppc64le yields:
[ 136s] load.c: In function 'do_setup':
[ 136s] load.c:121:30: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration]
[ 136s] gchar *resolved_path = realpath (path, NULL);
[ 136s] ^~~~~~~~
[ 136s] load.c:121:30: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
[ 136s] load.c:141:15: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
[ 136s] free (resolved_path);
[ 136s] ^~~~
[ 136s] load.c:141:15: warning: incompatible implicit declaration of built-in function 'free'
[ 136s] load.c:141:15: note: include '