mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
apt: 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. (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>
This commit is contained in:
committed by
Richard Purdie
parent
e49ac3eabb
commit
98e78f2e49
@@ -17,10 +17,10 @@ Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
|
||||
configure.ac | 7 -------
|
||||
2 files changed, 3 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 7680f08..69527a5 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
Index: apt-1.2.24/Makefile
|
||||
===================================================================
|
||||
--- apt-1.2.24.orig/Makefile
|
||||
+++ apt-1.2.24/Makefile
|
||||
@@ -9,8 +9,8 @@ endif
|
||||
.PHONY: default
|
||||
default: startup all
|
||||
@@ -32,9 +32,9 @@ index 7680f08..69527a5 100644
|
||||
$(MAKE) -C vendor $@
|
||||
$(MAKE) -C apt-pkg $@
|
||||
$(MAKE) -C apt-inst $@
|
||||
@@ -21,8 +21,6 @@ all headers library clean veryclean binary program doc manpages docbook test upd
|
||||
@@ -21,8 +21,6 @@ all headers library clean veryclean bina
|
||||
$(MAKE) -C dselect $@
|
||||
$(MAKE) -C doc $@
|
||||
# $(MAKE) -C doc $@
|
||||
$(MAKE) -C po $@
|
||||
- # FIXME: -C test has issue swith parallel builds, investigate!
|
||||
- -$(MAKE) -C test $@
|
||||
@@ -52,10 +52,10 @@ index 7680f08..69527a5 100644
|
||||
|
||||
dirs: startup
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1f05da5..e47f459 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
Index: apt-1.2.24/configure.ac
|
||||
===================================================================
|
||||
--- apt-1.2.24.orig/configure.ac
|
||||
+++ apt-1.2.24/configure.ac
|
||||
@@ -90,13 +90,6 @@ AC_CHECK_LIB(curl, curl_easy_init,
|
||||
AC_MSG_ERROR([failed: I need CURL due https support]),
|
||||
)
|
||||
@@ -70,6 +70,3 @@ index 1f05da5..e47f459 100644
|
||||
AC_SUBST(BDBLIB)
|
||||
|
||||
HAVE_ZLIB=no
|
||||
--
|
||||
2.1.4
|
||||
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
--- a/apt-pkg/contrib/weakptr.h
|
||||
+++ b/apt-pkg/contrib/weakptr.h
|
||||
Index: apt-1.2.24/apt-pkg/contrib/weakptr.h
|
||||
===================================================================
|
||||
--- apt-1.2.24.orig/apt-pkg/contrib/weakptr.h
|
||||
+++ apt-1.2.24/apt-pkg/contrib/weakptr.h
|
||||
@@ -21,6 +21,7 @@
|
||||
#ifndef WEAK_POINTER_H
|
||||
#define WEAK_POINTER_H
|
||||
|
||||
+#include <cstdlib>
|
||||
#include <set>
|
||||
/**
|
||||
* Class for objects providing support for weak pointers.
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
@@ -8,16 +8,16 @@ RP 2012/3/19
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: apt-0.9.9.4/buildlib/library.mak
|
||||
Index: apt-1.2.24/buildlib/library.mak
|
||||
===================================================================
|
||||
--- apt-0.9.9.4.orig/buildlib/library.mak 2013-07-31 15:45:07.320440575 +0300
|
||||
+++ apt-0.9.9.4/buildlib/library.mak 2013-07-31 15:46:49.440440561 +0300
|
||||
@@ -61,7 +61,7 @@
|
||||
--- 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) $(CXXFLAGS) $(PICFLAGS) -o $@ $<
|
||||
$(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXSTD) $(CXXFLAGS) $(PICFLAGS) -o $@ '$(abspath $<)'
|
||||
$(DoDep)
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
--- a/apt-pkg/deb/dpkgpm.cc
|
||||
+++ b/apt-pkg/deb/dpkgpm.cc
|
||||
@@ -42,6 +42,12 @@
|
||||
Index: apt-1.2.24/apt-pkg/deb/dpkgpm.cc
|
||||
===================================================================
|
||||
--- apt-1.2.24.orig/apt-pkg/deb/dpkgpm.cc
|
||||
+++ apt-1.2.24/apt-pkg/deb/dpkgpm.cc
|
||||
@@ -54,6 +54,12 @@
|
||||
#include <apti18n.h>
|
||||
/*}}}*/
|
||||
|
||||
@@ -14,8 +16,8 @@ Upstream-Status: Pending
|
||||
+
|
||||
using namespace std;
|
||||
|
||||
namespace
|
||||
@@ -1279,7 +1285,7 @@ void pkgDPkgPM::WriteApportReport(const
|
||||
APT_PURE static string
|
||||
@@ -1703,7 +1709,7 @@ void pkgDPkgPM::WriteApportReport(const
|
||||
}
|
||||
|
||||
// check if its not a follow up error
|
||||
|
||||
@@ -3,16 +3,16 @@ Disable documentation
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
|
||||
|
||||
Index: apt-0.9.7.7/Makefile
|
||||
Index: apt-1.2.24/Makefile
|
||||
===================================================================
|
||||
--- apt-0.9.7.7.orig/Makefile
|
||||
+++ apt-0.9.7.7/Makefile
|
||||
@@ -17,7 +17,7 @@ all headers library clean veryclean bina
|
||||
--- apt-1.2.24.orig/Makefile
|
||||
+++ apt-1.2.24/Makefile
|
||||
@@ -19,7 +19,7 @@ all headers library clean veryclean bina
|
||||
$(MAKE) -C cmdline $@
|
||||
$(MAKE) -C ftparchive $@
|
||||
$(MAKE) -C dselect $@
|
||||
- $(MAKE) -C doc $@
|
||||
+# $(MAKE) -C doc $@
|
||||
$(MAKE) -C po $@
|
||||
$(MAKE) -C test $@
|
||||
|
||||
# FIXME: -C test has issue swith parallel builds, investigate!
|
||||
-$(MAKE) -C test $@
|
||||
|
||||
Reference in New Issue
Block a user