Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH 07/10] libedit: Update to 20160618-3.1 release
Date: Wed, 22 Mar 2017 11:45:30 -0700	[thread overview]
Message-ID: <20170322184533.6501-7-raj.khem@gmail.com> (raw)
In-Reply-To: <20170322184533.6501-1-raj.khem@gmail.com>

fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../recipes-devtools/libedit/libedit/stdc-predef.patch  | 17 +++++++++++++++++
 ...{libedit_20160618-3.1.bb => libedit_20160903-3.1.bb} |  9 +++++----
 2 files changed, 22 insertions(+), 4 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/libedit/libedit/stdc-predef.patch
 rename meta-oe/recipes-devtools/libedit/{libedit_20160618-3.1.bb => libedit_20160903-3.1.bb} (64%)

diff --git a/meta-oe/recipes-devtools/libedit/libedit/stdc-predef.patch b/meta-oe/recipes-devtools/libedit/libedit/stdc-predef.patch
new file mode 100644
index 000000000..c95cdc9d2
--- /dev/null
+++ b/meta-oe/recipes-devtools/libedit/libedit/stdc-predef.patch
@@ -0,0 +1,17 @@
+__STDC_ISO_10646__ is defined in stdc-predef.h
+therefore include it to see if its there on a platform
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: libedit-20160903-3.1/src/chartype.h
+===================================================================
+--- libedit-20160903-3.1.orig/src/chartype.h
++++ libedit-20160903-3.1/src/chartype.h
+@@ -29,6 +29,7 @@
+ #ifndef _h_chartype_f
+ #define _h_chartype_f
+ 
++#include <stdc-predef.h>
+ /* Ideally we should also test the value of the define to see if it
+  * supports non-BMP code points without requiring UTF-16, but nothing
+  * seems to actually advertise this properly, despite Unicode 3.1 having
diff --git a/meta-oe/recipes-devtools/libedit/libedit_20160618-3.1.bb b/meta-oe/recipes-devtools/libedit/libedit_20160903-3.1.bb
similarity index 64%
rename from meta-oe/recipes-devtools/libedit/libedit_20160618-3.1.bb
rename to meta-oe/recipes-devtools/libedit/libedit_20160903-3.1.bb
index bda421d81..90b5a1d39 100644
--- a/meta-oe/recipes-devtools/libedit/libedit_20160618-3.1.bb
+++ b/meta-oe/recipes-devtools/libedit/libedit_20160903-3.1.bb
@@ -12,9 +12,10 @@ inherit autotools
 
 # upstream site does not allow wget's User-Agent
 FETCHCMD_wget += "-U bitbake"
-SRC_URI = "http://www.thrysoee.dk/editline/${BPN}-${PV}.tar.gz"
+SRC_URI = "http://www.thrysoee.dk/editline/${BPN}-${PV}.tar.gz \
+           file://stdc-predef.patch \
+          "
+SRC_URI[md5sum] = "0467d27684c453a351fbcefebbcb16a3"
+SRC_URI[sha256sum] = "0ccbd2e7d46097f136fcb1aaa0d5bc24e23bb73f57d25bee5a852a683eaa7567"
 
 S = "${WORKDIR}/${BPN}-${PV}"
-
-SRC_URI[md5sum] = "b6e60f326a3fce91bea1a6fe4700af58"
-SRC_URI[sha256sum] = "b6b159c0c6ec8a7f349ea2a75d8b960efa346c462c1ac4921f1ac0de85a9f5d6"
-- 
2.12.0



  parent reply	other threads:[~2017-03-22 18:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-22 18:45 [meta-gnome][PATCH 01/10] abiword: Mark gconv dependencies only for glibc Khem Raj
2017-03-22 18:45 ` [meta-networking][PATCH 02/10] netcat-openbsd: Fix build and whitelist Khem Raj
2017-03-30  9:41   ` Martin Jansa
2017-03-30 16:42     ` Khem Raj
2017-03-22 18:45 ` [meta-xfce][PATCH 03/10] xfce4-mount-plugin: Fix build with musl Khem Raj
2017-03-22 18:45 ` [meta-oe][PATCH 04/10] log4cpp: Upgrade to 1.1.2 rc5 Khem Raj
2017-03-22 18:45 ` [meta-networking][PATCH 05/10] ctdb: Fix build with musl Khem Raj
2017-03-22 18:45 ` [meta-oe][PATCH 06/10] libndp: Include sys/select.h in ndptool.c Khem Raj
2017-07-10  9:20   ` [meta-oe][PATCH 06/10] libndp: Include sys/select.h in ndptool.c (backport to Morty) Javier Viguera
2017-03-22 18:45 ` Khem Raj [this message]
2017-03-22 18:45 ` [meta-oe][PATCH V2 08/10] atop: Fix build with musl Khem Raj
2017-03-22 18:45 ` [meta-python][PATCH 09/10] python-slip-dbus: Update SRC_URI to github Khem Raj
2017-03-22 18:45 ` [meta-multimedia][PATCH 10/10] alsa-equal: Update SRC_URI to something valid Khem Raj

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=20170322184533.6501-7-raj.khem@gmail.com \
    --to=raj.khem@gmail.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