All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] systemd-bootchart: Fix build with glibc 2.26
@ 2017-07-18 10:52 Jussi Kukkonen
  2017-07-18 18:43 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Jussi Kukkonen @ 2017-07-18 10:52 UTC (permalink / raw
  To: openembedded-core

xlocale.h is no more, don't include it.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
 .../0001-parse-util-Don-t-use-xlocale.h.patch      | 32 ++++++++++++++++++++++
 .../systemd-bootchart/systemd-bootchart_231.bb     |  4 ++-
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/systemd-bootchart/files/0001-parse-util-Don-t-use-xlocale.h.patch

diff --git a/meta/recipes-devtools/systemd-bootchart/files/0001-parse-util-Don-t-use-xlocale.h.patch b/meta/recipes-devtools/systemd-bootchart/files/0001-parse-util-Don-t-use-xlocale.h.patch
new file mode 100644
index 0000000..5aa0463
--- /dev/null
+++ b/meta/recipes-devtools/systemd-bootchart/files/0001-parse-util-Don-t-use-xlocale.h.patch
@@ -0,0 +1,32 @@
+From d379126d56d0b6e935b2d97ca71579e6cc54d1bb Mon Sep 17 00:00:00 2001
+From: Jussi Kukkonen <jussi.kukkonen@intel.com>
+Date: Tue, 18 Jul 2017 13:37:27 +0300
+Subject: [PATCH] parse-util: Don't use xlocale.h
+
+glibc 2.26 no longer contains the non-standard xlocale.h
+(http://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27)
+
+This change shouldn't break anything as xlocale.h was a subset of
+locale.h.
+
+Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
+Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/35]
+---
+ src/parse-util.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/parse-util.c b/src/parse-util.c
+index 5635a68..1b2169c 100644
+--- a/src/parse-util.c
++++ b/src/parse-util.c
+@@ -21,7 +21,6 @@
+ #include <locale.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <xlocale.h>
+ 
+ #include "macro.h"
+ #include "parse-util.h"
+-- 
+2.13.2
+
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb
index 1d88036..4da000e 100644
--- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb
+++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb
@@ -2,7 +2,9 @@ LICENSE = "LGPLv2.1 & GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \
                     file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https"
+SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https \
+           file://0001-parse-util-Don-t-use-xlocale.h.patch \
+"
 
 # Modify these as desired
 PV = "231+git${SRCPV}"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] systemd-bootchart: Fix build with glibc 2.26
  2017-07-18 10:52 [PATCH] systemd-bootchart: Fix build with glibc 2.26 Jussi Kukkonen
@ 2017-07-18 18:43 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2017-07-18 18:43 UTC (permalink / raw
  To: Jussi Kukkonen; +Cc: Patches and discussions about the oe-core layer

On Tue, Jul 18, 2017 at 6:52 AM, Jussi Kukkonen
<jussi.kukkonen@intel.com> wrote:
> xlocale.h is no more, don't include it.
>

looks good

> Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
> ---
>  .../0001-parse-util-Don-t-use-xlocale.h.patch      | 32 ++++++++++++++++++++++
>  .../systemd-bootchart/systemd-bootchart_231.bb     |  4 ++-
>  2 files changed, 35 insertions(+), 1 deletion(-)
>  create mode 100644 meta/recipes-devtools/systemd-bootchart/files/0001-parse-util-Don-t-use-xlocale.h.patch
>
> diff --git a/meta/recipes-devtools/systemd-bootchart/files/0001-parse-util-Don-t-use-xlocale.h.patch b/meta/recipes-devtools/systemd-bootchart/files/0001-parse-util-Don-t-use-xlocale.h.patch
> new file mode 100644
> index 0000000..5aa0463
> --- /dev/null
> +++ b/meta/recipes-devtools/systemd-bootchart/files/0001-parse-util-Don-t-use-xlocale.h.patch
> @@ -0,0 +1,32 @@
> +From d379126d56d0b6e935b2d97ca71579e6cc54d1bb Mon Sep 17 00:00:00 2001
> +From: Jussi Kukkonen <jussi.kukkonen@intel.com>
> +Date: Tue, 18 Jul 2017 13:37:27 +0300
> +Subject: [PATCH] parse-util: Don't use xlocale.h
> +
> +glibc 2.26 no longer contains the non-standard xlocale.h
> +(http://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27)
> +
> +This change shouldn't break anything as xlocale.h was a subset of
> +locale.h.
> +
> +Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
> +Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/35]
> +---
> + src/parse-util.c | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/src/parse-util.c b/src/parse-util.c
> +index 5635a68..1b2169c 100644
> +--- a/src/parse-util.c
> ++++ b/src/parse-util.c
> +@@ -21,7 +21,6 @@
> + #include <locale.h>
> + #include <stdlib.h>
> + #include <string.h>
> +-#include <xlocale.h>
> +
> + #include "macro.h"
> + #include "parse-util.h"
> +--
> +2.13.2
> +
> diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb
> index 1d88036..4da000e 100644
> --- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb
> +++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_231.bb
> @@ -2,7 +2,9 @@ LICENSE = "LGPLv2.1 & GPLv2"
>  LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \
>                      file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe"
>
> -SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https"
> +SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https \
> +           file://0001-parse-util-Don-t-use-xlocale.h.patch \
> +"
>
>  # Modify these as desired
>  PV = "231+git${SRCPV}"
> --
> 2.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-18 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18 10:52 [PATCH] systemd-bootchart: Fix build with glibc 2.26 Jussi Kukkonen
2017-07-18 18:43 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.