From patchwork Tue Apr 25 03:47:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98164 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767656qgf; Mon, 24 Apr 2017 20:48:24 -0700 (PDT) X-Received: by 10.107.131.224 with SMTP id n93mr13819735ioi.39.1493092104034; Mon, 24 Apr 2017 20:48:24 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id j36si22785356ioo.201.2017.04.24.20.48.23; Mon, 24 Apr 2017 20:48:24 -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 76DD677AB5; Tue, 25 Apr 2017 03:48:20 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-io0-f194.google.com (mail-io0-f194.google.com [209.85.223.194]) by mail.openembedded.org (Postfix) with ESMTP id 8516877A65 for ; Tue, 25 Apr 2017 03:47:32 +0000 (UTC) Received: by mail-io0-f194.google.com with SMTP id d203so52527424iof.2 for ; Mon, 24 Apr 2017 20:47:33 -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=xT0IFuoOmrEAGMe+0VTAbazoiIKJTMubnkCwMu6JoBk=; b=MYHmzvmB3cnGvB7bm1VX+DXa/M0uuqQwes5M/pEvk4qw5gGGwc6CvgZC6yhdoITTyi QYAEFl/vgZ8As3CcqJryGugl1izNkbNdFuCEffUATCI+jqY+8kr0chuyXS5e59iX7e8e Aiw6itgtWop6fh4+Gqpv6cOuC0TMWPUZTdLc53Oe0v5IOusgSe1izWc5nIGXgNbOO6tf WQaDrSn1hFFNyeAIIdBN/zO5xXy8OXBgdEoLKo42bgAw/2ovyG90u+PZPKTeDeFzwwdk mlPYV7Rh8sbn+uRDTt/7IAf9t1Uo9iYQkJjPnL6Kd9jRSCo87IoukQ6S5nU/iYt4+DlW 0Qjg== 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=xT0IFuoOmrEAGMe+0VTAbazoiIKJTMubnkCwMu6JoBk=; b=fsD+QXBFzOKOXaqUrTu73MXz/nO06+MCC/0/9NknT3dJxkbbZ2+XlOJaYEyvN/s1Lc peDwoGJMcA6gRjXaTnf+5WbCAcT9ir2MrPa+sN/CPrLpnBO6sHE7bxipgVMq0AzT9AHA mN1LvYxNpLVzh/FG1NNsJARyZNyMy22KZB0iCkce3NPvz0gfwdaKcn21HL10MNEg38id npqE+c2bAZSvsR5oOx/RmFQKDjz6W6IEVoKNcFyxGkryT2QRmelIxBoDmlHbtolfEWt1 YcTlc5znt5CWvYWaonvnEi+1d/J/gpiveA3RNHyxhp9Sir+o9YnpEGhZ1WPANd0zadkr +FbQ== X-Gm-Message-State: AN3rC/5O/JB1PuF6l/SUtmKiVNxViRBJvPw0ZCAWDGwG6hxUOktSzRKG ue2T/gsl+40yGw== X-Received: by 10.107.134.76 with SMTP id i73mr11392031iod.0.1493092053497; Mon, 24 Apr 2017 20:47:33 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:32 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:09 -0700 Message-Id: <20170425034719.8630-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 Subject: [oe] [meta-oe][ 01/11] mpv: Add libxkbcommon when configuring with wayland 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 Fixes Package xkbcommon was not found in the pkg-config search path. Perhaps you should add the directory containing `xkbcommon.pc' to the PKG_CONFIG_PATH environment variable No package 'xkbcommon' found Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb index ce7b3d1e1..b1da2175d 100644 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb @@ -37,7 +37,7 @@ PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack" PACKAGECONFIG[vaapi] = "--enable-vaapi, --disable-vaapi,libva" PACKAGECONFIG[vdpau] = "--enable-vdpau, --disable-vdpau,libvdpau" -PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland,wayland" +PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland,wayland libxkbcommon" SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}" From patchwork Tue Apr 25 03:47:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98163 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767526qgf; Mon, 24 Apr 2017 20:47:46 -0700 (PDT) X-Received: by 10.107.186.134 with SMTP id k128mr10809556iof.83.1493092066048; Mon, 24 Apr 2017 20:47:46 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l192si8857309iol.42.2017.04.24.20.47.45; Mon, 24 Apr 2017 20:47:46 -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 0DCEF77AB5; Tue, 25 Apr 2017 03:47:37 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-io0-f195.google.com (mail-io0-f195.google.com [209.85.223.195]) by mail.openembedded.org (Postfix) with ESMTP id 2995F77A50 for ; Tue, 25 Apr 2017 03:47:33 +0000 (UTC) Received: by mail-io0-f195.google.com with SMTP id k87so52124604ioi.0 for ; Mon, 24 Apr 2017 20:47:35 -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=fze47jAVqqQbWf0/r4UF8QFeO58GmkMqTzqN/ERm3dc=; b=SswCkSs87bs3xkoIn9ZYyxQNHgfD2/IKgqvJ2Ijx5DRcqwDD3jDPDGYWZR8jmu0IVB ttmR2wGCproKkHBwTVsEapkx96m3aLfjFpA1kIfQzPohx1Pkwd3pHB7HXI0NRcl03W+t Sus8iacngrwGtSDD1BFjUxBmm4RtCiOa7cdPpcabFQdp+yukA8vyFEeiDlVSxjme3hot /nJtU7kKonoDkxtQmHedYrS25s1DQOBkusAv4ksexfGPMvlIUA4k6bn0AdtQrr1sbYUD bQhQ7PF7feW4wsQcdEOttIvjRCD/m32F8TukfgTdYRnrangsvznKFxN7xVjotl6HwPUi Bc6Q== 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=fze47jAVqqQbWf0/r4UF8QFeO58GmkMqTzqN/ERm3dc=; b=N0Ykfe1NgnZ7LfCJerwAg4bsqDvkYITWSf2MXMkhArLOZUvXDcfIStg3CS4E3OHk6r 9wCA+3nvkTwNTBqOqQ4g/sGIHkFpyzUc0mqUl/+Dj2ril1+j6CmPs4QIlPRsOo5Rx972 L1q/WnZTdrXCGIr2SEofH0kTKzEp5cD4ePgvKhmdIACI+x6zeel2VF7lgl8XswGYxUUz oAou3lUq/Qs8p1aydKFKD9+0xVumysthLV0XGlzwqQ4uen9BE0amksUPZjUfxDvI8fLa /yqBYO68z9LeKnJ+uJt+2vq2ib6WBggDe57Bplv3H67ASLu8drRS0j8qRwWFNZifdFiN gbaw== X-Gm-Message-State: AN3rC/7eKXpl271tlfY1ZUz6j9Kf5woCeJoRZ9keEiYg/dPhm2jctXBH Rfh1LxRnqEJp9M3D X-Received: by 10.107.8.226 with SMTP id h95mr11485843ioi.163.1493092055031; Mon, 24 Apr 2017 20:47:35 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:34 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:10 -0700 Message-Id: <20170425034719.8630-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][ 02/11] msgpack-c: Drop unused patch 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 --- .../304ff96d04599401172568d042723ff507e78cc3.patch | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 meta-oe/recipes-devtools/msgpack/msgpack-c/304ff96d04599401172568d042723ff507e78cc3.patch -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-c/304ff96d04599401172568d042723ff507e78cc3.patch b/meta-oe/recipes-devtools/msgpack/msgpack-c/304ff96d04599401172568d042723ff507e78cc3.patch deleted file mode 100644 index b8b3d3187..000000000 --- a/meta-oe/recipes-devtools/msgpack/msgpack-c/304ff96d04599401172568d042723ff507e78cc3.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 304ff96d04599401172568d042723ff507e78cc3 Mon Sep 17 00:00:00 2001 -From: James McCoy -Date: Thu, 13 Apr 2017 11:38:45 -0400 -Subject: [PATCH] Comment the intentional fallthrough to default from - _fixed_trail_again - -GCC 7 added a new diagnostic, -Wimplicit-fallthrough, which is enabled -with -Wextra that warns about implicitly falling through a case -statement. - - [ 4%] Building C object CMakeFiles/msgpackc-static.dir/src/unpack.c.o - /usr/lib/gcc-snapshot/bin/gcc -I/home/jamessan/src/msgpack-c/. -I/home/jamessan/src/msgpack-c/include -I/home/jamessan/src/msgpack-c/build/include -g -O2 -fdebug-prefix-map=/home/jamessan/src/msgpack-c=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -g -O3 -o CMakeFiles/msgpackc-static.dir/src/unpack.c.o -c /home/jamessan/src/msgpack-c/src/unpack.c - In file included from /home/jamessan/src/msgpack-c/src/unpack.c:283:0: - /home/jamessan/src/msgpack-c/include/msgpack/unpack_template.h: In function 'template_execute': - /home/jamessan/src/msgpack-c/include/msgpack/unpack_template.h:238:17: error: this statement may fall through [-Werror=implicit-fallthrough=] - ++p; - ^~~ - /home/jamessan/src/msgpack-c/include/msgpack/unpack_template.h:240:13: note: here - default: - ^~~~~~~ - cc1: all warnings being treated as errors - -Adding the comment makes it explicit that the fallthrough is -intentional, so gcc doesn't complain. ---- - include/msgpack/unpack_template.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/include/msgpack/unpack_template.h b/include/msgpack/unpack_template.h -index 8450442..e557bb6 100644 ---- a/include/msgpack/unpack_template.h -+++ b/include/msgpack/unpack_template.h -@@ -236,6 +236,7 @@ msgpack_unpack_func(int, _execute)(msgpack_unpack_struct(_context)* ctx, const c - - _fixed_trail_again: - ++p; -+ // fallthrough - - default: - if((size_t)(pe - p) < trail) { goto _out; } From patchwork Tue Apr 25 03:47:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98165 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767667qgf; Mon, 24 Apr 2017 20:48:30 -0700 (PDT) X-Received: by 10.36.1.213 with SMTP id 204mr17807657itk.51.1493092110294; Mon, 24 Apr 2017 20:48:30 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x64si8003286iof.38.2017.04.24.20.48.30; Mon, 24 Apr 2017 20:48:30 -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 9C3AA77B96; Tue, 25 Apr 2017 03:48:21 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-io0-f177.google.com (mail-io0-f177.google.com [209.85.223.177]) by mail.openembedded.org (Postfix) with ESMTP id 0B42977A50 for ; Tue, 25 Apr 2017 03:47:35 +0000 (UTC) Received: by mail-io0-f177.google.com with SMTP id r16so201687999ioi.2 for ; Mon, 24 Apr 2017 20:47:37 -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=CFkT7FuY6aO0s2MXH42vBkNufBxpzVoffEiEIL7wuHk=; b=mbWgWTqZPkPCOy4tHz7Dt2/OXwFAu16pPTCxItLDhyU61jlsvKCQsJRIifVpCC+AVi udsv+yt9UD/1qtqLTvnrg8xlJV39SvY+hV/xUYrd2r5gawuS/GV6cEYhDUEQEbBdgQGa 8OrWOSfOxqlupm2EAoJCx3tafF04nuQO3LP7xbHKsi14EJWccOyRzsKYQVK1u5iYIbnO 5menOhnRpZRfvt0u3Fnh06pJM5G5Au88GWJ3SQJfzSQkZuaayEe7oL2lAHmY92rZW5h+ 9qvl+lvtk26OLiQwzuGvGiHQ2BzFBUff1PzP/HgBqgAGJLDRvTzdoMgxXZjef79DOKFk DLPg== 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=CFkT7FuY6aO0s2MXH42vBkNufBxpzVoffEiEIL7wuHk=; b=iDcz8lMzJsH3JQ/Ey558IE0XyZICkRALRMJ3rPcxOCKiMO8CgYjV41YMpVETGS18tX /HABFWzchcNnP+M7OSy/Ur6hJNjGDlW6IIuaiD2iLZ0ck2gfbZseSmSNIM0r+0t9aZE2 NYXuD/5+kGt1esA4NpHCQvAbA3fKAJz3z5itQyKj6g6z6ZXJdlVOS4y2FIA1MlJiHwi/ Cc46Ogb0qZr1uNIFLbvzTCwLZ0/EC7c4Inlgvlo69kWJHoU1YA5ts3xd8a4MKzSQl6/I RjtMgPb/H5C0v7JKgB6TpdyH6YaG5BH+ahdK6ByqfhPxIFqY/roRoamsx7XzlRTXABSQ q+vg== X-Gm-Message-State: AN3rC/7lPcv8Tzc/iCwZmVsGTuMbm33hblfIyyUd56g07sp6kC91Fnp+ AodY+IpqZ9eo9o+g X-Received: by 10.107.131.71 with SMTP id f68mr11407975iod.40.1493092056709; Mon, 24 Apr 2017 20:47:36 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:35 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:11 -0700 Message-Id: <20170425034719.8630-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][ 03/11] yp-tools: Fix build with gcc7 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 --- ...01-lib-yp_all_host.c-Fix-build-with-gcc-7.patch | 33 ++++++++++++++++++++++ .../recipes-support/nis/yp-tools_3.3.bb | 3 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch b/meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch new file mode 100644 index 000000000..d1d5f9ca7 --- /dev/null +++ b/meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch @@ -0,0 +1,33 @@ +From 71fdfdfcea2bfa5f522512366bfcdf95f861ecc6 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 23 Apr 2017 23:44:37 -0700 +Subject: [PATCH] lib/yp_all_host.c: Fix build with gcc 7 + +fixes + +| ../../../../../../../workspace/sources/yp-tools/lib/yp_all_host.c: In function 'yp_all_host': +| ../../../../../../../workspace/sources/yp-tools/lib/yp_all_host.c:109:30: error: comparison between pointer and zero character constant [-Werror=pointer-compare] +| inmap == NULL || inmap == '\0') +| ^~ + +Signed-off-by: Khem Raj +--- + lib/yp_all_host.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/yp_all_host.c b/lib/yp_all_host.c +index 59cf236..4a07a7e 100644 +--- a/lib/yp_all_host.c ++++ b/lib/yp_all_host.c +@@ -106,7 +106,7 @@ yp_all_host (const char *indomain, const char *inmap, + + if (hostname == NULL || hostname[0] == '\0' || + indomain == NULL || indomain[0] == '\0' || +- inmap == NULL || inmap == '\0') ++ inmap == NULL || inmap[0] == '\0') + return YPERR_BADARGS; + + res = YPERR_YPERR; +-- +2.12.2 + diff --git a/meta-networking/recipes-support/nis/yp-tools_3.3.bb b/meta-networking/recipes-support/nis/yp-tools_3.3.bb index 69217fad1..7bd4630f7 100644 --- a/meta-networking/recipes-support/nis/yp-tools_3.3.bb +++ b/meta-networking/recipes-support/nis/yp-tools_3.3.bb @@ -15,7 +15,8 @@ SRC_URI = "http://www.linux-nis.org/download/yp-tools/${BP}.tar.bz2 \ file://domainname.service \ file://yp-tools-ipv4-ipv6-Provide-an-in-place-version-of-mapv4v6addr.patch \ file://alignment-cheat.patch \ -" + file://0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch \ + " SRC_URI[md5sum] = "acebeecc11a73fb8097503670344834c" SRC_URI[sha256sum] = "812be817df3d4c25813552be336c6c6ad5aedaf65611b81af3ad9f98fb3c2e50" From patchwork Tue Apr 25 03:47:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98166 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767689qgf; Mon, 24 Apr 2017 20:48:37 -0700 (PDT) X-Received: by 10.107.58.197 with SMTP id h188mr11269138ioa.221.1493092117450; Mon, 24 Apr 2017 20:48:37 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 70si22869600ioq.109.2017.04.24.20.48.37; Mon, 24 Apr 2017 20:48:37 -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 DDF1B77BC1; Tue, 25 Apr 2017 03:48:22 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-it0-f65.google.com (mail-it0-f65.google.com [209.85.214.65]) by mail.openembedded.org (Postfix) with ESMTP id BA94077A50 for ; Tue, 25 Apr 2017 03:47:37 +0000 (UTC) Received: by mail-it0-f65.google.com with SMTP id 70so1438325ita.2 for ; Mon, 24 Apr 2017 20:47:39 -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=KpqmkWrNS5QkTkShQP6V83+FDp0TPJKxT8DsgnEhugE=; b=PeCUIfv7x16tnwgGbs5yBW2gAR2ZJyGRhrs1Sc5/hYW23o+4Rs7nOmaAC9Q3j1NpY2 F/Y3MpYj7S6QofTOs1V9j6NbvpClj9bSvyRjwFreNJBGlfTmFIikUBOSpmHpJWstbKgw HPHOCW6iRd54ZCCnH7yIRJegM7qxQJbvDl9oBexVe677nJ/ngeEgXRDKAnnz/o5VuQ0g vD3cgVoIEZRkK3Fz46egUffN82W/D1VMxDEgcgc7nijyR8azw4hoTYLC69+nZCRewJS6 vBbEDb0FRNm4QhY54r44/9yW3VHS/5Xr/4OKoa3oZp6ySwCGVFoHOT1kebXQY92umMcx Rk7A== 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=KpqmkWrNS5QkTkShQP6V83+FDp0TPJKxT8DsgnEhugE=; b=XVoRp2LWE5TI58gALt9zsJQx4kYna+P4SttPM+W1tJJTrDMEWZdLTVwKKdAvZWiZuW 3+Ji0UxH7DqIqXpes/Yb0Vq3GrbKLL+wR3PFptWzdnZlZYb5zfoC5jWzdQ5k4j26Mad9 INHiiRE69iGpmko2HPWmwhgn/Vwub9LDhckG7jluKU+B+KDynM38qcbmTlLO87pxxt5I NgOgqKtUUWmlpMPUrU2iW1/ARjrhmiPG4U+1huzt0jDr5UCgFGbkXlzkDGWClzS3OhcB T7bZ/f6StgJXTcssR4CZ+fjO8qpp5WSwY2SqEV5sd4tf4gIBwe577x4wt99t2D8+QvD8 X0Tw== X-Gm-Message-State: AN3rC/7CPhZ29BYaqu6MovXfB72O0KmdP2Fhg5hJUYaFvRg/9CmNfvt+ 6eWHz7+K3FhrRQ== X-Received: by 10.36.16.83 with SMTP id 80mr1714397ity.65.1493092058752; Mon, 24 Apr 2017 20:47:38 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:37 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:12 -0700 Message-Id: <20170425034719.8630-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-python][ 04/11] python-unidiff: Upgrade to 0.5.3 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 --- .../python/{python-unidiff_0.5.2.bb => python-unidiff_0.5.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python-unidiff_0.5.2.bb => python-unidiff_0.5.3.bb} (70%) -- 2.12.2 -- _______________________________________________ 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-unidiff_0.5.2.bb b/meta-python/recipes-devtools/python/python-unidiff_0.5.3.bb similarity index 70% rename from meta-python/recipes-devtools/python/python-unidiff_0.5.2.bb rename to meta-python/recipes-devtools/python/python-unidiff_0.5.3.bb index 3b018c750..6d40cca74 100644 --- a/meta-python/recipes-devtools/python/python-unidiff_0.5.2.bb +++ b/meta-python/recipes-devtools/python/python-unidiff_0.5.3.bb @@ -3,8 +3,8 @@ HOMEPAGE = "http://github.com/matiasb/python-unidiff" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" -SRC_URI[md5sum] = "20dd70ba5a35bc95bf869322d6852227" -SRC_URI[sha256sum] = "344330ec3637e96b44dca77e086b205645b55648cf4d2b80fc673200f8a6a7e9" +SRC_URI[md5sum] = "31a61729e64ee409135a2ccec80c7104" +SRC_URI[sha256sum] = "79b4be3e5479dfc6d77747d23ec98200559ca6a842fad1f92c2a7eb56b99195b" inherit pypi setuptools From patchwork Tue Apr 25 03:47:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98167 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767724qgf; Mon, 24 Apr 2017 20:48:46 -0700 (PDT) X-Received: by 10.107.151.16 with SMTP id z16mr11349521iod.98.1493092126648; Mon, 24 Apr 2017 20:48:46 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 29si22847847iop.49.2017.04.24.20.48.46; Mon, 24 Apr 2017 20:48:46 -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 A529177AC7; Tue, 25 Apr 2017 03:48:31 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-it0-f67.google.com (mail-it0-f67.google.com [209.85.214.67]) by mail.openembedded.org (Postfix) with ESMTP id 7622F77A50 for ; Tue, 25 Apr 2017 03:47:39 +0000 (UTC) Received: by mail-it0-f67.google.com with SMTP id z67so20166438itb.0 for ; Mon, 24 Apr 2017 20:47:40 -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=Iki3NCO4/nI5cRyNJV1Xjc+wvL71hh5QKfuS38xbPGY=; b=UhG+qNrD6r5372SSQ4pRl5UDp5gwcA42VpdmuIWbcJTVkQW+UounSolEkikiistaGw glxuz5OMQMlgZhN+l4YkDULdjKgs3zn80C4ShnPFb1VYii22qCXXkRmVAiuGBhRaMABD 3HAzQm1jDl1rCLYqtZre8+IzmIaaobosKkkkN97nWpZaW40bDitQnJ1b1ksY1mD748NF 9/QI3gc41XLiHV2WrfR5EE3os6Tt5ruNFNgPH+K6VBpS6p6tqA8DH4lNuwhUZHZQFT0G YfsjAIm4CKPzfD3Rz1kAMf9wlmTMiiJZyg3mN2PF/mRdq/tjTjE0stX2C+kirP+SYay6 +Z4w== 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=Iki3NCO4/nI5cRyNJV1Xjc+wvL71hh5QKfuS38xbPGY=; b=PsWWh+b1KDBL2V5ewwrSK6FS58op3KvbXoOx6wpTaWo5H7hmxM6sE5Tcu+TtINRAYd T95gOUF9ZO5YTQuVnrgkVfgbAVB3UgIGizTWcGmdwPXzn3GmY8JE84hZyV0lMjNlPuSJ zCZCzItM6pyRaeSUry73U00iLtGkARuYwhK/Q9aQJPZiz9MbiIVfxNs3HWrovRV2xH31 JE87Otn/EKi7hlrDkHlIa101Er9KMLzcEKgbhFPc38pUJdfwNLSmBfD8C2F8yfH0QpF5 TQIh+GJf8dHiRwr7+KI62mzz+ll49wL7Cxn6P2W2EjvEznKlCShEKlvF9d7p6cKIQnpO yH/w== X-Gm-Message-State: AN3rC/59FUwxscx/9rvJiDAvrC+d1UkSuB/R6eBZajt94VEK4bvd3VHP 2CCWyIEKO20Bvkzi X-Received: by 10.36.246.72 with SMTP id u69mr17753963ith.79.1493092060229; Mon, 24 Apr 2017 20:47:40 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:39 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:13 -0700 Message-Id: <20170425034719.8630-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][ 05/11] efivar: Backport patches to remove double const decls 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 Helps fixing build with gcc 7 Signed-off-by: Khem Raj --- ...some-extra-const-that-gcc-complains-about.patch | 44 +++++++++++++++ ...-version-new-way-symbol-versioning-breaks.patch | 66 ++++++++++++++++++++++ meta-oe/recipes-extended/efivar/efivar_0.24.bb | 2 + 3 files changed, 112 insertions(+) create mode 100644 meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch create mode 100644 meta-oe/recipes-extended/efivar/efivar/0002-New-gcc-version-new-way-symbol-versioning-breaks.patch -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch b/meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch new file mode 100644 index 000000000..4ae8cb90f --- /dev/null +++ b/meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch @@ -0,0 +1,44 @@ +From 29a2dea16113b5a8e51de46437c6a9f7426c5867 Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Mon, 6 Feb 2017 14:28:19 -0500 +Subject: [PATCH 1/2] Remove some extra "const" that gcc complains about. + +One of these days I'll get these right. + +Signed-off-by: Peter Jones +--- + src/include/efivar/efiboot-loadopt.h | 4 ++-- + src/loadopt.c | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/include/efivar/efiboot-loadopt.h b/src/include/efivar/efiboot-loadopt.h +index 07db5c4..efc29c6 100644 +--- a/src/include/efivar/efiboot-loadopt.h ++++ b/src/include/efivar/efiboot-loadopt.h +@@ -32,8 +32,8 @@ extern ssize_t efi_loadopt_create(uint8_t *buf, ssize_t size, + + extern efidp efi_loadopt_path(efi_load_option *opt, ssize_t limit) + __attribute__((__nonnull__ (1))); +-extern const unsigned char const * efi_loadopt_desc(efi_load_option *opt, +- ssize_t limit) ++extern const unsigned char * efi_loadopt_desc(efi_load_option *opt, ++ ssize_t limit) + __attribute__((__visibility__ ("default"))) + __attribute__((__nonnull__ (1))); + extern uint32_t efi_loadopt_attrs(efi_load_option *opt) +diff --git a/src/loadopt.c b/src/loadopt.c +index 64e333f..ec50722 100644 +--- a/src/loadopt.c ++++ b/src/loadopt.c +@@ -336,7 +336,7 @@ teardown(void) + + __attribute__((__nonnull__ (1))) + __attribute__((__visibility__ ("default"))) +-const unsigned char const * ++const unsigned char * + efi_loadopt_desc(efi_load_option *opt, ssize_t limit) + { + if (last_desc) { +-- +2.12.2 + diff --git a/meta-oe/recipes-extended/efivar/efivar/0002-New-gcc-version-new-way-symbol-versioning-breaks.patch b/meta-oe/recipes-extended/efivar/efivar/0002-New-gcc-version-new-way-symbol-versioning-breaks.patch new file mode 100644 index 000000000..737b78b01 --- /dev/null +++ b/meta-oe/recipes-extended/efivar/efivar/0002-New-gcc-version-new-way-symbol-versioning-breaks.patch @@ -0,0 +1,66 @@ +From 31e655d2b5f66e772d9714422b7332bbaa60d2e6 Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Mon, 6 Feb 2017 14:41:58 -0500 +Subject: [PATCH 2/2] New gcc version, new way symbol versioning breaks. + +Apparently I get to redo this every time there's a compiler release. +Yaaaaaay. + +Anyway, the current method is to define the two compat things from the +land before time as @libefivar.so.0 symbols and list them there in the +link map. Then we have the real one defined with another name, and set +as efi_set_variable@@LIBEFIVAR_0.24. Then to make there actually be a +efi_set_variable symbol to link against, we create it as a weak alias. + +This is all completely absurd. + +Signed-off-by: Peter Jones +--- + src/lib.c | 17 ++++++++++++----- + 1 file changed, 12 insertions(+), 5 deletions(-) + +diff --git a/src/lib.c b/src/lib.c +index 6a9b392..afa7d94 100644 +--- a/src/lib.c ++++ b/src/lib.c +@@ -49,7 +49,7 @@ _efi_set_variable(efi_guid_t guid, const char *name, uint8_t *data, + { + return ops->set_variable(guid, name, data, data_size, attributes, 0600); + } +-__asm__(".symver _efi_set_variable,_efi_set_variable@"); ++__asm__(".symver _efi_set_variable,_efi_set_variable@libefivar.so.0"); + + int + __attribute__((__nonnull__ (2, 3))) +@@ -59,17 +59,24 @@ _efi_set_variable_variadic(efi_guid_t guid, const char *name, uint8_t *data, + { + return ops->set_variable(guid, name, data, data_size, attributes, 0600); + } +-__asm__(".symver _efi_set_variable_variadic,efi_set_variable@"); ++__asm__(".symver _efi_set_variable_variadic,efi_set_variable@libefivar.so.0"); + + int + __attribute__((__nonnull__ (2, 3))) + __attribute__((__visibility__ ("default"))) +-efi_set_variable(efi_guid_t guid, const char *name, uint8_t *data, +- size_t data_size, uint32_t attributes, mode_t mode) ++_efi_set_variable_mode(efi_guid_t guid, const char *name, uint8_t *data, ++ size_t data_size, uint32_t attributes, mode_t mode) + { + return ops->set_variable(guid, name, data, data_size, attributes, mode); + } +-__asm__(".symver efi_set_variable,efi_set_variable@@LIBEFIVAR_0.24"); ++__asm__(".symver _efi_set_variable_mode,efi_set_variable@@LIBEFIVAR_0.24"); ++ ++int ++__attribute__((__nonnull__ (2, 3))) ++__attribute__((__visibility__ ("default"))) ++efi_set_variable(efi_guid_t guid, const char *name, uint8_t *data, ++ size_t data_size, uint32_t attributes, mode_t mode) ++ __attribute((weak, alias ("_efi_set_variable_mode"))); + + int + __attribute__((__nonnull__ (2, 3))) +-- +2.12.2 + diff --git a/meta-oe/recipes-extended/efivar/efivar_0.24.bb b/meta-oe/recipes-extended/efivar/efivar_0.24.bb index 602fd81b4..877ca9045 100644 --- a/meta-oe/recipes-extended/efivar/efivar_0.24.bb +++ b/meta-oe/recipes-extended/efivar/efivar_0.24.bb @@ -16,6 +16,8 @@ SRCREV = "963cb2e5adc145fe00717f94e382f2973f80e753" SRC_URI = "git://github.com/rhinstaller/efivar.git \ file://0002-disable-static-build.patch \ file://allow-multi-definitions-for-native.patch \ + file://0001-Remove-some-extra-const-that-gcc-complains-about.patch \ + file://0002-New-gcc-version-new-way-symbol-versioning-breaks.patch \ " SRC_URI_append_class-target = " file://0001-efivar-fix-for-cross-compile.patch \ file://0003-efivar-fix-for-cross-compile.patch \ From patchwork Tue Apr 25 03:47:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98168 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767747qgf; Mon, 24 Apr 2017 20:48:54 -0700 (PDT) X-Received: by 10.36.185.5 with SMTP id w5mr1704754ite.1.1493092133909; Mon, 24 Apr 2017 20:48:53 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p18si2702030itg.25.2017.04.24.20.48.53; Mon, 24 Apr 2017 20:48: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 B5AB377BE1; Tue, 25 Apr 2017 03:48:32 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-it0-f66.google.com (mail-it0-f66.google.com [209.85.214.66]) by mail.openembedded.org (Postfix) with ESMTP id A9F8977A50 for ; Tue, 25 Apr 2017 03:47:40 +0000 (UTC) Received: by mail-it0-f66.google.com with SMTP id 70so1438410ita.2 for ; Mon, 24 Apr 2017 20:47:42 -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=l8MbRmByXQJEBnm4u1AQhyk3Ar4oOo1c6SyZLWxjM9w=; b=cUjvm1brmLIOiwR0U1LUk99iIxX5H45ncHEaDVgYYVMEGMxnVLikwtwGza6HDqOfMj zFCM2Nzy9AeoDQSz7pQhCllnBexmj3OgJ+yaHGTsyMs+8qeVKP/IeinekPQVgISKywWc pKDFiRxbrfHxXKdFsqs4v+MJMMwIlaKt1t1eC9L6p2eAaQap4a8ZkhF+t7UpbSMHaQT5 TgmMmr7qMzdcIKhQsXVr3eEbHs2ovU+MqNhXWHUGBKwRfxeEBOxqVts0DMCRQZ8XkT3n ie3UkhzeYhMbmNyRgv55Rd/HYq+opP4lpu1ukMu2u3Cfyz39uFv+BG+Wkt/sLrlVEr0k s3bA== 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=l8MbRmByXQJEBnm4u1AQhyk3Ar4oOo1c6SyZLWxjM9w=; b=oeFuG7Ei8cZU3krvYG8KAUI8sGEBmQP1LAj6VHtk+Zqyedw1KKPgM4I8WT/z0mNzdh mvbyiBEv3tS81ffvC8iluxvtPPf8QoWVFT7vb5KuMqhHXIh77afgZuEpmSDn/zXGASMv FjYyxSifeVW3f5jDABALNoGwTwAgi6pV/6G3JClt461e1LqMWNb2WEoPH82yjrpd9UqL 9YH1qoHyf7irDlHgcSSJ0RNsiDfnZ+okuETzlnYVCFFua4BrYwGuD60FMdct3kQK/MUv 8F0AbV0hz1/qOZI7Ugz3f9DO9YpsskaE0f+VWW3hgxfz7JSZi1QA7rkAUWnXLsCxu4tP pkcw== X-Gm-Message-State: AN3rC/6mrKOHCC3lklWmHGj8zSAZjKsfxAfI4hDT258F8QHprFyyWx3v 5xXxNCpHVciJQg== X-Received: by 10.36.101.210 with SMTP id u201mr19029410itb.118.1493092061794; Mon, 24 Apr 2017 20:47:41 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:40 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:14 -0700 Message-Id: <20170425034719.8630-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][ 06/11] efibootmgr: Fix build with gcc 7 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 backport patch to remove double const in decls Signed-off-by: Khem Raj --- ...e-extra-const-keywords-gcc-7-gripes-about.patch | 49 ++++++++++++++++++++++ .../recipes-extended/efibootmgr/efibootmgr_0.12.bb | 1 + 2 files changed, 50 insertions(+) create mode 100644 meta-oe/recipes-extended/efibootmgr/efibootmgr/0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/efibootmgr/efibootmgr/0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch b/meta-oe/recipes-extended/efibootmgr/efibootmgr/0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch new file mode 100644 index 000000000..b6211c28a --- /dev/null +++ b/meta-oe/recipes-extended/efibootmgr/efibootmgr/0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch @@ -0,0 +1,49 @@ +From a9f8d414972b0b7c963d7efe38b5cfdcb6413c46 Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Mon, 6 Feb 2017 16:34:54 -0500 +Subject: [PATCH] Remove extra const keywords gcc 7 gripes about. + +Signed-off-by: Peter Jones +--- + src/efibootdump.c | 2 +- + src/efibootmgr.c | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/efibootdump.c b/src/efibootdump.c +index 3e448c2..5a9b681 100644 +--- a/src/efibootdump.c ++++ b/src/efibootdump.c +@@ -36,7 +36,7 @@ print_boot_entry(efi_load_option *loadopt, size_t data_size) + uint8_t *optional_data = NULL; + size_t optional_data_len = 0; + uint16_t pathlen; +- const unsigned char const *desc; ++ const unsigned char *desc; + char *raw; + size_t raw_len; + +diff --git a/src/efibootmgr.c b/src/efibootmgr.c +index baefa68..683623b 100644 +--- a/src/efibootmgr.c ++++ b/src/efibootmgr.c +@@ -214,7 +214,7 @@ warn_duplicate_name(list_t *boot_list) + list_t *pos; + var_entry_t *boot; + efi_load_option *load_option; +- const unsigned char const *desc; ++ const unsigned char *desc; + + list_for_each(pos, boot_list) { + boot = list_entry(pos, var_entry_t, list); +@@ -821,7 +821,7 @@ show_boot_vars() + { + list_t *pos; + var_entry_t *boot; +- const unsigned char const *description; ++ const unsigned char *description; + efi_load_option *load_option; + efidp dp = NULL; + unsigned char *optional_data = NULL; +-- +2.12.2 + diff --git a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb index b25cfcabd..193150bb9 100644 --- a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb +++ b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb @@ -12,6 +12,7 @@ COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" SRCREV = "75d25807ba81cb724964c989012611272c8f1f5d" SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https \ + file://0001-Remove-extra-const-keywords-gcc-7-gripes-about.patch \ " S = "${WORKDIR}/git" From patchwork Tue Apr 25 03:47:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98169 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767765qgf; Mon, 24 Apr 2017 20:49:01 -0700 (PDT) X-Received: by 10.36.150.193 with SMTP id z184mr18819119itd.89.1493092141306; Mon, 24 Apr 2017 20:49:01 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x16si22915945ioe.241.2017.04.24.20.49.00; Mon, 24 Apr 2017 20:49: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 C993177BF4; Tue, 25 Apr 2017 03:48:33 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mail.openembedded.org (Postfix) with ESMTP id 2D62B77AA9 for ; Tue, 25 Apr 2017 03:47:41 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id a103so206922478ioj.1 for ; Mon, 24 Apr 2017 20:47:43 -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=ddxrqY6XYztKHZGl2TUNq86bxE0vphUgRK5u1k1OcgI=; b=b/VGRLQ2JLFh2KcDB91SIc6J2pkhjmP9pWiTtvvhfJW5kDqG87WlrxljoQo4CyeuKu f9sfLQQV4nJfIjKZwoLq31N2eefxMYzDkUrctmw8xMeGVvzdWd29ABpyYK36YqoVE+y/ m5CB79/p9Xvlx3uayZEYwikyexEi1/j/YUuGUjtIyvEymJGubbwhxkZAe3nkoX/FsfQK fZ4Mt3Dxu+OaJ1RRe5K7VkcLzJjq7M3mFxkbQaLOEVw52xD9+LjlKE8VzFSqEXW5vEX+ Jwel85LIVGnFcUDLG612JoYid7dENOYHuhHlqR/2NBqkvXQRuMLik6nQF9wO4Fao8KKs NLDw== 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=ddxrqY6XYztKHZGl2TUNq86bxE0vphUgRK5u1k1OcgI=; b=iNudoSxFc9a8UIKqxvfdF6MhTzP+5CMRi9sDAauQj996hAOHUh9yNeacAOISuEKxlD EfLvyExRyJdSu/XOjSB88fJbSiNxTOx89mitKr/a2yE4bItogXq5ND+FIh7q7PoDiAO/ o+4ARapZauB+S3bzLZ6sxURusGoXpj7+y+sitLwpaVtiiRXEgrA3KCfXuKRhQr1Zt2H/ BDRMHR1/Sr9diVTjySNVmxl7j2dQ4KwTa5ydG5YeRK4DoNYLo8L13R1SK+Y4DoHuMEXa jtQHLGvO3HW2j7rgVWwhIhwSeG6p0QspvwYmwPqEIuMrOY2dTU5H+b7nRyT32X6kdJgO 3dQQ== X-Gm-Message-State: AN3rC/65YHjqQkUlNB+EkrnIvQrY8lCTjExbhb8AF70xJPetyp1vzPaf jVLw4ysZ1JS5QQ== X-Received: by 10.107.59.81 with SMTP id i78mr11445644ioa.100.1493092063330; Mon, 24 Apr 2017 20:47:43 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:42 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:15 -0700 Message-Id: <20170425034719.8630-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-multimedia][ 07/11] libmusicbrainz: Add missing dep on libxml2 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 Shows up when libxml2 is not installed on build host since the native part then fails to build. | Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES) Signed-off-by: Khem Raj --- meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb b/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb index 250c5f14e..16e52134b 100644 --- a/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb +++ b/meta-multimedia/recipes-multimedia/musicbrainz/libmusicbrainz_git.bb @@ -3,7 +3,7 @@ DESCRIPTION = "The MusicBrainz client is a library which can be built into other HOMEPAGE = "http://musicbrainz.org" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fbc093901857fcd118f065f900982c24" -DEPENDS = "expat neon neon-native" +DEPENDS = "expat libxml2 libxml2-native neon neon-native" PV = "5.1.0+git${SRCPV}" From patchwork Tue Apr 25 03:47:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98170 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767791qgf; Mon, 24 Apr 2017 20:49:08 -0700 (PDT) X-Received: by 10.107.62.87 with SMTP id l84mr14011665ioa.213.1493092148242; Mon, 24 Apr 2017 20:49:08 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v13si2980662ite.43.2017.04.24.20.49.07; Mon, 24 Apr 2017 20:49:08 -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 D6AF977C0C; Tue, 25 Apr 2017 03:48:34 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mail.openembedded.org (Postfix) with ESMTP id CEE6D77AA9 for ; Tue, 25 Apr 2017 03:47:43 +0000 (UTC) Received: by mail-io0-f181.google.com with SMTP id a103so206922761ioj.1 for ; Mon, 24 Apr 2017 20:47:45 -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=aI9u3lpEM1GMFqjwcfZcYCvkAcUSCYWNpaV/BUt/Qgs=; b=dxSrc4atV77dad5LUpkfQQ/+2CRl6XfULol+QE27wcrRKUU7vfnT9+7OPA6c7OtoqQ /dLccF/31J6vORPM5pnHFejOZc3dUQwGm21dNeq15ubJ2HWfL2iwV+hcHi7zB0KJ4XXm jgaQy8eSb1kRmbOUU2ADXMS7ZXFtynF8306G7JKGmY9UmfIJRky29xxdbd8Q2w3k7qQ+ rVct6dxJJ9Pryyk6b+26y60lEbJa0Z3xdSMvUDZihdXwRPF3yDVlQJY+AWil+SbntJd9 Zc5x4CinJZZEGdCLEDV/LMMx8kYj9w/+fOtGOfmhYMqhRfTTOv7lfdQMNqtFi8kEUdU+ d6Nw== 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=aI9u3lpEM1GMFqjwcfZcYCvkAcUSCYWNpaV/BUt/Qgs=; b=KeSpbxcoHCYYOLLIIf9yIzHeOK4cVtPxSuRPq1y162lYNr6ypRgfXQnxT9ZvjPLCOf IxR5q+w0GJ/IIz/dsKLS1q3QBs12b61wyrQqQLCjjH0YcfuaPiSfqPUoWr50nJ276cI7 4G8BvSF015ccNtGz0UdsdS0szh+ZBdONP1rm96LZhv+EpmAuDBO8BwRUHMm33TigI1CI OJbP1DJZWjiYDXXCRerbx9loQlPcfaw3qkmHeONDlA3Kr3KmJwbhE/acgbsbb+nr55Mc vdTInwfHKlK9UIimo+NpE5drCjUuYgoxM4dPVZoYz+UPEHm/5EZ0xz0S6dY6mLtizLVY 5LkQ== X-Gm-Message-State: AN3rC/5DusRxaRr2PLA6AYzWhVkyoavixDwIjKIPqhG2ipDKW7PTRJ08 Wr/dHP5IdlZdEw== X-Received: by 10.107.19.224 with SMTP id 93mr10985014iot.188.1493092064916; Mon, 24 Apr 2017 20:47:44 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:43 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:16 -0700 Message-Id: <20170425034719.8630-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][ 08/11] mozjs: Fix build with gcc7 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 --- ...0001-add-support-for-big-endian-32bit-ARM.patch | 26 ------------------ ...-first-character-of-string-to-be-null-or-.patch | 32 ++++++++++++++++++++++ meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 29 ++++++++++---------- 3 files changed, 46 insertions(+), 41 deletions(-) delete mode 100644 meta-oe/recipes-extended/mozjs/mozjs/0001-add-support-for-big-endian-32bit-ARM.patch create mode 100644 meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-add-support-for-big-endian-32bit-ARM.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-add-support-for-big-endian-32bit-ARM.patch deleted file mode 100644 index 7b7038f6f..000000000 --- a/meta-oe/recipes-extended/mozjs/mozjs/0001-add-support-for-big-endian-32bit-ARM.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 07830cbc409f8e998fa839275470031fc83d6eb6 Mon Sep 17 00:00:00 2001 -From: Koen Kooi -Date: Thu, 21 Apr 2016 14:10:54 +0200 -Subject: [PATCH] add support for big endian 32bit ARM - -Signed-off-by: Koen Kooi ---- - mfbt/double-conversion/utils.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h -index fe26dab..78a19cb 100644 ---- a/mfbt/double-conversion/utils.h -+++ b/mfbt/double-conversion/utils.h -@@ -58,7 +58,7 @@ - defined(__mips__) || defined(__powerpc__) || \ - defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ - defined(__SH4__) || defined(__alpha__) || \ -- defined(__aarch64__) || \ -+ defined(__aarch64__) || defined(__ARMEB__) || \ - defined(_MIPS_ARCH_MIPS32R2) - #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 - #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) --- -2.4.3 - diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch new file mode 100644 index 000000000..40d646c7d --- /dev/null +++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-compare-the-first-character-of-string-to-be-null-or-.patch @@ -0,0 +1,32 @@ +From f36c9476d2816e0d3e61c9e13c22ed73883cb54a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 24 Apr 2017 12:13:43 -0700 +Subject: [PATCH] compare the first character of string to be null or not + +Fixes + +error: ISO C++ forbids comparison between pointer and integer [-fpermissive] +| if (value[0] == '\0') +| ^~~~ + +Signed-off-by: Khem Raj +--- + js/src/shell/jsoptparse.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/js/src/shell/jsoptparse.cpp b/js/src/shell/jsoptparse.cpp +index b49d0a5..612aa00 100644 +--- a/js/src/shell/jsoptparse.cpp ++++ b/js/src/shell/jsoptparse.cpp +@@ -243,7 +243,7 @@ OptionParser::extractValue(size_t argc, char **argv, size_t *i, char **value) + char *eq = strchr(argv[*i], '='); + if (eq) { + *value = eq + 1; +- if (value[0] == '\0') ++ if (value[0][0] == '\0') + return error("A value is required for option %.*s", eq - argv[*i], argv[*i]); + return Okay; + } +-- +2.12.2 + diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb index 3424669b8..6c9920ef4 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb @@ -2,21 +2,20 @@ SUMMARY = "SpiderMonkey is Mozilla's JavaScript engine written in C/C++" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://../../LICENSE;md5=815ca599c9df247a0c7f619bab123dad" -SRC_URI = " \ - http://ftp.mozilla.org/pub/mozilla.org/js/${BPN}${PV}.tar.gz \ - file://0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch \ - file://0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch \ - file://0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch;patchdir=../../ \ - file://0003-Add-AArch64-support.patch;patchdir=../../ \ - file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \ - file://0005-aarch64-64k-page.patch;patchdir=../../ \ - file://0001-regenerate-configure.patch;patchdir=../../ \ - file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \ - file://fix_milestone_compile_issue.patch \ - file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../../ \ - file://0001-add-support-for-big-endian-32bit-ARM.patch;patchdir=../../ \ - file://Manually_mmap_heap_memory_esr17.patch;patchdir=../../ \ - " +SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/${BPN}${PV}.tar.gz \ + file://0001-mozjs17.0.0-fix-the-compile-bug-of-powerpc.patch \ + file://0001-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch \ + file://0002-Move-JS_BYTES_PER_WORD-out-of-config.h.patch;patchdir=../../ \ + file://0003-Add-AArch64-support.patch;patchdir=../../ \ + file://0004-mozbug746112-no-decommit-on-large-pages.patch;patchdir=../../ \ + file://0005-aarch64-64k-page.patch;patchdir=../../ \ + file://0001-regenerate-configure.patch;patchdir=../../ \ + file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \ + file://fix_milestone_compile_issue.patch \ + file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../../ \ + file://Manually_mmap_heap_memory_esr17.patch;patchdir=../../ \ + file://0001-compare-the-first-character-of-string-to-be-null-or-.patch;patchdir=../../ \ + " SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202" SRC_URI[sha256sum] = "321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba" From patchwork Tue Apr 25 03:47:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98171 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767812qgf; Mon, 24 Apr 2017 20:49:15 -0700 (PDT) X-Received: by 10.107.164.106 with SMTP id n103mr11284026ioe.103.1493092155532; Mon, 24 Apr 2017 20:49:15 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id w189si22856154iod.134.2017.04.24.20.49.15; Mon, 24 Apr 2017 20:49:15 -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 ECCAB77C20; Tue, 25 Apr 2017 03:48:35 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-io0-f196.google.com (mail-io0-f196.google.com [209.85.223.196]) by mail.openembedded.org (Postfix) with ESMTP id C3D4B77ABF for ; Tue, 25 Apr 2017 03:47:45 +0000 (UTC) Received: by mail-io0-f196.google.com with SMTP id d203so52528165iof.2 for ; Mon, 24 Apr 2017 20:47:47 -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=1NrcSME4hOM6sz7kTxh3WBFvN1JDDPs/ij/g5gnjWeE=; b=UqdjLSNC2Uqu2SBu9ZHbM52UtkKwwdXeYeoRG1tfmKXIaP5ef4RzoPgNLN6Jhv6vkh sfkP5Zb34bD5ftnawC2Ti4HWFNvbgpb31YeYEWFI8tl63VZDtCcM9+2P2JFDFyq2fI65 I8UPGYh9SXqjfp81z+sW4GNsn0PCOD4d0nwB7Ubj+26YbwacmKTk8CsqAiBC8bZyH4eP KUS8DvU09hv3hBKHI3VE/V5ms3GXrzacnn064Ji1fzn4Ik+xf6r1hwiUP/DWYGvo+WYI D4p6r27TrCyCkuL1i8R6kPXyVT8RY8wnul+Pg02F6LUktVSy0ULHo9q0TnZMnoDPslB3 TBpA== 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=1NrcSME4hOM6sz7kTxh3WBFvN1JDDPs/ij/g5gnjWeE=; b=KtKwx5Z50E7UGABQXwFzwDeO1ob3osfG0H7SICqr+rCaV/931s7A+qMnl8s20+1Gek eAI2c8mHfKbs9zF91j4t22Mu4bVJm1T/y1tRklmSSGk/W6sWfqi81wOVBtW9LS7t/u+n 1GTazTC+VRKbEBdwrmkOFjFXvNaDrnjCH7Qd8/J+q+TsAYtVM6IpfT0sOvwiRI4wPqVd RZY3QerPTpfoL8d19s4gAz+zjpTL3XBl6t5RgixB2IuXC6MKMtyYJ2sit5OxaQL27BsL EZXzLR5SXBUF7an9bY4y5Db3IBHibv8ig93kpwO6zwc5pnZMs5aqqRjgZC+s+qXm13Zu 9nwg== X-Gm-Message-State: AN3rC/5q9b/lDWvb/QwYePCyQoIILE/99u87PtfhcNv+LnQY/GEEYNCa NxvUWCEQRc9s1bqa X-Received: by 10.107.173.136 with SMTP id m8mr11586646ioo.190.1493092066477; Mon, 24 Apr 2017 20:47:46 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:45 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:17 -0700 Message-Id: <20170425034719.8630-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][ 09/11] geis: Fix build with gcc7 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 --- ...pare-the-first-character-of-string-to-nul.patch | 43 ++++++++++++++++++++++ .../canonical-multitouch/geis_2.2.17.bb | 5 ++- 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-support/canonical-multitouch/geis/0001-libgeis-Compare-the-first-character-of-string-to-nul.patch -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/canonical-multitouch/geis/0001-libgeis-Compare-the-first-character-of-string-to-nul.patch b/meta-oe/recipes-support/canonical-multitouch/geis/0001-libgeis-Compare-the-first-character-of-string-to-nul.patch new file mode 100644 index 000000000..3b3acab24 --- /dev/null +++ b/meta-oe/recipes-support/canonical-multitouch/geis/0001-libgeis-Compare-the-first-character-of-string-to-nul.patch @@ -0,0 +1,43 @@ +From 1e48821ba109b00e9c2931f12aa206c4ef54fd71 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 24 Apr 2017 12:34:55 -0700 +Subject: [PATCH] libgeis: Compare the first character of string to null + +gcc7 wants to be specific when it comes to comparing characters +and strings + +fixes + +| ../../../../../../../workspace/sources/geis/libgeis/geis_v1.c: In function '_v1_subscribe_device': +| ../../../../../../../workspace/sources/geis/libgeis/geis_v1.c:613:20: error: comparison between pointer and zero character constant [-Werror=pointer-compare] + +Signed-off-by: Khem Raj +--- + libgeis/geis_v1.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libgeis/geis_v1.c b/libgeis/geis_v1.c +index 67045ee..07c0851 100644 +--- a/libgeis/geis_v1.c ++++ b/libgeis/geis_v1.c +@@ -610,7 +610,7 @@ _v1_subscribe_device(GeisInstance instance, + const char **gesture_list) + { + GeisStatus result = GEIS_UNKNOWN_ERROR; +- if (gesture_list == GEIS_ALL_GESTURES) ++ if (gesture_list[0][0] == GEIS_ALL_GESTURES) + { + geis_debug("subscribing device %d for all gestures", device_id); + } +@@ -757,7 +757,7 @@ geis_unsubscribe(GeisInstance instance, + GeisGestureType *gesture_list) + { + GeisStatus status = GEIS_STATUS_NOT_SUPPORTED; +- if (gesture_list == GEIS_ALL_GESTURES) ++ if (gesture_list[0] == GEIS_ALL_GESTURES) + { + status = geis_subscription_deactivate(instance->subscription); + } +-- +2.12.2 + diff --git a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb index 281dc3d42..976aafb4f 100644 --- a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb +++ b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb @@ -19,9 +19,10 @@ REQUIRED_DISTRO_FEATURES = "x11" DEPENDS += "grail dbus-glib python3 virtual/libx11 libxext libxi libxcb dbus frame" -SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz\ +SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz \ file://fix-indentation-for-gcc6.patch \ -" + file://0001-libgeis-Compare-the-first-character-of-string-to-nul.patch \ + " SRC_URI[md5sum] = "2ff9d76a3ea5794516bb02c9d1924faf" SRC_URI[sha256sum] = "8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb" From patchwork Tue Apr 25 03:47:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98172 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767838qgf; Mon, 24 Apr 2017 20:49:23 -0700 (PDT) X-Received: by 10.36.173.19 with SMTP id c19mr17802023itf.76.1493092163854; Mon, 24 Apr 2017 20:49:23 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 100si12613651ioj.93.2017.04.24.20.49.23; Mon, 24 Apr 2017 20:49:23 -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 9709277C39; Tue, 25 Apr 2017 03:48:37 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-io0-f194.google.com (mail-io0-f194.google.com [209.85.223.194]) by mail.openembedded.org (Postfix) with ESMTP id D3B1777B38 for ; Tue, 25 Apr 2017 03:47:46 +0000 (UTC) Received: by mail-io0-f194.google.com with SMTP id x86so52372343ioe.3 for ; Mon, 24 Apr 2017 20:47: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=8o3bwDB4DMEzFSBnmhZRONCKPaEVzBaw54XMNo+Cvnc=; b=YTcQBY8F9WT9wP1EwN454n5GNbCtA2H9TKw8Pj3I08WM+3ZUi0zRjMHEQUATGZ/1zj O4O043lbSjweOsenfcK4ljy0FiJz1Sp0PS2RF184u3GppDpopR96PHL1WfFRdWw1cUdW EFG0nkwkdPLoykMXW39FIxUROXJM1lXt3OcRCore9Q7lx50EqXTSZJNWxBJURUYxBCP9 lDyKeyoS/i7qW95oDTZITAxiAovVoEvn/cZyKCvNnZEbxmWLkZNyxHN6gzRQFco6EtDT fKMhbNw3PyZqKeNsqke6EJgQQbjOLfSJls4ZEuU1EEWbP2Jp4JMM+8V6ObbnrPnmUO9u Kvow== 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=8o3bwDB4DMEzFSBnmhZRONCKPaEVzBaw54XMNo+Cvnc=; b=YmDXfMI3d6SHP6fX+jjKpqR0eNVCyGLWpjYmHwTeEBn7rZWyurkX2Pw8NLtpsxMyol BN+h/u3h/YOoTNt5Lnp6f/qYbDvbi9aMfG943dl2xXTvSiITN3oHLIk9FEMHkxGrcG0N NiOYPkYDSGyUA9iA5mwy347MLSSKI7Jmhq8BZZAbM3XbhHx7V6FjJ3CSlYlxUnbw0Yhp AVsCPpCsAwImA2cGKwIRoK7mm2QUo25ZKfmRzn0rQrhspVjb9pTgA85BZWiyK3H16hY7 XnZisBpqBCyjxgtDK4E31f2KHeY62GU4oTceDR2NQZ4rJ77LqP8aQm6t4nmpomE3v2AI RNJA== X-Gm-Message-State: AN3rC/5Dt2GOqnXzMrAKaAftVcXEhhBmfeZDaGAAJjSziiWasa6JpC8z IPNo1XWTIXQfEw== X-Received: by 10.107.20.211 with SMTP id 202mr11596609iou.94.1493092068173; Mon, 24 Apr 2017 20:47:48 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:47 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:18 -0700 Message-Id: <20170425034719.8630-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][ 10/11] frame,grail: Disable PIE in SECURITY_FLAGS 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 Doesnt compile yet with PIE turned on Signed-off-by: Khem Raj --- meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb | 2 ++ meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb | 1 + 2 files changed, 3 insertions(+) -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb b/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb index d5a73384d..da1a2a36f 100644 --- a/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb +++ b/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb @@ -20,3 +20,5 @@ PACKAGECONFIG[x11] = "--enable-x11, --disable-x11, libxi xext virtual/xserver" PACKAGE_BEFORE_PN += "${PN}-test" FILES_${PN}-test = "${bindir}/frame-test*" + +SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" diff --git a/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb b/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb index 83ca72415..22fd0f48e 100644 --- a/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb +++ b/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb @@ -21,3 +21,4 @@ PACKAGECONFIG[x11] = "--with-x11, --without-x11, libxi" PACKAGE_BEFORE_PN += "${PN}-test" FILES_${PN}-test = "${bindir}/grail-test*" +SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" From patchwork Tue Apr 25 03:47:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 98173 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1767868qgf; Mon, 24 Apr 2017 20:49:31 -0700 (PDT) X-Received: by 10.36.147.65 with SMTP id y62mr19075612itd.68.1493092171535; Mon, 24 Apr 2017 20:49:31 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id y188si2724565itg.69.2017.04.24.20.49.31; Mon, 24 Apr 2017 20:49:31 -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 C5F7277C6F; Tue, 25 Apr 2017 03:48:38 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-it0-f68.google.com (mail-it0-f68.google.com [209.85.214.68]) by mail.openembedded.org (Postfix) with ESMTP id BA51B77ABF for ; Tue, 25 Apr 2017 03:47:49 +0000 (UTC) Received: by mail-it0-f68.google.com with SMTP id x188so19384381itb.3 for ; Mon, 24 Apr 2017 20:47:51 -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=3dSeA0SU9qDRzP0Ef9dZt7Xf1Xao0A/wjxVCkSg4bFA=; b=hyObq7o18BNkAtGR89QqaK5E+JUXoY3+f0lDEjPfbBS36edwQia6RlUVNlhgAz509i k5TpxoA2Xo6Ai8NDCGNeHxx3R3C71BbMxzdGtbC/gdSrjw3pa0TFA7ixINpA1QavEJNb RsNMfW573C3SuZSPhhf7kwBBxaJhbh0dYwqxC65mpYibTweqDXcTX+78Rap8kmRTEHA9 5fhh+zZP45/DkuLZ1wx/pOBZBwh8nY+LnhFYlyYD4eNz7jzCp2Tk3QJ/4/l8JrFhbDJG WEcG6xdd0uh2vgj/HmJpIVH2lWqOniO70M7EU3zqhG1Z7buotpHANusa3s/J6/JP3Vbs go3w== 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=3dSeA0SU9qDRzP0Ef9dZt7Xf1Xao0A/wjxVCkSg4bFA=; b=emYnX4ZcevpS8E1I5BiI0DfFaNVY/he8fM6qNyFyc1loFe2T43WFIyl09aVOmDXgpa rnHPdiw6ScrM3L9S3e2gFUkK4ljnAEJBXQHLYJhFy8xqIRbQ9hRxyH+hxHc+RortMYhV f0p+VYvoQCHFvXGV87aYic9AsN6PsneetnBkkQl35IkJS1kfcTCdy2twk07pdzZyu6Co buqpnJZDhuXgrQBKSMm17FmKX8+sXVfA+UxELouOdlpldGVJ7WU9JNJokf232pA3KTLl +k9c8Zjj84yU3eqNuAC7o+vHON5MGC8UQ2h1w0d+yR7Zlh1WVdMU4c66Mh6Vzddo+xar JuVg== X-Gm-Message-State: AN3rC/4ZHVj7w14CDV82N3Uc8FYsUVd6IiY7tA8Yg896B0M1AftvAHiw QUViCyqMa3Nsa9RD X-Received: by 10.36.14.77 with SMTP id 74mr18004799ite.115.1493092070259; Mon, 24 Apr 2017 20:47:50 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id 9sm1244118itm.6.2017.04.24.20.47.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 20:47:48 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 24 Apr 2017 20:47:19 -0700 Message-Id: <20170425034719.8630-11-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170425034719.8630-1-raj.khem@gmail.com> References: <20170425034719.8630-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][ 11/11] autofs: Upgrade to 5.1.2 release 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 Add patches to make it work when SECURITY_FLAGS are enabled Signed-off-by: Khem Raj --- .../autofs/autofs-5.1.2-libtirpc-as-need.patch | 30 ++++++++++++++++++++++ .../autofs/autofs/fix_disable_ldap.patch | 10 +++++--- .../autofs/libtirpc-name-clash-backout.patch | 28 -------------------- .../autofs/autofs/pkgconfig-libnsl.patch | 19 ++++++++++++++ .../autofs/{autofs_5.1.1.bb => autofs_5.1.2.bb} | 28 ++++++++++---------- 5 files changed, 69 insertions(+), 46 deletions(-) create mode 100644 meta-networking/recipes-daemons/autofs/autofs/autofs-5.1.2-libtirpc-as-need.patch delete mode 100644 meta-networking/recipes-daemons/autofs/autofs/libtirpc-name-clash-backout.patch create mode 100644 meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch rename meta-networking/recipes-daemons/autofs/{autofs_5.1.1.bb => autofs_5.1.2.bb} (74%) -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/autofs/autofs/autofs-5.1.2-libtirpc-as-need.patch b/meta-networking/recipes-daemons/autofs/autofs/autofs-5.1.2-libtirpc-as-need.patch new file mode 100644 index 000000000..cbf2bf804 --- /dev/null +++ b/meta-networking/recipes-daemons/autofs/autofs/autofs-5.1.2-libtirpc-as-need.patch @@ -0,0 +1,30 @@ +Make configure compatible with -Wl,--as-needed following +https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed#Failure_in_..2Fconfigure + +2016-07-05 Martin von Gagern + +Index: autofs-5.1.2/aclocal.m4 +=================================================================== +--- autofs-5.1.2.orig/aclocal.m4 ++++ autofs-5.1.2/aclocal.m4 +@@ -415,9 +415,9 @@ AC_DEFUN([AF_CHECK_LIBTIRPC], + [ + # save current flags + af_check_libtirpc_save_cflags="$CFLAGS" +-af_check_libtirpc_save_ldflags="$LDFLAGS" ++af_check_libtirpc_save_libs="$LIBS" + CFLAGS="$CFLAGS -I=/usr/include/tirpc" +-LDFLAGS="$LDFLAGS -ltirpc" ++LIBS="$LIBS -ltirpc" + + AC_TRY_LINK( + [ #include ], +@@ -440,7 +440,7 @@ AC_CHECK_FUNCS([getrpcbyname getservbyna + + # restore flags + CFLAGS="$af_check_libtirpc_save_cflags" +-LDFLAGS="$af_check_libtirpc_save_ldflags" ++LIBS="$af_check_libtirpc_save_libs" + ]) + + AC_DEFUN([AF_WITH_LIBTIRPC], diff --git a/meta-networking/recipes-daemons/autofs/autofs/fix_disable_ldap.patch b/meta-networking/recipes-daemons/autofs/autofs/fix_disable_ldap.patch index 31c8510a6..94750b257 100644 --- a/meta-networking/recipes-daemons/autofs/autofs/fix_disable_ldap.patch +++ b/meta-networking/recipes-daemons/autofs/autofs/fix_disable_ldap.patch @@ -15,8 +15,10 @@ Signed-off-by: Amy Fong include/lookup_ldap.h | 4 ++++ 1 file changed, 4 insertions(+) ---- a/include/lookup_ldap.h -+++ b/include/lookup_ldap.h +Index: autofs-5.1.2/include/lookup_ldap.h +=================================================================== +--- autofs-5.1.2.orig/include/lookup_ldap.h ++++ autofs-5.1.2/include/lookup_ldap.h @@ -1,7 +1,9 @@ #ifndef LOOKUP_LDAP_H #define LOOKUP_LDAP_H @@ -27,14 +29,14 @@ Signed-off-by: Amy Fong #ifdef WITH_SASL #include -@@ -109,10 +111,12 @@ +@@ -117,10 +119,12 @@ struct lookup_context { #define LDAP_AUTH_USESIMPLE 0x0008 +#ifdef WITH_LDAP /* lookup_ldap.c */ LDAP *init_ldap_connection(unsigned logopt, const char *uri, struct lookup_context *ctxt); - int unbind_ldap_connection(unsigned logopt, LDAP *ldap, struct lookup_context *ctxt); + int unbind_ldap_connection(unsigned logopt, struct ldap_conn *conn, struct lookup_context *ctxt); int authtype_requires_creds(const char *authtype); +#endif diff --git a/meta-networking/recipes-daemons/autofs/autofs/libtirpc-name-clash-backout.patch b/meta-networking/recipes-daemons/autofs/autofs/libtirpc-name-clash-backout.patch deleted file mode 100644 index e93021d56..000000000 --- a/meta-networking/recipes-daemons/autofs/autofs/libtirpc-name-clash-backout.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- - lib/rpc_subs.c | 10 ---------- - 1 file changed, 10 deletions(-) - -diff --git a/lib/rpc_subs.c b/lib/rpc_subs.c -index 5d6ead0..c7177f2 100644 ---- a/lib/rpc_subs.c -+++ b/lib/rpc_subs.c -@@ -34,16 +34,6 @@ - #include - - #ifdef WITH_LIBTIRPC --#undef auth_destroy --#define auth_destroy(auth) \ -- do { \ -- int refs; \ -- if ((refs = auth_put((auth))) == 0) \ -- ((*((auth)->ah_ops->ah_destroy))(auth));\ -- } while (0) --#endif -- --#ifdef WITH_LIBTIRPC - const rpcprog_t rpcb_prog = RPCBPROG; - const rpcvers_t rpcb_version = RPCBVERS; - #else --- -1.7.10.4 - diff --git a/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch b/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch new file mode 100644 index 000000000..bf2c964a0 --- /dev/null +++ b/meta-networking/recipes-daemons/autofs/autofs/pkgconfig-libnsl.patch @@ -0,0 +1,19 @@ +Use pkg-config first to look for external libnsl which is now +split out from glibc, if it does not exist then see if its provided +by glibc itself. + +-Khem + +Index: autofs-5.1.2/configure.in +=================================================================== +--- autofs-5.1.2.orig/configure.in ++++ autofs-5.1.2/configure.in +@@ -186,7 +186,7 @@ fi + # + # glibc/libc 6 new libraries + # +-AC_CHECK_LIB(nsl, yp_match, LIBNSL="-lnsl") ++PKG_CHECK_MODULES([NSL], [libnsl], [], [AC_CHECK_LIB([nsl],[yp_match],[LIBNSL="-lnsl"],[LIBNSL=""])]) + AC_SUBST(LIBNSL) + + AC_CHECK_LIB(resolv, res_query, LIBRESOLV="-lresolv") diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb b/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb similarity index 74% rename from meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb rename to meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb index d85600e4c..eea7c4b83 100644 --- a/meta-networking/recipes-daemons/autofs/autofs_5.1.1.bb +++ b/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb @@ -3,18 +3,17 @@ SECTION = "utils" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" -DEPENDS += "libtirpc flex-native bison-native" +DEPENDS += "libtirpc flex-native bison-native e2fsprogs openssl libxml2 util-linux cyrus-sasl" -CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" +CFLAGS += "-I${STAGING_INCDIR}/tirpc" -inherit autotools-brokensep systemd +inherit autotools-brokensep systemd update-rc.d pkgconfig SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \ file://autofs-5.0.7-include-linux-nfs.h-directly-in-rpc_sub.patch \ file://no-bash.patch \ file://cross.patch \ file://libtirpc.patch \ - file://libtirpc-name-clash-backout.patch \ file://autofs-5.0.7-do-not-check-for-modprobe.patch \ file://fix_disable_ldap.patch \ file://autofs-5.0.7-fix-lib-deps.patch \ @@ -25,18 +24,17 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \ file://fix-the-YACC-rule-to-fix-a-building-failure.patch \ file://0001-Define-__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch \ file://0002-Replace-__S_IEXEC-with-S_IEXEC.patch \ + file://autofs-5.1.2-libtirpc-as-need.patch \ + file://pkgconfig-libnsl.patch \ " - -SRC_URI[md5sum] = "e143df66b614b8cdb1ff533735f8e12d" -SRC_URI[sha256sum] = "795419383b120d15699ab3b89ea0f3d029f6fb28405a83982d305c4b7b61130f" - -inherit update-rc.d pkgconfig +SRC_URI[md5sum] = "28cf88f99eff553a8500659ba5d45a76" +SRC_URI[sha256sum] = "0d57e4138c2ec8058ca92164d035546f68ce4af93acb893369993d67c7056a10" INITSCRIPT_NAME = "autofs" INITSCRIPT_PARAMS = "defaults" # FIXME: modules/Makefile has crappy rules that don't obey LDFLAGS -CFLAGS += "${LDFLAGS}" +#CFLAGS += "${LDFLAGS}" PACKAGECONFIG[systemd] = "--with-systemd=${systemd_unitdir}/system,--without-systemd,systemd" @@ -45,7 +43,7 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" EXTRA_OEMAKE = "DONTSTRIP=1" EXTRA_OECONF += "--disable-mount-locking \ --enable-ignore-busy --with-openldap=no \ - --with-sasl=no --with-libtirpc=yes \ + --with-sasl=no --with-libtirpc \ --with-path=${STAGING_BINDIR_NATIVE} \ " CACHED_CONFIGUREVARS = "ac_cv_path_RANLIB=${RANLIB} \ @@ -53,9 +51,9 @@ CACHED_CONFIGUREVARS = "ac_cv_path_RANLIB=${RANLIB} \ " do_configure_prepend () { - sed -e "s:filagdir:flagdir:" -i configure.in - if [ ! -e acinclude.m4 ]; then - cp aclocal.m4 acinclude.m4 + sed -e "s:filagdir:flagdir:" -i ${S}/configure.in + if [ ! -e ${S}/acinclude.m4 ]; then + cp ${S}/aclocal.m4 ${S}/acinclude.m4 fi } @@ -67,6 +65,7 @@ do_install_append () { rmdir ${D}${localstatedir}/run fi } +SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" INSANE_SKIP_${PN} = "dev-so" @@ -74,3 +73,4 @@ RPROVIDES_${PN} += "${PN}-systemd" RREPLACES_${PN} += "${PN}-systemd" RCONFLICTS_${PN} += "${PN}-systemd" SYSTEMD_SERVICE_${PN} = "autofs.service" +