From patchwork Fri Mar 9 18:55:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131225 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1343697lja; Fri, 9 Mar 2018 11:05:05 -0800 (PST) X-Google-Smtp-Source: AG47ELthxQH0DjsM+0b+nKOsPczVdCJnM/s9FsD4pzmIIGj1ifcScucgyjjlaGZ35nmlK6617xE1 X-Received: by 10.99.139.199 with SMTP id j190mr25428181pge.334.1520622305758; Fri, 09 Mar 2018 11:05:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622305; cv=none; d=google.com; s=arc-20160816; b=FP/9eR579TK/J9A2h5Vm+QOwGnk1+sFB8YKfZyqUvElGGGqhpWEZQK7PPizbgh9V5e o1GO0n9N/XZNqSJREMg/l+PKjXQuCxdk2RFX6g/1jRQklxPYggqrnJuJFAuFh5HrMwmS uvePapa0kAE9zrG6On3QBq5cZL3frg2ZGcrIgaMCkbeHpygDIe/61dtapipNqmCL+oHg uiYLxuDiaQGaoNU4xK4CYicmgpG3hgQoFVFk06QBuu/8wzgO1JHLP9tbHKP3DORsj5gx ulpmcg+ZLpxP1yDjrDtL3crPvisgITSWUaT/hGiE1itzZXZRHJWChtdaNaF8HkWetzSm ZwTw== 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:delivered-to:arc-authentication-results; bh=wS49Q6toWL9ilVZgcyEWMa/ubG8zaoYvsN4aNTMo1jc=; b=m+WYX6m7Ufw1+p55ybWbEc+yYDA8ujxfp8lYh4aWy8Y1mgg+vyDkPftKdeWcEgEYfJ W6isUoJENihL77UVEbYLIplSkM8R/MyVz9fLWC/M+miEy38vzn650Ef+Zk46CL+W20Hh lJgR01gbwGQz0gy5q3QWUdx5+nn3aUOUs70CYccTUTQV/7e2kH2eEkN2dSLS73dIsidB LcA72TRQBxSyU8luD1oAkI9E1XOlKPS7qGdTCbuIYq10ZIe858d25KpzSaa1J9MgKZIB 016esMRZRACan7dPIgkbZXfL785pgwXjWVnPSBmIp0RUoXoTn1/wVuyHrReTIc8//8s1 RadA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x23si1283222pfh.355.2018.03.09.11.05.05; Fri, 09 Mar 2018 11:05:05 -0800 (PST) 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; 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 Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0987C789A5; Fri, 9 Mar 2018 19:03:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id 0767978956 for ; Fri, 9 Mar 2018 19:03:14 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2018 11:03:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32651965" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:03:14 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:55:54 +0200 Message-Id: <20180309185614.31113-16-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> References: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 16/36] ruby: refresh patches 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 The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton Signed-off-by: Alexander Kanavin --- .../0002-Obey-LDFLAGS-for-the-link-of-libruby.patch | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch index b0114ba28b2..4cf579f4270 100644 --- a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch +++ b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch @@ -10,19 +10,16 @@ Signed-off-by: Christopher Larson Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/Makefile.in b/Makefile.in -index 7da2488..5b4aea1 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -75,7 +75,7 @@ EXTLIBS = - LIBS = @LIBS@ $(EXTLIBS) +Index: ruby-2.5.0/Makefile.in +=================================================================== +--- ruby-2.5.0.orig/Makefile.in ++++ ruby-2.5.0/Makefile.in +@@ -77,7 +77,7 @@ LIBS = @LIBS@ $(EXTLIBS) MISSING = @LIBOBJS@ @ALLOCA@ + ENABLE_SHARED = @ENABLE_SHARED@ LDSHARED = @LIBRUBY_LDSHARED@ -DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG) +DLDFLAGS = @LIBRUBY_DLDFLAGS@ @LDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG) SOLIBS = @SOLIBS@ + ENABLE_DEBUG_ENV = @ENABLE_DEBUG_ENV@ MAINLIBS = @MAINLIBS@ - ARCHMINIOBJS = @MINIOBJS@ --- -2.8.0 -