From: Joe MacDonald <Joe_MacDonald@mentor.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-networking][PATCH 1/6] ipsec-tools: Fix build with glibc 2.20
Date: Tue, 9 Sep 2014 09:08:06 -0400 [thread overview]
Message-ID: <20140909130805.GD2125@mentor.com> (raw)
In-Reply-To: <1409815958-24314-1-git-send-email-raj.khem@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2610 bytes --]
Merged, thanks.
-J.
[[oe] [meta-networking][PATCH 1/6] ipsec-tools: Fix build with glibc 2.20] On 14.09.04 (Thu 00:32) Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../ipsec-tools/ipsec-tools/glibc-2.20.patch | 23 ++++++++++++++++++++++
> .../ipsec-tools/ipsec-tools_0.8.2.bb | 1 +
> 2 files changed, 24 insertions(+)
> create mode 100644 meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch
>
> diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch
> new file mode 100644
> index 0000000..36efc49
> --- /dev/null
> +++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch
> @@ -0,0 +1,23 @@
> +squahes below warning
> + warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
> +
> +Seen with glibc 2.20
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +Upstream-Status: Pending
> +Index: ipsec-tools-0.8.2/src/include-glibc/glibc-bugs.h
> +===================================================================
> +--- ipsec-tools-0.8.2.orig/src/include-glibc/glibc-bugs.h 2006-09-09 09:22:08.000000000 -0700
> ++++ ipsec-tools-0.8.2/src/include-glibc/glibc-bugs.h 2014-09-03 22:27:22.551563888 -0700
> +@@ -4,7 +4,11 @@
> + #define __GLIBC_BUGS_H__ 1
> +
> + #define _XOPEN_SOURCE 500
> ++/* Legacy feature macro.*/
> + #define _BSD_SOURCE
> ++/* New feature macro that provides everything _BSD_SOURCE and
> ++ * _SVID_SOURCE provided and possibly more. */
> ++#define _DEFAULT_SOURCE
> +
> + #include <features.h>
> + #include <sys/types.h>
> diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb
> index 208268f..babce40 100644
> --- a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb
> +++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb
> @@ -13,6 +13,7 @@ SRC_URI = "ftp://ftp.netbsd.org/pub/NetBSD/misc/ipsec-tools/0.8/ipsec-tools-${PV
> file://0001-racoon-pfkey-avoid-potential-null-pointer-dereferenc.patch \
> file://racoon-check-invalid-pointers.patch \
> file://racoon-check-invalid-ivm.patch \
> + file://glibc-2.20.patch \
> "
> SRC_URI[md5sum] = "d53ec14a0a3ece64e09e5e34b3350b41"
> SRC_URI[sha256sum] = "8eb6b38716e2f3a8a72f1f549c9444c2bc28d52c9536792690564c74fe722f2d"
> --
> 2.1.0
>
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 501 bytes --]
prev parent reply other threads:[~2014-09-09 13:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-04 7:32 [meta-networking][PATCH 1/6] ipsec-tools: Fix build with glibc 2.20 Khem Raj
2014-09-04 7:32 ` [meta-oe][PATCH 2/6] ckermit: Update recipe ckermit_301.bb -> ckermit_302.bb Khem Raj
2014-09-04 7:32 ` [meta-oe][PATCH 3/6] luajit, acpitests: Fix build on hardfloat arm Khem Raj
2014-09-04 7:32 ` [meta-oe][PATCH 4/6] Fix build with glibc 2.20 Khem Raj
2014-09-04 7:32 ` [meta-networking][PATCH 5/6] lowpan-tools: Move to 0.3.1 release Khem Raj
2014-09-09 13:17 ` Joe MacDonald
2014-09-04 7:32 ` [meta-oe][PATCH 6/6] numlockx: Update SRC_URI to somewhere fetchable Khem Raj
2014-09-09 13:08 ` Joe MacDonald [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140909130805.GD2125@mentor.com \
--to=joe_macdonald@mentor.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox