From patchwork Wed Jun 13 06:35:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 138420 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp339248lji; Wed, 13 Jun 2018 00:01:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIUfHcVUfbyEB/cd04GtTpaecvs9qnueKvljasDLKTXn1/SoKQ2cBg2Mz8GdDVdbJAu956M X-Received: by 2002:a62:40dc:: with SMTP id f89-v6mr3635483pfd.194.1528873277729; Wed, 13 Jun 2018 00:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528873277; cv=none; d=google.com; s=arc-20160816; b=w9CT/w3sTZp7ydhZIww1GfpDlLPWc4HZsw8Md7Gp4l9xUMqXynNk7xMl3kgYjCX3kh kOSkAOQyKm8u9vhdW2g7LDXZu0r7riGzP9L40eD3ih9kXtd1KQpFZeBF7SBuv/CO4NAp eobocG9AlYKIVRjKd62twEMHq+gL+OrD3XO49ConsXigBGHVrIMnuU1w/gqwVZSv7C/I sWNf6Vu+WhIh70XNIz/hs/t7zdpdAFFFb8iDKqC4FNSH2mtT3q/Cn7vvB44k4zmI17pN +CIeZh+IQdVXapW94ubHP+zYksU0ca99cAp2MQRqGBpK8YyRlCoDJ92G92w16spvi4wy Xq9A== 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=66AeqBF3S2hinJaMM4GZobnkei8bmkzoYtAi5L0DUOU=; b=o4TUSHJm0SyVItaNnX8f5oUej6eanmgPdfxi863lLPMCD6XvxFzTwgJx0/2M+5a04z xThTE6vnTYS8ed6QFqHQ4DR4GYAgnO4ma06R42qxQnDbqhj6Xo6bFwF41/VmPEPeumIS nf6uBtDnm6UYLMRzRPA4kQ/Gi3NuhXuyc1f8/lfFagcnZHJIMTKytMFzL1CYScJAODvI 998QzQ406ogRF5+mEuakQ/HEdRhdDFaMY+vBpfctlfrNJCjXr8j4JfhX8mRT9vWGfkDF 7tu3lvFPnFI6wgZqWZr3fOLe4I6KfeS6M23cbz5uDnWc1ZOfR3Vo7ZzwdVqof4bW32f1 3xnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=U0v465XQ; 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=QUARANTINE 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 x13-v6si1962379pfn.286.2018.06.13.00.01.17; Wed, 13 Jun 2018 00:01:17 -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 header.s=20161025 header.b=U0v465XQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 072D479095; Wed, 13 Jun 2018 07:01:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f46.google.com (mail-pl0-f46.google.com [209.85.160.46]) by mail.openembedded.org (Postfix) with ESMTP id 2E05F7450D for ; Wed, 13 Jun 2018 06:35:13 +0000 (UTC) Received: by mail-pl0-f46.google.com with SMTP id f1-v6so926730plt.6 for ; Tue, 12 Jun 2018 23:35:14 -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=+Bd7RKV6IrhNn0AexGKhf04ncgGOoHqlK0YWxS/uf2Y=; b=U0v465XQg9hH/vM5tf/w1bHrArv6DykhypQN47T07guXoanCIqZVfO+Dh6Yt9ihsqG u3rgQ9l7reb8kRIXrNMQ2habSp1Qv3tfqTHPBeMVDA5hsOofBAUYxCvTwL6rccyzHtIr aGHcPmUbLjzSyAp2MEQ8shtWQbOKZ2rNMpk+PWK+O6kVm4R0T5SKlOmqJJ87EBH3JRYL lFjlN7eqBuFsT8w9TDZLpCmMc7L3vB00sEmduNHGhBB/A/HY8PwXecZPKYbSNjdunRpF bdnE6wlWZRa2oIuN1MN5nVcwutmdrDeG0lvR2TPtJDgpg9xgomy2O/xQYN8MOr9i27Kn 3SOg== 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=+Bd7RKV6IrhNn0AexGKhf04ncgGOoHqlK0YWxS/uf2Y=; b=i/hKPeyO1jAJitnnciuQHuGaYF2FrBXAnMXWJ7W1rKo6TFoVjuS7gLzuMk9UmEfn5n j5tMv6IYdK3wzmqfeDMgGzvllHIWgGwtfol8lLVrwhvg6DU3wBMJ0MJRrxU/iq2CXhWD HZRwhizsE/xuXxO5ie6d7hxKulzSin2w7qmzd6Lg/VGk39bkkZs8sTFRilSeTTH+GMKB 0+kF2J6tEDyRorieJQ0sIemsvngcdhBFs/CYPnEPZ9pbzHvlL3v0cJYF4X0WFVSAl6kA 7di87iMl1qwUOG/c4NTUT537wxewc9/18xHRKC0XLRk3pxu2Ew0S8Mb73dvvEgHsfjOo LSJw== X-Gm-Message-State: APt69E0e42g5woUEIemhDmmzI/+wV55E/4FyGQc6NZdbirQ3EegVNu7u royyyAS4Hna944S4g3bX0pEeMA== X-Received: by 2002:a17:902:264:: with SMTP id 91-v6mr3668351plc.341.1528871713963; Tue, 12 Jun 2018 23:35:13 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id b83-v6sm3525707pfe.159.2018.06.12.23.35.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 23:35:13 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 12 Jun 2018 23:35:10 -0700 Message-Id: <20180613063512.1755-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613063512.1755-1-raj.khem@gmail.com> References: <20180613063512.1755-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH V2 3/5] celt051: Fix building testcases 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 --- ...tcode.c-into-test-sources-to-provide.patch | 55 +++++++++++++++++++ .../recipes-support/celt051/celt051_git.bb | 5 +- 2 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 meta-networking/recipes-support/celt051/celt051/0001-tests-Include-entcode.c-into-test-sources-to-provide.patch -- 2.17.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/celt051/celt051/0001-tests-Include-entcode.c-into-test-sources-to-provide.patch b/meta-networking/recipes-support/celt051/celt051/0001-tests-Include-entcode.c-into-test-sources-to-provide.patch new file mode 100644 index 0000000000..cc893f0999 --- /dev/null +++ b/meta-networking/recipes-support/celt051/celt051/0001-tests-Include-entcode.c-into-test-sources-to-provide.patch @@ -0,0 +1,55 @@ +From 61fbdddb660c5944ac23b820754a7c4cf4eee097 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 8 Jun 2018 19:29:03 -0700 +Subject: [PATCH] tests: Include entcode.c into test sources to provide + definitions of functions e.g. ec_ilog() + +Fixes link errors in tests +| /usr/src/debug/celt051/0.5.1.3+gitAUTOINC+5555aae843-r0/git/tests/../libcelt/rangedec.c:202: undefined reference to `ec_ilog' + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + tests/cwrs32-test.c | 1 + + tests/ectest.c | 2 +- + tests/laplace-test.c | 1 + + 3 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/tests/cwrs32-test.c b/tests/cwrs32-test.c +index 3a95df2..a159ab3 100644 +--- a/tests/cwrs32-test.c ++++ b/tests/cwrs32-test.c +@@ -8,6 +8,7 @@ + #include "rangeenc.c" + #include "rangedec.c" + #include "cwrs.c" ++#include "entcode.c" + #include + #define NMAX (10) + #define MMAX (9) +diff --git a/tests/ectest.c b/tests/ectest.c +index aa35453..94eb9a3 100644 +--- a/tests/ectest.c ++++ b/tests/ectest.c +@@ -5,7 +5,7 @@ + #include + #include + #include +-#include "entcode.h" ++#include "entcode.c" + #include "entenc.c" + #include "entdec.c" + #include "rangeenc.c" +diff --git a/tests/laplace-test.c b/tests/laplace-test.c +index 3f98ab3..8e1fb4e 100644 +--- a/tests/laplace-test.c ++++ b/tests/laplace-test.c +@@ -6,6 +6,7 @@ + #include + #include "laplace.c" + #include "stack_alloc.h" ++#include "entcode.c" + #include "entenc.c" + #include "entdec.c" + #include "rangeenc.c" diff --git a/meta-networking/recipes-support/celt051/celt051_git.bb b/meta-networking/recipes-support/celt051/celt051_git.bb index 850704f5af..116800522a 100644 --- a/meta-networking/recipes-support/celt051/celt051_git.bb +++ b/meta-networking/recipes-support/celt051/celt051_git.bb @@ -17,8 +17,9 @@ PV = "0.5.1.3+git${SRCPV}" SRCREV = "5555aae843f57241d005e330b9cb65602d56db0f" SRC_URI = "git://git.xiph.org/celt.git;branch=compat-v0.5.1;protocol=https \ - file://0001-configure.ac-make-tools-support-optional.patch \ -" + file://0001-configure.ac-make-tools-support-optional.patch \ + file://0001-tests-Include-entcode.c-into-test-sources-to-provide.patch \ + " S = "${WORKDIR}/git"