From patchwork Sat Jun 3 04:58:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 101300 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp52462qgd; Fri, 2 Jun 2017 21:59:01 -0700 (PDT) X-Received: by 10.84.195.1 with SMTP id i1mr3425450pld.120.1496465941380; Fri, 02 Jun 2017 21:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496465941; cv=none; d=google.com; s=arc-20160816; b=eujI8GA4fuXWu5PYAOHAWl/oZk5jQ2e66iqYqbZ92Uv/B+7xrkaOAkWcNxpGOeRoYk njJJ3p+HXsm+gbyA1FWHhBbV/TX5O/o6VkYlMhON5tWQQOmPN5PfoFwmrjRbLtRkxQ99 HGfzO00rA7XX1ZXXZq7F1UUjt05ThCrP1ayc6FmNxtsafJtGNsYVd88tSCmGu7lQMXHT 8h0/AqNIjEbQdc8IAWZjJGrI6ky/60dLxF7E5DMz/mp5KuqRmimwrsRmxYlpFcgEL3rd b9jA3y9AQKFOdNog8Tw/lask3LZBIBC3gb9TFsZR3QOghHJDmerbcy868fo7ZL6AeG3p XcAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=b9VEpfkuDdQdL+exYrYhir2USEDxfC1QMUpQ8ZkcbIk=; b=tz/J9BCkelp4wt81LwJmWEVqsNV5S1m2U86zP+huxQUCfomrdRQ5UCGfk4D5WPOTCW 5XISkCQBrejWNi+2CC7hsrDjb955ybb2n8f6QTWR0D3GFAisf53xuwQiBD54x4mXLzad 1ydC1oajh3eiUX0HkFDFN0HzmYjpyFyzTvHsyy5V+hFfhxy2KqMPZakDrc6oFV7Hzlaa P4znrG1xjCq8pWgrKIDJA55nRamJjH2S++9fRuYveyCra4Nn/vCSOn2Iq1xv5CCxC1GV V7+2YVVSQfwyCr4Zkn//kfemTHY+lUiUwJWMN2epszjqcCFzS+q6m5VoOzvzm1TVOYHl bQpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d82si5590996pfl.148.2017.06.02.21.59.00; Fri, 02 Jun 2017 21:59:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EBF3677EAC; Sat, 3 Jun 2017 04:58:45 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id EA45E606A8 for ; Sat, 3 Jun 2017 04:58:42 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id n23so14633443pfb.3 for ; Fri, 02 Jun 2017 21:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=KyWMd7P/WDhfuGAjHwz7d3ZefVg+cOC9Y163hTqYMOQ=; b=VaP/UmJ4yHBAM0FZD4yv7/LwfxnLi1FI48gJ1Yjo323IxrP7ZxO0myMlhukbfEQAjO tpTlmeBBNLURYdw2q5gjsg8pZrSdJXqZEKNqR8cypE6CQl7njwAM9+eAzmtoSYaMfMcG xu4Y9QFeXgXglPTwCK9qDNlzFyzepe9kUS90uNC3LSNNslHKjnUI/D8HyWZkEltbGOuZ kkThm1Y/Zky4y5fCy6J+yykmUMQAkkZ3mMGjW2baQagA5NRuMN3I6eG1IO8Ma6anhi8y FLUXa4/Ec0Y7moh+a/2fjX/jcJseRKSuK486lSGzj/A50PLs9EeOWHdVXF6O2EwH8TVa GTcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KyWMd7P/WDhfuGAjHwz7d3ZefVg+cOC9Y163hTqYMOQ=; b=jG1n7kaOnBzXP8JYIsiE/ehrKUYXDrfKMY7ALSksvJFS8uRebX2LDR36nsELiAJ4Mt K46m2GfWTY5gjMLtEhf4OmWwXs3OSnBI7nR7JGuxPm49UvCmSdAfoGChnC6+55AyHQiU Tx5S0L0Q8MvL9RxjKgEtyDBTI5o+QMZjF9hiomfg3teq8hGpZ0y+/PBxB4xoFP7umpn3 ZZFwW0xtVNPKc70W8B5qEu7Dqc3L9UwmVWcXuySAluYRQAiYKZtoKZgQhDRFMDlCH/87 7wbG0if7VmKxOKUqW9ITYcGIyC7Xz5Hvg7KP5NL90iSIkh0MUbNwSy6Y4UNFSeAM54AB qNjQ== X-Gm-Message-State: AODbwcAcKRBO/nYIg20KIeFHEtL07h/BoHLFjnaCIDRxYwEYC3bQkbf6 5opLg16cG7Qjc5Mu X-Received: by 10.101.85.196 with SMTP id k4mr10358312pgs.172.1496465923778; Fri, 02 Jun 2017 21:58:43 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::cf4]) by smtp.gmail.com with ESMTPSA id o29sm40732836pgc.27.2017.06.02.21.58.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 21:58:42 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 2 Jun 2017 21:58:30 -0700 Message-Id: <20170603045833.8120-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 Subject: [oe] [meta-multimedia][PATCH 1/4] caps: Fix buld with -pie X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../recipes-multimedia/caps/caps/append_ldflags.patch | 18 ++++++++++++++++++ meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb | 1 + 2 files changed, 19 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch -- 2.13.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch b/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch new file mode 100644 index 000000000..3abd38189 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/caps/caps/append_ldflags.patch @@ -0,0 +1,18 @@ +Change the order of linker flags such that -shared is appearig after -pie/-fpie +this helps in building the package when secuiry flags are enabled + +-Khem + +Index: caps-0.9.24/Makefile +=================================================================== +--- caps-0.9.24.orig/Makefile ++++ caps-0.9.24/Makefile +@@ -14,7 +14,7 @@ STRIP = strip + -include defines.make + + CFLAGS += $(OPTS) $(_CFLAGS) +-LDFLAGS += $(_LDFLAGS) $(CFLAGS) ++LDFLAGS += $(CFLAGS) $(_LDFLAGS) + + PLUG = caps + diff --git a/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb b/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb index 90a28360c..d7887635e 100644 --- a/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb +++ b/meta-multimedia/recipes-multimedia/caps/caps_0.9.24.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "http://quitte.de/dsp/${PN}_${PV}.tar.bz2 \ file://Avoid-ambiguity-in-div-invocation.patch \ file://0001-basic.h-Use-c99-supported-stdint-types.patch \ + file://append_ldflags.patch \ " SRC_URI[md5sum] = "c1d634038dcb54702306c0e30cb1c626" From patchwork Sat Jun 3 04:58:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 101301 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp52598qgd; Fri, 2 Jun 2017 21:59:47 -0700 (PDT) X-Received: by 10.84.238.139 with SMTP id v11mr3520353plk.182.1496465987241; Fri, 02 Jun 2017 21:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496465987; cv=none; d=google.com; s=arc-20160816; b=emQWEebBBYIOKlKe/BSTqkKIPLPBj/JTWAZVGDP4/x0MS9bWinVx8Q6LF5CXnW5R9l GIZy5A6QU+5rQ2WaY2e3/ZSjszrcnrCbYyKnZS42Yn9rY1UW474K1jqFE/RFKsvDIlur Ab0uoNEOhbhURxlMj32ImD9DneqOhShIOuKt2Hv8mMKP7pDv5dHGx9/1DW7fWmjk8Qjv rsAAik4eQfe/eEIceAzfsMTUDUt/tYOKne9jQflAannMjyWWPd9+uZvTAsSvdNcpIVy/ 1Bb8b4qigwpQZg41VZACBQ05d8DxDhpDimFA5LMlHjDLjgi/O+6rmwK0EqLFmmtTsum0 dd9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=BKaSPD7kBtF1BSUoM6ANHvpkoJA9Uoe9USvpHOEf97k=; b=NjhQM8aHJ0S8LC4rom4749XoX7kMcvbN7yoJ8bPCQljkfhMHBIBwIxDlH8JlAptyZ2 KgbbFqUd8suWpvylTLMa2wqompQsjw89Go77nFJcMfkqdqs/6VT8O3CioJiPfzW+qfbL jA9ZAXe9CEq1ij/r9Cf4+1a8+2fIAeTH/y2xSETues2yBCAQoXlZ5pJ6lycWe07C3dYL QmsVaFiA/9Fm3t1UZhtIKW+gjfBSfCXnCteVMrnPcu/H3ArpINx4RGhJ+IWt+3L5tno4 w00j9v8LYyo23isUSiguaIr+NfwR6otwANaZgP3VLze85eqbrPh98iPpTnvenCnIEuHg ra9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id y133si24213136pfg.257.2017.06.02.21.59.46; Fri, 02 Jun 2017 21:59:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id F3CED77F38; Sat, 3 Jun 2017 04:59:43 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f42.google.com (mail-pg0-f42.google.com [74.125.83.42]) by mail.openembedded.org (Postfix) with ESMTP id BE604606A8 for ; Sat, 3 Jun 2017 04:58:44 +0000 (UTC) Received: by mail-pg0-f42.google.com with SMTP id x64so15147157pgd.3 for ; Fri, 02 Jun 2017 21:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nJ+OTnecX/7lip1NIUN39/xwCHw0coSKWGc04tRyGIk=; b=gaHEdQGQE9KZcx2LA90V9xfdTQCy8R3mWTdXq8/tssQdGlRBPfM/X2KdiPZQjuXNEd 5PsKuaaiRJSJbWqTAy65WMAekhkbCe8jhVyt1l9APz58cPeGby+/GeTqsc2aegUhVIzd AMjB4abQs53LyUL/rnO8hYUfxc+D19ylHl4GyhyNXo0nj+nkl5OaIpQmpuLnvsPaQXxv abSpJAvBvlUIPkdYl7us3G35TCsgKpKAuWFb949mIXWJuvbBkZOoR0Wweb3Z1pNhiLzz Kndv3tRccQSABzXvO4XG0xgnsc1LYxKUOB7YMq+FJoVLJ51TMG7G8COIQzWm6o69P8Ua Jd/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nJ+OTnecX/7lip1NIUN39/xwCHw0coSKWGc04tRyGIk=; b=WzwB1wdc9u84X+1KY7nW3/MkwSvLgHVUUBhg8fKsSgJ1uNs7+k2cuvNKraGwC5bV6+ FwfVTLPjTFyGAf9DVJa4sTluFrrKHxdiwMcZHkbbzWtY/CpswLr72ZbegtxGZDbDt0EE 4sOWHI2D2KwiMvzIzI5XW9o94/Luk41+aqZtVvT0kI5qTo1PVeOR54MHCldgDbhRS1iM HemGlHPQdhG8rKoPUEeRq7rt2/AifohAVT+GX4g49lPm3JbrSe+3GtrlglUI9dokZ5WM 6FAwm+ffO54mTUqCsHj0RnmuO1uRzcPqb6cxe7ZgIqINMx0vZ4lUxGEyoeNtxgg5ZF/c eToA== X-Gm-Message-State: AODbwcA5tFjPph9pngZtXOg0s7LR36w+lDM9e/lm1taXrFHmIBDs0xOv VgCgwyyWLAB+I1cL X-Received: by 10.99.107.136 with SMTP id g130mr10245242pgc.3.1496465925669; Fri, 02 Jun 2017 21:58:45 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::cf4]) by smtp.gmail.com with ESMTPSA id o29sm40732836pgc.27.2017.06.02.21.58.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 21:58:44 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 2 Jun 2017 21:58:31 -0700 Message-Id: <20170603045833.8120-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170603045833.8120-1-raj.khem@gmail.com> References: <20170603045833.8120-1-raj.khem@gmail.com> Subject: [oe] [meta-python][PATCH 2/4] python-numeric: Fix build with musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Use gettimeofday() definition from system Signed-off-by: Khem Raj --- ...-define-this-function-differently-than-it.patch | 30 ++++++++++++++++++++++ .../recipes-devtools/python/python-numeric_24.2.bb | 4 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch -- 2.13.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-python/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch b/meta-python/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch new file mode 100644 index 000000000..81ed744cb --- /dev/null +++ b/meta-python/recipes-devtools/python/python-numeric/0001-it-tries-to-define-this-function-differently-than-it.patch @@ -0,0 +1,30 @@ +From 322e781c67d7a78fc2cfc3d377f50b825fc64abb Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Jun 2017 20:21:01 -0700 +Subject: [PATCH] it tries to define this function differently than it is + defined in sys/time.h. + +Use the definition from system + +Signed-off-by: Khem Raj +--- + Packages/RNG/Src/ranf.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/Packages/RNG/Src/ranf.c b/Packages/RNG/Src/ranf.c +index 5ca7dc5..e669fa8 100644 +--- a/Packages/RNG/Src/ranf.c ++++ b/Packages/RNG/Src/ranf.c +@@ -149,9 +149,6 @@ void Mixranf(int *s,u32 s48[2]) + #else + struct timeval tv; + struct timezone tz; +-#if !defined(__sgi) +- int gettimeofday(struct timeval *, struct timezone *); +-#endif + + (void)gettimeofday(&tv,&tz); + s48[0] = (u32)tv.tv_sec; +-- +2.13.0 + diff --git a/meta-python/recipes-devtools/python/python-numeric_24.2.bb b/meta-python/recipes-devtools/python/python-numeric_24.2.bb index c0b04e144..c91d77c81 100644 --- a/meta-python/recipes-devtools/python/python-numeric_24.2.bb +++ b/meta-python/recipes-devtools/python/python-numeric_24.2.bb @@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://Legal.htm;md5=e3ce75dedd4043918d15979ae43e312e" PR = "ml3" -SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/Numeric-${PV}.tar.gz" +SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/Numeric-${PV}.tar.gz \ + file://0001-it-tries-to-define-this-function-differently-than-it.patch \ +" S = "${WORKDIR}/Numeric-${PV}" inherit distutils From patchwork Sat Jun 3 04:58:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 101302 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp52622qgd; Fri, 2 Jun 2017 21:59:53 -0700 (PDT) X-Received: by 10.99.110.202 with SMTP id j193mr10487728pgc.141.1496465993615; Fri, 02 Jun 2017 21:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496465993; cv=none; d=google.com; s=arc-20160816; b=Tp1vp+5GDMwNW34PQrRN8vxsS5j4hrBVfIEhxRdUkno2L/oamcPo2ylpPcQ4T64R+i QZ5kCEZqxpGoiie7aoGXxXGk8wxBcdoqCMzYi0Ev2Ynvz659q1zuXTy8ntaoWjlnlRNZ 2VKWzGJQ4Z0LEwHjVZIQm4odBxOw9/6SlLHmE59wkHT+TVFO2rulSPEMwTbxg8yaEJ11 8n8Cox4fjxnLQIdExYyPVt3wbND6Km3vW+FiQk9vkdeU2u8mGZ1rhvXOSBTU/c5nYZDz g3wEyQhNNfNfNT8ZAo54s1R3r5sfxJMoLZIltmqFwQeqaEc0rgS6XKys0NvVYp6aMMnb noHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=MuQ0nGW2HhqH33Nmfhwq+v1yIgo3YWaupLlj5JS2/EY=; b=kxmY0ekq99x2vv1TlRFC1tj6A31zgR+lFZeI5ye2oRHXmyDLY0jdAsiQbQZUp9T8eH ZmJswa3X0l1Me8H3XMW8gCxsMAKxHmDZ26RPPACACDukiE/0nSdZ07NuoENROfnKuV6r AnzOT1Vv+V07tuRjfkB4AfPivqCJvKc7Ie+50SklaWWNeGTAGg50ZeLNsy7cKYTirUUu a3NUeB0K+ePr0SUVqnbavRIbI3ej9VBbox2pCojGqOZDTMf/qb6uDqDPPOvXTm1WmLmZ 6X79JPlh4QlH3SbsKbSOuXELk11EMLbz32rOI8VtOeepdk/bOUs1T5jPwrmqvXNhqiER Bc9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id y1si13812772pgq.414.2017.06.02.21.59.53; Fri, 02 Jun 2017 21:59:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 46D717803F; Sat, 3 Jun 2017 04:59:45 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id EE09877EE4 for ; Sat, 3 Jun 2017 04:58:46 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id f127so3759859pgc.2 for ; Fri, 02 Jun 2017 21:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vWLLdgHLX4y3G6uce6ZNdrPFlBEnzlrcybzH5OqQqeE=; b=j4fZVZ9Y4afDNyQDfcSjfJRE82HdeywdPvuxAIucQmB38nHYTVqPz0IagkfahUUFH2 aYp3dtOhOZcswj2XE4xrJhe6YPezEVBsz79f35dWnSPKs20wTTEFfC73bkvYzcCn39Xv Ouy/0dYIQgd08n5BfSunfU14mnSA24sDyD2wQI3Gizhh6kBI+gJlQ9k3/fJnBuSTi6bn /4PmmeGKoXimHQF/QM/xYzLZNp320cfTRE2wOaoB1rgQp1p3sz18azh0OSNc+EFgSAj/ FVokltv6AqdB/pThkJzH3fn2h67Ca9W16DGrEXCg7iJyK2r91opKHoV2/GkZJ1O9yKVF ADaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vWLLdgHLX4y3G6uce6ZNdrPFlBEnzlrcybzH5OqQqeE=; b=BaMSQfzNFeMPkaLaHpHCHdsVD8ySdLH/Fm13EZ02aR9L3PhwLotCOxYZduKlvWWot4 CT1R+jiyzFInwDMO7l7B2Jv5LSUuGKMsaTrfs27rHMWHWeo0ExLVzllvM3XhUayPJVM+ yPTDKo5c4YcRNRqgo+cucbyuTg0X+82Dx8soX4Pr0ex/MsLvvXqTXk4wVevR3Bv439Fn 7TfjvFdCCIqMnVWD0eySMz1TL4ovnD5zWB5NaVaOyje6gIZGjnInHH2AGZRJSP5aG6Oh Dg2YqY2A661pRXds5WcHWrCbQ/SLPsJQciZ9I8UWmqpx6lN8WOtB8Pp/KBBoFzSALErd ejfw== X-Gm-Message-State: AODbwcBZ3GyyzzIIFPy0J/TRj2vc09UxMNyHa3mfiLBoXGVuHvunhhgt PlYS/HhaateUeK2R X-Received: by 10.99.126.20 with SMTP id z20mr10272928pgc.158.1496465927561; Fri, 02 Jun 2017 21:58:47 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::cf4]) by smtp.gmail.com with ESMTPSA id o29sm40732836pgc.27.2017.06.02.21.58.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 21:58:46 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 2 Jun 2017 21:58:32 -0700 Message-Id: <20170603045833.8120-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170603045833.8120-1-raj.khem@gmail.com> References: <20170603045833.8120-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 3/4] openipmi: Fix build with musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../openipmi/files/include_sys_types.patch | 17 +++++++++++++++++ meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb | 1 + 2 files changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/openipmi/files/include_sys_types.patch -- 2.13.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/openipmi/files/include_sys_types.patch b/meta-oe/recipes-support/openipmi/files/include_sys_types.patch new file mode 100644 index 000000000..58ec5d883 --- /dev/null +++ b/meta-oe/recipes-support/openipmi/files/include_sys_types.patch @@ -0,0 +1,17 @@ +include sys/types.h for u_int32_t + +ui.c:340:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? + u_int32_t addr; + ^~~~~~~~~ +Index: OpenIPMI-2.0.22/ui/ui.c +=================================================================== +--- OpenIPMI-2.0.22.orig/ui/ui.c ++++ OpenIPMI-2.0.22/ui/ui.c +@@ -42,6 +42,7 @@ + #include + #include + #include ++#include + #include + + #include diff --git a/meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb b/meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb index 82e8cac3e..9f4b0ff26 100644 --- a/meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb +++ b/meta-oe/recipes-support/openipmi/openipmi_2.0.22.bb @@ -30,6 +30,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \ file://ipmi-init-fix-the-arguments.patch \ file://makefile-add-ldflags.patch \ file://do-not-install-pyc-and-pyo.patch \ + file://include_sys_types.patch \ file://openipmi-helper \ file://ipmi.service \ " From patchwork Sat Jun 3 04:58:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 101303 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp52650qgd; Fri, 2 Jun 2017 22:00:01 -0700 (PDT) X-Received: by 10.99.125.18 with SMTP id y18mr10554474pgc.237.1496466000905; Fri, 02 Jun 2017 22:00:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496466000; cv=none; d=google.com; s=arc-20160816; b=jNBOb6NxT143FJRhnW83OJK1pUJXQe8sCmZ026b/AzZIs3KjgFD80sN00H8tlkD++7 f6xIl+ElI/Bno8XF6Tx7XJaoE4CcLtElTkQvpNeGVmYEpyt60fNQag2ajmn5z14o79qh Jnc1cPfmtegdAS0fdocqF2xDb03zKJmRMy2oWvA/ujTe9nlypw2wN9QNbjjmPHNNbgNn d5TS80tK2UbpWcHGWgmzSyoIUpYLB5R8zuHWYZ9b/3xFXrBHEOvXJTWXSYfDdW+O459K M6hrmhbrkudLsTMv0JS5h5KjcmKOsf8v/pHQ0In38vFxypbVgx8sUnDBqqYubaVtUJBj Thxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=G1cd6NozWy5lsLf4914W9NID7Wa3MoK41OWAdpoVRhw=; b=R+HbLh54mKK0xKE2laVLuf6S9h/28GBxeSRRm/6S9d+1UERFVBA/Kxo4i6arq03qw+ JJcwAjfnZFFLXBhIoB91/PCZOjiP3/jbmY159iE4ZvRWxwfZsTzFkG/RtyenDIh20JyE evF7BT9VRgRlL2JrsNt4RbnXwJYFoy0ibmyHJilBNYilmxlUkMMOCnLPMCMYpjbA9y/g Wpu77SsKMkBUdveZUOvGUJwyON6q01IZpRAGuMEZCjxlp8YNAkEqqedkner54ZU+piGZ 0GZk7DOJQF5c6CRtIaz9w6CRsS8rNq6TLahmkXZRXpwu01b3ryCy/3j4ZNmtzPvFVY/6 G+1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id m188si25138787pfc.105.2017.06.02.22.00.00; Fri, 02 Jun 2017 22:00:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9F5FC77F79; Sat, 3 Jun 2017 04:59:53 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 489BC77EE4 for ; Sat, 3 Jun 2017 04:58:47 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id v18so489442pgb.3 for ; Fri, 02 Jun 2017 21:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yCEJW+9x+EEH1dcgcq+9Q93U6Nh4VtO9txCPICDbNEM=; b=h4rzus64U0BTAKQ/wZikPnEgBJq4PIOWg3f7x/L53kOFgPbmry1hAXXZGxk0rzhtG9 t7xbIqNzXw2W8nSWGEm8eUF89EZq/yKV5sJuIU8Wf+oj8AKycirxRTzeX8e6tugGiypk +wrWQayHSeFtaMeo+OGMRWr+pJHSyJsxLOg0Vmd99HWW3FmPxlYD3JLD2++Rlrrg51cV bkYs7seZifAoZbo2u+gIrpvnJYk3T6BTBiz+J1Rpw7vtzkATD6YYFGtgQyDQ2DBhbJmm RfTLk9uQUcllfeGfoKixK8qAIT7TcsUtqFZV41MTswdNJ/3s0WFs0ZONC8PyvpgSar7D V5QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yCEJW+9x+EEH1dcgcq+9Q93U6Nh4VtO9txCPICDbNEM=; b=F31uNEBIqOaqIdyzj5mMSTfp2tgh/j0wtpVh8vkhuBcuGj9zrCX1pjj+P4ynZ99Ym8 E7RlkzwjmXL/alswNqnKIUh1gWi8TRdrVSZj3n0TWSKXwCURvJaGpOuq/yIGEk08OF4+ cztffp8UtzGFzVQTGVZhj46P+DB28+YHWbiso3zrM5Sl/ay7oEVH6ZxhAWSbBGliZEE4 q9KOLovM2mHHEYZ27IeV5ogOw4d3wc8j0Qs4X//zplVul/NO7hHs3jDMoBjnIKnvwXWj DDaFDh1Hf9vC3Y6MF8XXJL1YozN7feOX6mDwJaoI/eKv6x4StOBIKxEOrAhdxc0rkV8W EiEQ== X-Gm-Message-State: AODbwcA60O6dLddZUeZQpnem3MfKZpCAk9rFk6Y2sGcoS2pM5wTiPzhQ VqfGyEzsh2GpNdOe X-Received: by 10.84.129.65 with SMTP id 59mr3450943plb.166.1496465929025; Fri, 02 Jun 2017 21:58:49 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::cf4]) by smtp.gmail.com with ESMTPSA id o29sm40732836pgc.27.2017.06.02.21.58.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 21:58:47 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 2 Jun 2017 21:58:33 -0700 Message-Id: <20170603045833.8120-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170603045833.8120-1-raj.khem@gmail.com> References: <20170603045833.8120-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 4/4] samba: Fix build with musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../recipes-connectivity/samba/samba/glibc_only.patch | 15 +++++++++++++++ .../samba/samba/netdb_defines.patch | 19 +++++++++++++++++++ .../recipes-connectivity/samba/samba_4.6.2.bb | 2 ++ 3 files changed, 36 insertions(+) create mode 100644 meta-networking/recipes-connectivity/samba/samba/glibc_only.patch create mode 100644 meta-networking/recipes-connectivity/samba/samba/netdb_defines.patch -- 2.13.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-connectivity/samba/samba/glibc_only.patch b/meta-networking/recipes-connectivity/samba/samba/glibc_only.patch new file mode 100644 index 000000000..894bc8bb2 --- /dev/null +++ b/meta-networking/recipes-connectivity/samba/samba/glibc_only.patch @@ -0,0 +1,15 @@ +Index: samba-4.6.2/ctdb/tests/src/test_mutex_raw.c +=================================================================== +--- samba-4.6.2.orig/ctdb/tests/src/test_mutex_raw.c ++++ samba-4.6.2/ctdb/tests/src/test_mutex_raw.c +@@ -166,8 +166,10 @@ int main(int argc, const char **argv) + if (ret == 0) { + pthread_mutex_unlock(mutex); + } ++#ifdef __GLIBC__ + } else if (ret == EBUSY) { + printf("pid=%u\n", mutex->__data.__owner); ++#endif + } else if (ret == 0) { + pthread_mutex_unlock(mutex); + } diff --git a/meta-networking/recipes-connectivity/samba/samba/netdb_defines.patch b/meta-networking/recipes-connectivity/samba/samba/netdb_defines.patch new file mode 100644 index 000000000..eb06866f4 --- /dev/null +++ b/meta-networking/recipes-connectivity/samba/samba/netdb_defines.patch @@ -0,0 +1,19 @@ +Index: samba-4.6.2/nsswitch/wins.c +=================================================================== +--- samba-4.6.2.orig/nsswitch/wins.c ++++ samba-4.6.2/nsswitch/wins.c +@@ -39,6 +39,14 @@ static pthread_mutex_t wins_nss_mutex = + #define INADDRSZ 4 + #endif + ++#ifndef NETDB_INTERNAL ++#define NETDB_INTERNAL (-1) ++#endif ++ ++#ifndef NETDB_SUCCESS ++#define NETDB_SUCCESS 0 ++#endif ++ + NSS_STATUS _nss_wins_gethostbyname_r(const char *hostname, + struct hostent *he, + char *buffer, diff --git a/meta-networking/recipes-connectivity/samba/samba_4.6.2.bb b/meta-networking/recipes-connectivity/samba/samba_4.6.2.bb index 38876c2c3..7574aefb4 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.6.2.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.6.2.bb @@ -18,6 +18,8 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \ file://21-add-config-option-without-valgrind.patch \ file://0001-packaging-Avoid-timeout-for-nmbd-if-started-offline-.patch \ file://0006-avoid-using-colon-in-the-checking-msg.patch \ + file://netdb_defines.patch \ + file://glibc_only.patch \ file://volatiles.03_samba \ " SRC_URI_append_libc-musl = " \