Hello community, here is the log from the commit of package target-isns for openSUSE:Factory checked in at 2015-08-12 15:14:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/target-isns (Old) and /work/SRC/openSUSE:Factory/.target-isns.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "target-isns" Changes: -------- --- /work/SRC/openSUSE:Factory/target-isns/target-isns.changes 2014-12-10 23:44:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.target-isns.new/target-isns.changes 2015-08-12 15:14:08.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Aug 10 16:54:27 UTC 2015 - [email protected] + +- Defined _POSIX_C_SOURCE to 2001 level to enable netdb.h + gai_strerror and friends, fixing build issue, adding patch: + target-isns-define-posix_c_source-for-netdb + +------------------------------------------------------------------- New: ---- target-isns-define-posix_c_source-for-netdb ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ target-isns.spec ++++++ --- /var/tmp/diff_new_pack.r81apH/_old 2015-08-12 15:14:08.000000000 +0200 +++ /var/tmp/diff_new_pack.r81apH/_new 2015-08-12 15:14:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package target-isns # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -36,6 +36,7 @@ Patch1: %{name}-changes-since-v0.3.diff.bz2 Patch2: %{name}-add-systemd-support.patch Patch3: %{name}-dont-ignore-read-return-value.patch +Patch4: %{name}-define-posix_c_source-for-netdb %description Target-isns is an Internet Storage Name Service (iSNS) client for the @@ -54,6 +55,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build mkdir build ++++++ target-isns-define-posix_c_source-for-netdb ++++++ diff --git a/src/isns.c b/src/isns.c index 56869c861857..43a3aa6dcc56 100644 --- a/src/isns.c +++ b/src/isns.c @@ -9,6 +9,7 @@ */ #define _POSIX_SOURCE +#define _POSIX_C_SOURCE 200112L #include <errno.h> #include <inttypes.h> #include <limits.h>
