From patchwork Wed Jun 26 16:53:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 167846 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1186545ilk; Wed, 26 Jun 2019 09:55:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxY9bDTZhP6VPT06WAko5Njf7fYgff69dpq5QsRWp48jWZnnp55g3q3vUMYoJWQ+OKcjkBf X-Received: by 2002:a17:90b:f0f:: with SMTP id br15mr16655pjb.101.1561568159109; Wed, 26 Jun 2019 09:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561568159; cv=none; d=google.com; s=arc-20160816; b=RbCk090ihPY78wh4YEuER7WP1q2s+BECM1QdmIRVk1FR7G/IGL4yHH5QTo98IP7D5d DkT1z47SMoPZg5cSHzxkqjA60AFMX7tpq1tma7lp293hB+SbbWNQXUtoblWECJ9z41mE AXXdVTrPU+A82TSk5GVtOlycaGEs4OJH3u4cIG9kfT8v66l28QhH6/3bYLryTZC4DWFk D8dfV1ijfXRbQn7JOrqewQtshn0fL2k9gLttzYhQToJmBVwrh03KlFVmqEvUe7ujsgBi zg9adajNzeSTbSoyFxh+UssrWWh+QsNmgGEDaKjZxIqOtoTv6oGqQkvDbUmlFV3xcprS 2U9Q== 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; bh=jFSlrwhSNYdvG/yNy2uTvylBzygUJgKaeyqO8xrGTTM=; b=f4rV1hZ7RpIOtAkYTGb9KFVpbZka9UDXqCiOIz2xNrorYhTw8oer/E2Hp1rAytnlZl 3xOSS8jW7UnqSl+8tCVShtKvsKYU6T2og1w2T+hivIl6RQLpvrcxmOzwqxQTrskeEKdH x4VA0TALgK5E64F7Tn776bq7qOOEuZskDWSWD99ZormigyvR8EKfFTkMfp2l7tkRfXV9 3I6AGAd3azG6CYM6WW11eub1/R3XUR17edI7Jyg1eBCRx0g38oBK+377vrbvrXFILHhu PU7Z0R2VxWl9FCYlDDvdQhWkYIVHFP8y/HqJN/12c07Gyq529mfDJWTy2t/uBJk8cbxe QNDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hgVFFH9T; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 i97si3916963plb.50.2019.06.26.09.55.58; Wed, 26 Jun 2019 09:55:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=hgVFFH9T; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5E2BF7E769; Wed, 26 Jun 2019 16:54:48 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mail.openembedded.org (Postfix) with ESMTP id 4FB477E692 for ; Wed, 26 Jun 2019 16:53:45 +0000 (UTC) Received: by mail-pg1-f170.google.com with SMTP id f25so1477314pgv.10 for ; Wed, 26 Jun 2019 09:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=i9A6RUbeHqED5lyBs1vAj2pf4izOS3Je3QrlVMcF2JU=; b=hgVFFH9TKvu65HGD5WpZFOXcWggySm1TUVhx6mVdZELlNsKsmixrNzY+Mu73n6bCSx YTd+CVGWvFlmKFxM3m2XbK+kB5ddHlJ/nwAcEkh+50HglhnMSUosfzK5YlSKmJEo7pLy NuOLnhCHd7HTjXf634qArCEfOPOOexj50gB6wlRqrw9PB/giF551yoNv88UQIixhlT5/ /9l1ZlnIQjlZvzoDVhULvmL1YSCNf8CoCLdzMqBUdAadkSNMj3Ywd5Leu6B6vp9qt11M iJlReNetdhS7ALNar1TLZzu3XW41d7OxvjHvVclDDUxiukeo+sGmGjhmqzG2N62Q8e1V HEjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=i9A6RUbeHqED5lyBs1vAj2pf4izOS3Je3QrlVMcF2JU=; b=KaJAO9183TvLjvi6wUPUw4SjS+ORA8uIsnCKypSbRQoiPzE1s/ZXWxijhPju7zuKs1 G/URfcGfmZaaUzdourLmfHucNBDGoc4v8RrjaJ9KXU3IdtBTfURs+gpkk9nXHykmAcB/ C3DHYkt5l29ipPPdixP85FdbZf9lpRZFXRub2LBKBTquISVNw+dU+fFK7zbDhXcCtkhG qUsMtc1Y39DZHi8RK/p32GS9Qa7lSAeU2yshtMLdzjE72VLIc2bvBH22atq9DRuzDFJN LxBZuGVkNbLpuUy2rKj4YUTpaDdB34weg5fBa3ut5M0UGlTW7hHy8Mlo4ECubTz5edld dtIA== X-Gm-Message-State: APjAAAVD8Y1K3gmFt8aTcNCU769jd++avM5+ZtYrHGWU6iNlUFy08YGY F0GQFkcv8wQGDCPij/L8Yqcv/HtlQ1k= X-Received: by 2002:a17:90a:eb08:: with SMTP id j8mr65215pjz.72.1561568026310; Wed, 26 Jun 2019 09:53:46 -0700 (PDT) Received: from localhost.localdomain ([45.19.219.178]) by smtp.gmail.com with ESMTPSA id t11sm15339687pgp.1.2019.06.26.09.53.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Jun 2019 09:53:45 -0700 (PDT) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Wed, 26 Jun 2019 09:53:12 -0700 Message-Id: <8b5e68afc9767d8b6b966503e9353cadafae9bfb.1561566521.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [thud][ 11/25] cairo: fix CVE-2018-19876 CVE-2019-6461 CVE-2019-6462 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton Source: OpenEmbedded.org MR: 97538, 97543 Type: Security Fix Disposition: Backport from https://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/cairo?h=warrior&id=078e4d5c2114d942806cd0d5ad501805a011e841 ChangeID: fa8bdd44ad8613bb0679a1f6d9d670c3b47a0677 Description: CVE-2018-19876 is a backport from upstream. CVE-2019-6461 and CVE-2019-6462 are patches taken from Clear Linux. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie [Dropped CVE-2018-19876, not affected] Issue was introduced in 1.15.8 by: commit 721b7ea0a785afaa04b6da63f970c3c57666fdfe Signed-off-by: Armin Kuster Signed-off-by: Armin Kuster --- .../recipes-graphics/cairo/cairo/CVE-2019-6461.patch | 19 +++++++++++++++++++ .../recipes-graphics/cairo/cairo/CVE-2019-6462.patch | 20 ++++++++++++++++++++ meta/recipes-graphics/cairo/cairo_1.14.12.bb | 2 ++ 3 files changed, 41 insertions(+) create mode 100644 meta/recipes-graphics/cairo/cairo/CVE-2019-6461.patch create mode 100644 meta/recipes-graphics/cairo/cairo/CVE-2019-6462.patch -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/cairo/cairo/CVE-2019-6461.patch b/meta/recipes-graphics/cairo/cairo/CVE-2019-6461.patch new file mode 100644 index 0000000..5232cf7 --- /dev/null +++ b/meta/recipes-graphics/cairo/cairo/CVE-2019-6461.patch @@ -0,0 +1,19 @@ +There is a potential infinite-loop in function _arc_error_normalized(). + +CVE: CVE-2019-6461 +Upstream-Status: Pending +Signed-off-by: Ross Burton + +diff --git a/src/cairo-arc.c b/src/cairo-arc.c +index 390397bae..f9249dbeb 100644 +--- a/src/cairo-arc.c ++++ b/src/cairo-arc.c +@@ -99,7 +99,7 @@ _arc_max_angle_for_tolerance_normalized (double tolerance) + do { + angle = M_PI / i++; + error = _arc_error_normalized (angle); +- } while (error > tolerance); ++ } while (error > tolerance && error > __DBL_EPSILON__); + + return angle; + } diff --git a/meta/recipes-graphics/cairo/cairo/CVE-2019-6462.patch b/meta/recipes-graphics/cairo/cairo/CVE-2019-6462.patch new file mode 100644 index 0000000..4e4598c --- /dev/null +++ b/meta/recipes-graphics/cairo/cairo/CVE-2019-6462.patch @@ -0,0 +1,20 @@ +There is an assertion in function _cairo_arc_in_direction(). + +CVE: CVE-2019-6462 +Upstream-Status: Pending +Signed-off-by: Ross Burton + +diff --git a/src/cairo-arc.c b/src/cairo-arc.c +index 390397bae..1bde774a4 100644 +--- a/src/cairo-arc.c ++++ b/src/cairo-arc.c +@@ -186,7 +186,8 @@ _cairo_arc_in_direction (cairo_t *cr, + if (cairo_status (cr)) + return; + +- assert (angle_max >= angle_min); ++ if (angle_max < angle_min) ++ return; + + if (angle_max - angle_min > 2 * M_PI * MAX_FULL_CIRCLES) { + angle_max = fmod (angle_max - angle_min, 2 * M_PI); diff --git a/meta/recipes-graphics/cairo/cairo_1.14.12.bb b/meta/recipes-graphics/cairo/cairo_1.14.12.bb index 18b9479..08026c4 100644 --- a/meta/recipes-graphics/cairo/cairo_1.14.12.bb +++ b/meta/recipes-graphics/cairo/cairo_1.14.12.bb @@ -25,6 +25,8 @@ DEPENDS = "fontconfig glib-2.0 libpng pixman zlib" SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.xz \ file://cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff \ file://0001-cairo-Fix-CVE-2017-9814.patch \ + file://CVE-2019-6461.patch \ + file://CVE-2019-6462.patch \ " SRC_URI[md5sum] = "9f0db9dbfca0966be8acd682e636d165" From patchwork Wed Jun 26 16:53:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 167847 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1186930ilk; Wed, 26 Jun 2019 09:56:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0FQPB24rtkijMKiUNcLY6jIEq6ym1n2nZ630MWbIfZVSjo+XZvE0oPL7bNngPvUeFM6Fl X-Received: by 2002:a63:3d0f:: with SMTP id k15mr3896329pga.343.1561568182236; Wed, 26 Jun 2019 09:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561568182; cv=none; d=google.com; s=arc-20160816; b=0hQUN9LIuvU2UZ67qWu36ugN0NnDDBNBNDkrac9MUsu1jtEDxoN7YHbKrQGyQah10T cpQAFisg6yALiBFjpcxluF8pmYxaKvD25fIXKsRLN1AVW7rKDL0JGCPS0x68ZzRXZ9ys 3UEPCKIklA5u2l8DuGwhlcE6TLrTDyeDw8cVSbWvlFiUFVD22fz5leLc7QvbKHzUvkqG GQeSnsYVBbkaEvt/q2nh5twNpjFOQuD9A0SBPKJ9NtEP8ZMhvyf74DZ4na0+9nY2RCmf 2sMwmFfXJggFETva6wCuQRxQsBGV8UYnf8Y487xKwQBwxLl34p4Y2gQENTluv6pcDvqW 44Ow== 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; bh=C762qdSTprZSUuxTojBRY1klpBENI8J/mlxg2B3pSM8=; b=evR84gtiFn5l6335/9K0XcwOgpk5xZKSW4lGEYvctySTbL/yvW9PVsZNWq9C6CuBr4 tE9uiQD9NbOdKxYbnJ+fx41ckW5v6o3AxwqbBS7ys4TcaUes+E9q7WKVzKBBjqzNGDvK P12RU9QhbspKuRIhDPiNftPKKwYdFp481rHzt3SBfyxj1EVkRDGuPAZYirJsGQc7z0Y/ 3/E7SnCCwl6noUzZQuM+2XfAqj2nhh1J/sOykyY+FO+Ma+wZ0STtGFH4lEeSUDZXRRCy yDNMkvxy1OILOJB8dw2+D+OlSEqldsFQhMrD4JDwBEVzR23ak9DIHcXbxyD5mjZAKz+g UIQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hySNWhnu; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 d18si3642884pll.238.2019.06.26.09.56.21; Wed, 26 Jun 2019 09:56:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=hySNWhnu; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id F297D7E7A1; Wed, 26 Jun 2019 16:54:51 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mail.openembedded.org (Postfix) with ESMTP id 21F416D7A2 for ; Wed, 26 Jun 2019 16:53:48 +0000 (UTC) Received: by mail-pg1-f182.google.com with SMTP id w10so1484103pgj.7 for ; Wed, 26 Jun 2019 09:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=XgIIpTrPFZRWDDI5Vh7TOrm71k3GSVjkWjKa7LmZbr8=; b=hySNWhnuCfGuvi3H1p+/S3uKcf2if8W4/cLnWc9tQtEawOH247FkvfB/eImwSTFeWi umf85xDrfzQAuNzAJ6OF8n1hSFqEZXHbGNHiBdKJqjPhQ5KMDkccYHcNTDBsj0l0EyLc U1roHFnSgNVvH+enVz+DEMuCX4AdvGNlCqwOyHyPnjD3RD1zvsqnEytxEtjA3RAjJLJv 8HKIHSiuN3QG8aIzYGUWZUT6epYoX7bh7TH9GusbfT+BAAjSULkRi/CKOQvBXzD3l62F zAFUZbJzW5Xs5DYpOUT3tfY2s9cFTzuYNo+JyySNAMfPCnUU6hjN4aF3mE/rWABCSkLb n7OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=XgIIpTrPFZRWDDI5Vh7TOrm71k3GSVjkWjKa7LmZbr8=; b=iD8p42DBQNx6g8Iypy4DXbFkIB/+zA0etV5iLBZqYnI97SQsfnVb5fPteXOOt3OuFM bMpj7IGqWISJ1WbiL3iKF7/F5ICWhaRJ6MQBbcBo8Pq+fFEGz6a0OL5Ahw69NhfvM4d4 xCRtKyxfMxgyVl2lnA/5XvD29+qWUhXkf3znYTIg24djOneRLBcI1V/4JCyu7r1JwTYK hlQTvCZbX0IBjBG0UqWeqqViYPWHIS5RxDU2w3x1hd7O5AMyn/octlylxwmhLQwheTyQ TL44WrVfREa9YHE7NBAEVNsPJxJY5z+28LnMIiVAz/O6cyKl1jJD3mBHD8KdaXM2osl8 /TgA== X-Gm-Message-State: APjAAAUxyQAVwtoxdCb65eBNzxnSWULaNGni1Crl4UyGG+QoI93H0q1J XDtKz93aUW94Z8owQfIOlMb3in4Qu1U= X-Received: by 2002:a17:90a:3ac2:: with SMTP id b60mr64899pjc.74.1561568029004; Wed, 26 Jun 2019 09:53:49 -0700 (PDT) Received: from localhost.localdomain ([45.19.219.178]) by smtp.gmail.com with ESMTPSA id t11sm15339687pgp.1.2019.06.26.09.53.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Jun 2019 09:53:48 -0700 (PDT) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Wed, 26 Jun 2019 09:53:15 -0700 Message-Id: <69964488112899371b7fd88b6e86e533d968b457.1561566521.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [thud][ 14/25] go: Upgrade 1.11.1 -> 1.11.4 minor release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Khem Raj Source: OpenEmbedded.org MR: 98328, 98329, 98330 Type: Security Fix Disposition: Backport from https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/go?h=warrior&id=b964551a0d08aa921d4e0ceea2f1e28a5e83510e ChangeID: 0b4cc69c357ba14c4e7a6c7ff926cfc6f09489b2 Description: include: CVE-2018-16873 CVE-2018-16874 CVE-2018-16875 Changes: https://golang.org/doc/devel/release.html#go1.11 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie [Bug fix only update] Signed-off-by: Armin Kuster Signed-off-by: Armin Kuster --- meta/recipes-devtools/go/go-1.11.inc | 7 +++---- .../0007-cmd-go-make-GOROOT-precious-by-default.patch | 6 +++--- .../go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch | 13 +++++-------- 3 files changed, 11 insertions(+), 15 deletions(-) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/go/go-1.11.inc b/meta/recipes-devtools/go/go-1.11.inc index d626514..d03e26c 100644 --- a/meta/recipes-devtools/go/go-1.11.inc +++ b/meta/recipes-devtools/go/go-1.11.inc @@ -1,7 +1,7 @@ require go-common.inc GO_BASEVERSION = "1.11" -GO_MINOR = ".1" +GO_MINOR = ".4" PV .= "${GO_MINOR}" FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" @@ -17,8 +17,7 @@ SRC_URI += "\ file://0007-cmd-go-make-GOROOT-precious-by-default.patch \ file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ " - SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch" -SRC_URI[main.md5sum] = "eb9e9792247143705a7aacea9398cde0" -SRC_URI[main.sha256sum] = "558f8c169ae215e25b81421596e8de7572bd3ba824b79add22fba6e284db1117" +SRC_URI[main.md5sum] = "a77697673215be465d1b583680ef2318" +SRC_URI[main.sha256sum] = "4cfd42720a6b1e79a8024895fa6607b69972e8e32446df76d6ce79801bbadb15" diff --git a/meta/recipes-devtools/go/go-1.11/0007-cmd-go-make-GOROOT-precious-by-default.patch b/meta/recipes-devtools/go/go-1.11/0007-cmd-go-make-GOROOT-precious-by-default.patch index f317e48..29ef947 100644 --- a/meta/recipes-devtools/go/go-1.11/0007-cmd-go-make-GOROOT-precious-by-default.patch +++ b/meta/recipes-devtools/go/go-1.11/0007-cmd-go-make-GOROOT-precious-by-default.patch @@ -65,8 +65,8 @@ Index: go/src/cmd/go/internal/work/exec.go =================================================================== --- go.orig/src/cmd/go/internal/work/exec.go +++ go/src/cmd/go/internal/work/exec.go -@@ -440,6 +440,23 @@ func (b *Builder) build(a *Action) (err - return fmt.Errorf("module requires Go %s", p.Module.GoVersion) +@@ -436,6 +436,23 @@ func (b *Builder) build(a *Action) (err + return fmt.Errorf("missing or invalid binary-only package; expected file %q", a.Package.Target) } + if goRootPrecious && (a.Package.Standard || a.Package.Goroot) { @@ -89,7 +89,7 @@ Index: go/src/cmd/go/internal/work/exec.go if err := b.Mkdir(a.Objdir); err != nil { return err } -@@ -1435,6 +1452,14 @@ func BuildInstallFunc(b *Builder, a *Act +@@ -1438,6 +1455,14 @@ func BuildInstallFunc(b *Builder, a *Act return nil } diff --git a/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch b/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch index b6ab504..225cf43 100644 --- a/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch +++ b/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch @@ -18,11 +18,11 @@ Signed-off-by: Hongxu Jia src/cmd/go/internal/work/build.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go -index 145b875..595d703 100644 ---- a/src/cmd/go/internal/work/build.go -+++ b/src/cmd/go/internal/work/build.go -@@ -218,7 +218,11 @@ func AddBuildFlags(cmd *base.Command) { +Index: go/src/cmd/go/internal/work/build.go +=================================================================== +--- go.orig/src/cmd/go/internal/work/build.go ++++ go/src/cmd/go/internal/work/build.go +@@ -223,7 +223,11 @@ func AddBuildFlags(cmd *base.Command) { cmd.Flag.Var(&load.BuildAsmflags, "asmflags", "") cmd.Flag.Var(buildCompiler{}, "compiler", "") @@ -35,6 +35,3 @@ index 145b875..595d703 100644 cmd.Flag.Var(&load.BuildGcflags, "gcflags", "") cmd.Flag.Var(&load.BuildGccgoflags, "gccgoflags", "") cmd.Flag.StringVar(&cfg.BuildMod, "mod", "", "") --- -2.7.4 -