mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 10:13:03 +01:00
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. (From OE-Core rev: a70103a6e400caaa87e1d36a7e59be7f3059a3bb) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
902 B
Diff
24 lines
902 B
Diff
I was seeing various issues with parallel make, mainly due to to what was likely
|
|
partially installed headers. If you change into the source directory and
|
|
"NOISY=1 make ../obj/apt-pkg/sourcelist.opic" in apt-pkg, you'll see it
|
|
doesn't have any dependencies on the headers being installed. This patch
|
|
fixes that so things build correctly.
|
|
|
|
RP 2012/3/19
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Index: apt-1.2.24/buildlib/library.mak
|
|
===================================================================
|
|
--- apt-1.2.24.orig/buildlib/library.mak
|
|
+++ apt-1.2.24/buildlib/library.mak
|
|
@@ -65,7 +65,7 @@ $(LIB)/lib$(LIBRARY).so.$(MAJOR).$(MINOR
|
|
|
|
# Compilation rules
|
|
vpath %.cc $(SUBDIRS)
|
|
-$(OBJ)/%.opic: %.cc $(LIBRARYDEPENDS)
|
|
+$(OBJ)/%.opic: %.cc $(LIBRARYDEPENDS) $($(LOCAL)-HEADERS)
|
|
echo Compiling $< to $@
|
|
$(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXSTD) $(CXXFLAGS) $(PICFLAGS) -o $@ '$(abspath $<)'
|
|
$(DoDep)
|