From: Ross Burton Date: Wed, 15 Nov 2017 16:45:41 +0000 (+0000) Subject: libaio: refresh patches X-Git-Tag: uninative-1.8~75 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e3e8c2ec038c95d8203c4886ef46aec6b0741837;p=openembedded-core.git libaio: refresh patches 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 --- diff --git a/meta/recipes-extended/libaio/libaio/destdir.patch b/meta/recipes-extended/libaio/libaio/destdir.patch index dad9601c49..0f90406bee 100644 --- a/meta/recipes-extended/libaio/libaio/destdir.patch +++ b/meta/recipes-extended/libaio/libaio/destdir.patch @@ -2,16 +2,16 @@ Upstream-Status: Pending from openembedded, added by Qing He -Index: libaio-0.3.106/Makefile +Index: libaio-0.3.110/Makefile =================================================================== ---- libaio-0.3.106.orig/Makefile 2004-02-26 07:25:10.000000000 -0800 -+++ libaio-0.3.106/Makefile 2006-10-14 09:19:07.000000000 -0700 -@@ -15,7 +15,7 @@ +--- libaio-0.3.110.orig/Makefile ++++ libaio-0.3.110/Makefile +@@ -15,7 +15,7 @@ all: @$(MAKE) -C src install: - @$(MAKE) -C src install prefix=$(prefix) includedir=$(includedir) libdir=$(libdir) + @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir) - - clean: + check: + @$(MAKE) -C harness check