From patchwork Thu Mar 8 18:18:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131069 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp54734lja; Thu, 8 Mar 2018 10:29:26 -0800 (PST) X-Google-Smtp-Source: AG47ELs7njIlHEsnGsNMtu63oOUR9mc/u6tE8Rw0r96c55gcYqLN7mMJ7oYhAiTRebyc6k4ziUR0 X-Received: by 10.99.60.72 with SMTP id i8mr20226565pgn.399.1520533766688; Thu, 08 Mar 2018 10:29:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520533766; cv=none; d=google.com; s=arc-20160816; b=o71xo+FccwnjydarhoM16Pip2aINEZ9/iwqMectp0mQlXQM2EocvZv7LzmIMghhjI9 +XeL/78kw5LVeVG04YsLKq2P2BI7hbTnYUwx6nix81gR/NhTf+7Pe8Y+X4/A4ZzbTDNt e92xptTSuqywXfcdDkpUE8pP3wbO8yDkxeSur8C2vCv4UBs+gCU4ZtclEB0QbrV5h85J UNcDF7CsMCWPN6u5FfY6UUW8kr2rJEzpQ7EfTfBtr7dn06TrbUeZO/ze5cQWgQ2E8T4w 1pm7On654dpqA0RIA9Yn1+YfMMMD7QAzMJqN4svAtzdBqTamocZvWVxIsKe3FOH7PBFA xsTA== 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=R/9NdgymJfy0sBSj3TtA9WAuFYnMb7QYtyx5k1XnmMo=; b=a7IW0CC4pcnen3I6OFRqN0DDTV1H27Of9qtAMvWLBpyW6hNGG1kxuqeVolKDG5a6id Z+met9449xDwSd8Drxj+V8/VbdSvEnihF91OYKHXe8EUzQTsz7l1+y/vMdB5d271JHgo X376pCYFyW6tdEtgTtgw6ScSyP1HpdLfBlSH61cgOla7XOUbQiyxy7t5fPDxkP++CP+e XhdmkYq6h/ToM3eYrUf1buxjm/OSzMo0LcL91PaCfgsonTUehG2vhF5DNuC81LMSwO88 pVGPDjyDHtuGx6B8l4BDT19+gA/nw0J9Z3sfCAAJlbINggMZEJj516ctOuWxgbyv20cu ADpA== 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 f33-v6si15239712plb.482.2018.03.08.10.29.26; Thu, 08 Mar 2018 10:29:26 -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 785B978A72; Thu, 8 Mar 2018 18:25:50 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id 0399E789FB for ; Thu, 8 Mar 2018 18:25:39 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 10:25:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="24054091" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by orsmga006.jf.intel.com with ESMTP; 08 Mar 2018 10:25:40 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 8 Mar 2018 20:18:00 +0200 Message-Id: <20180308181804.31261-38-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180308181804.31261-1-alexander.kanavin@linux.intel.com> References: <20180308181804.31261-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 38/42] irda-utils: 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 --- .../irda-utils/irda-utils-0.9.18/ldflags.patch | 64 +++++++++++++--------- 1 file changed, 38 insertions(+), 26 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-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch b/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch index e95fe35f8f8..b246de8f5fd 100644 --- a/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch +++ b/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/ldflags.patch @@ -3,72 +3,84 @@ Obey LDFLAGS Signed-off-by: Christopher Larson Upstream-Status: Pending +Index: irda-utils-0.9.18/findchip/Makefile +=================================================================== --- irda-utils-0.9.18.orig/findchip/Makefile +++ irda-utils-0.9.18/findchip/Makefile @@ -65,5 +65,5 @@ install: findchip - - gfindchip: gfindchip.c - $(prn_cc) + + gfindchip: gfindchip.c + $(prn_cc) - $(ECMD))$(CC) $(CFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs` + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) `gtk-config --cflags` $< -o $@ `gtk-config --libs` - + +Index: irda-utils-0.9.18/irattach/Makefile +=================================================================== --- irda-utils-0.9.18.orig/irattach/Makefile +++ irda-utils-0.9.18/irattach/Makefile @@ -49,13 +49,13 @@ all: $(TARGETS) - + irattach: irattach.o util.o - $(prn_cc_o) + $(prn_cc_o) - $(ECMD)$(CC) $(CFLAGS) irattach.o util.o -o $@ + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) irattach.o util.o -o $@ - - - + + + dongle_attach: dongle_attach.o - $(prn_cc_o) + $(prn_cc_o) - $(ECMD)$(CC) $(CFLAGS) dongle_attach.o -o $@ + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) dongle_attach.o -o $@ - - + + install: $(TARGETS) +Index: irda-utils-0.9.18/irdadump/Makefile +=================================================================== --- irda-utils-0.9.18.orig/irdadump/Makefile +++ irda-utils-0.9.18/irdadump/Makefile @@ -40,7 +40,7 @@ lib_irdadump.a: $(LIBIRDADUMP_OBJS) - + irdadump: $(IRDADUMP_OBJS) $(LIBIRDADUMP_TARGET) - $(prn_cc_o) + $(prn_cc_o) - $(ECMD)$(CC) $(CFLAGS) `pkg-config --libs glib-2.0` -o $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET) + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) `pkg-config --libs glib-2.0` -o $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET) - - + + .c.o: +Index: irda-utils-0.9.18/irdaping/Makefile +=================================================================== --- irda-utils-0.9.18.orig/irdaping/Makefile +++ irda-utils-0.9.18/irdaping/Makefile @@ -56,7 +56,7 @@ all: $(TARGETS) - + irdaping: $(OBJS) - $(prn_cc_o) + $(prn_cc_o) - $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@ + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ - - + + .c.o: +Index: irda-utils-0.9.18/irnetd/Makefile +=================================================================== --- irda-utils-0.9.18.orig/irnetd/Makefile +++ irda-utils-0.9.18/irnetd/Makefile @@ -50,7 +50,7 @@ all: $(TARGETS) - + irnetd: $(OBJS) - $(prn_cc_o) + $(prn_cc_o) - $(ECMD)$(CC) $(CFLAGS) $(OBJS) -o $@ + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ - - + + install: irnetd +Index: irda-utils-0.9.18/psion/Makefile +=================================================================== --- irda-utils-0.9.18.orig/psion/Makefile +++ irda-utils-0.9.18/psion/Makefile @@ -25,4 +25,4 @@ install: $(PSION_TARGETS) CFLAGS += -g -I../include -Wall -Wstrict-prototypes $(RPM_OPT_FLAGS) - irpsion5: - $(prn_cc_o) + irpsion5: + $(prn_cc_o) - $(ECMD)$(CC) $(CFLAGS) $(PSION_SRC) -o $@ \ No newline at end of file + $(ECMD)$(CC) $(CFLAGS) $(LDFLAGS) $(PSION_SRC) -o $@