diff options
Diffstat (limited to 'meta/recipes-devtools/apt/apt-0.9.7.8')
9 files changed, 0 insertions, 188 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/disable-configure-in-makefile.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/disable-configure-in-makefile.patch deleted file mode 100644 index 7c2f64e3e6..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/disable-configure-in-makefile.patch +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | Disable configure at compilation stage | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> | ||
5 | |||
6 | Index: apt-0.9.7.7/Makefile | ||
7 | =================================================================== | ||
8 | --- apt-0.9.7.7.orig/Makefile | ||
9 | +++ apt-0.9.7.7/Makefile | ||
10 | @@ -33,7 +33,7 @@ veryclean: clean | ||
11 | # The startup target builds the necessary configure scripts. It should | ||
12 | # be used after a CVS checkout. | ||
13 | CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile | ||
14 | -include buildlib/configure.mak | ||
15 | +#include buildlib/configure.mak | ||
16 | $(BUILDDIR)/include/config.h: buildlib/config.h.in | ||
17 | $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in | ||
18 | $(BUILDDIR)/environment.mak: buildlib/environment.mak.in | ||
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/fix-gcc-4.6-null-not-defined.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/fix-gcc-4.6-null-not-defined.patch deleted file mode 100644 index 70ecd95096..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/fix-gcc-4.6-null-not-defined.patch +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | --- a/apt-pkg/contrib/weakptr.h | ||
2 | +++ b/apt-pkg/contrib/weakptr.h | ||
3 | @@ -21,6 +21,7 @@ | ||
4 | #ifndef WEAK_POINTER_H | ||
5 | #define WEAK_POINTER_H | ||
6 | |||
7 | +#include <cstdlib> | ||
8 | #include <set> | ||
9 | /** | ||
10 | * Class for objects providing support for weak pointers. | ||
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/makerace.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/makerace.patch deleted file mode 100644 index 403711f013..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/makerace.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | I was seeing various issues with parallel make, mainly due to to what was likely | ||
2 | partially installed headers. If you change into the source directory and | ||
3 | "NOISY=1 make ../obj/apt-pkg/sourcelist.opic" in apt-pkg, you'll see it | ||
4 | doesn't have any dependencies on the headers being installed. This patch | ||
5 | fixes that so things build correctly. | ||
6 | |||
7 | RP 2012/3/19 | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Index: apt-0.7.14/buildlib/library.mak | ||
12 | =================================================================== | ||
13 | --- apt-0.7.14.orig/buildlib/library.mak | ||
14 | +++ apt-0.7.14/buildlib/library.mak | ||
15 | @@ -61,7 +61,7 @@ $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR | ||
16 | |||
17 | # Compilation rules | ||
18 | vpath %.cc $(SUBDIRS) | ||
19 | -$(OBJ)/%.opic: %.cc | ||
20 | +$(OBJ)/%.opic: %.cc $($(LOCAL)-HEADERS) | ||
21 | echo Compiling $< to $@ | ||
22 | $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) $(PICFLAGS) -o $@ $< | ||
23 | $(DoDep) | ||
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/no-ko-translation.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/no-ko-translation.patch deleted file mode 100644 index 7aa408f19e..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/no-ko-translation.patch +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | --- | ||
4 | po/LINGUAS | 2 +- | ||
5 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
6 | |||
7 | --- a/po/LINGUAS | ||
8 | +++ b/po/LINGUAS | ||
9 | @@ -1 +1 @@ | ||
10 | -ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ko ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl uk vi zh_CN zh_TW | ||
11 | +ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl uk vi zh_CN zh_TW | ||
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/no-nls-dpkg.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/no-nls-dpkg.patch deleted file mode 100644 index f1dd5fd05b..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/no-nls-dpkg.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | --- a/apt-pkg/deb/dpkgpm.cc | ||
2 | +++ b/apt-pkg/deb/dpkgpm.cc | ||
3 | @@ -42,6 +42,12 @@ | ||
4 | #include <apti18n.h> | ||
5 | /*}}}*/ | ||
6 | |||
7 | +#ifdef USE_NLS | ||
8 | +#define _dpkg(x) dgettext("dpkg", x) | ||
9 | +#else | ||
10 | +#define _dpkg(x) x | ||
11 | +#endif | ||
12 | + | ||
13 | using namespace std; | ||
14 | |||
15 | namespace | ||
16 | @@ -1279,7 +1285,7 @@ void pkgDPkgPM::WriteApportReport(const | ||
17 | } | ||
18 | |||
19 | // check if its not a follow up error | ||
20 | - const char *needle = dgettext("dpkg", "dependency problems - leaving unconfigured"); | ||
21 | + const char *needle = _dpkg("dependency problems - leaving unconfigured"); | ||
22 | if(strstr(errormsg, needle) != NULL) { | ||
23 | std::clog << _("No apport report written because the error message indicates its a followup error from a previous failure.") << std::endl; | ||
24 | return; | ||
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/noconfigure.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/noconfigure.patch deleted file mode 100644 index 712d5e7296..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/noconfigure.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> | ||
3 | |||
4 | Index: apt-0.9.7.7/apt-pkg/packagemanager.cc | ||
5 | =================================================================== | ||
6 | --- apt-0.9.7.7.orig/apt-pkg/packagemanager.cc | ||
7 | +++ apt-0.9.7.7/apt-pkg/packagemanager.cc | ||
8 | @@ -893,10 +893,12 @@ bool pkgPackageManager::SmartUnPack(PkgI | ||
9 | return false; | ||
10 | |||
11 | if (Immediate == true) { | ||
12 | +#if 0 | ||
13 | // Perform immedate configuration of the package. | ||
14 | if (SmartConfigure(Pkg, Depth + 1) == false) | ||
15 | _error->Warning(_("Could not perform immediate configuration on '%s'. " | ||
16 | "Please see man 5 apt.conf under APT::Immediate-Configure for details. (%d)"),Pkg.FullName().c_str(),2); | ||
17 | +#endif | ||
18 | } | ||
19 | |||
20 | return true; | ||
21 | @@ -986,6 +988,7 @@ pkgPackageManager::OrderResult pkgPackag | ||
22 | } | ||
23 | } | ||
24 | |||
25 | +#if 0 | ||
26 | // Final run through the configure phase | ||
27 | if (ConfigureAll() == false) | ||
28 | return Failed; | ||
29 | @@ -1000,6 +1003,7 @@ pkgPackageManager::OrderResult pkgPackag | ||
30 | return Failed; | ||
31 | } | ||
32 | } | ||
33 | +#endif | ||
34 | |||
35 | return Completed; | ||
36 | } | ||
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/nodoc.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/nodoc.patch deleted file mode 100644 index 449e42df4a..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/nodoc.patch +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | Disable documentation | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> | ||
5 | |||
6 | Index: apt-0.9.7.7/Makefile | ||
7 | =================================================================== | ||
8 | --- apt-0.9.7.7.orig/Makefile | ||
9 | +++ apt-0.9.7.7/Makefile | ||
10 | @@ -17,7 +17,7 @@ all headers library clean veryclean bina | ||
11 | $(MAKE) -C cmdline $@ | ||
12 | $(MAKE) -C ftparchive $@ | ||
13 | $(MAKE) -C dselect $@ | ||
14 | - $(MAKE) -C doc $@ | ||
15 | +# $(MAKE) -C doc $@ | ||
16 | $(MAKE) -C po $@ | ||
17 | $(MAKE) -C test $@ | ||
18 | |||
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/truncate-filename.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/truncate-filename.patch deleted file mode 100644 index db1c42b66c..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/truncate-filename.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | strutl.cc: the filename can't be longer than 255 | ||
2 | |||
3 | The URItoFileName translates the path into the filename, but the | ||
4 | filename can't be longer than 255 according to | ||
5 | /usr/include/linux/limits.h. | ||
6 | |||
7 | Truncate it when it is longer than 240 (leave some spaces for | ||
8 | ".Packages" and "._Release" suffix) | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
12 | --- | ||
13 | apt-pkg/contrib/strutl.cc | 7 ++++++- | ||
14 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc | ||
17 | --- a/apt-pkg/contrib/strutl.cc | ||
18 | +++ b/apt-pkg/contrib/strutl.cc | ||
19 | @@ -399,7 +399,12 @@ string URItoFileName(const string &URI) | ||
20 | // "\x00-\x20{}|\\\\^\\[\\]<>\"\x7F-\xFF"; | ||
21 | string NewURI = QuoteString(U,"\\|{}[]<>\"^~_=!@#$%^&*"); | ||
22 | replace(NewURI.begin(),NewURI.end(),'/','_'); | ||
23 | - return NewURI; | ||
24 | + | ||
25 | + // Truncate from the head when it is longer than 240 | ||
26 | + if(NewURI.length() > 240) | ||
27 | + return NewURI.substr(NewURI.length() - 240, NewURI.length() - 1); | ||
28 | + else | ||
29 | + return NewURI; | ||
30 | } | ||
31 | /*}}}*/ | ||
32 | // Base64Encode - Base64 Encoding routine for short strings /*{{{*/ | ||
33 | -- | ||
34 | 1.7.10.4 | ||
35 | |||
diff --git a/meta/recipes-devtools/apt/apt-0.9.7.8/use-host.patch b/meta/recipes-devtools/apt/apt-0.9.7.8/use-host.patch deleted file mode 100644 index f7eaaedf8d..0000000000 --- a/meta/recipes-devtools/apt/apt-0.9.7.8/use-host.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: apt-0.9.7.7/configure.in | ||
2 | =================================================================== | ||
3 | --- apt-0.9.7.7.orig/configure.in | ||
4 | +++ apt-0.9.7.7/configure.in | ||
5 | @@ -112,7 +112,7 @@ dnl This is often the dpkg architecture | ||
6 | dnl First check against the full canonical canoncial-system-type in $target | ||
7 | dnl and if that fails, just look for the cpu | ||
8 | AC_MSG_CHECKING(debian architecture) | ||
9 | -archset="`dpkg-architecture -qDEB_HOST_ARCH`" | ||
10 | +archset="`echo $host_alias|cut -d'-' -f1`" | ||
11 | if test "x$archset" = "x"; then | ||
12 | AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture]) | ||
13 | fi | ||