summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/dso_linking_change_build_fix.patch25
-rw-r--r--meta/recipes-devtools/apt/apt_0.7.14.bb5
2 files changed, 2 insertions, 28 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/dso_linking_change_build_fix.patch b/meta/recipes-devtools/apt/apt-0.7.14/dso_linking_change_build_fix.patch
deleted file mode 100644
index b69849f946..0000000000
--- a/meta/recipes-devtools/apt/apt-0.7.14/dso_linking_change_build_fix.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids these linking errors:
3
4Building program /build_disk/poky_build/build0/tmp/work/i586-poky-linux/apt-0.7.14-r4/apt-0.7.14/bin/methods/https
5/build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: <86>: invalid DSO for symbol `pthread_cancel@@GLIBC_2.0' definition
6/build_disk/poky_build/build0/tmp/sysroots/i586-poky-linux/lib/libpthread.so.0: could not read symbols: Bad value
7collect2: ld returned 1 exit status
8make[2]: *** [/build_disk/poky_build/build0/tmp/work/i586-poky-linux/apt-0.7.14-r4/apt-0.7.14/bin/methods/https] Error 1
9
10Nitin A Kamble <nitin.a.kamble@intel.com>
11Date: 2011/01/19
12
13Index: apt-0.7.14/methods/makefile
14===================================================================
15--- apt-0.7.14.orig/methods/makefile 2008-05-28 06:22:14.000000000 -0700
16+++ apt-0.7.14/methods/makefile 2011-01-19 16:30:07.369010214 -0800
17@@ -54,7 +54,7 @@
18
19 # The https method
20 PROGRAM=https
21-SLIBS = -lapt-pkg -lcurl
22+SLIBS = -lapt-pkg -lcurl -lpthread
23 LIB_MAKES = apt-pkg/makefile
24 SOURCE = https.cc
25 include $(PROGRAM_H)
diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb b/meta/recipes-devtools/apt/apt_0.7.14.bb
index b9b278b17c..aa155d9d47 100644
--- a/meta/recipes-devtools/apt/apt_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt_0.7.14.bb
@@ -3,11 +3,10 @@ RDEPENDS_${PN} = "dpkg"
3LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" 3LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
4require apt.inc 4require apt.inc
5 5
6PR = "r5" 6PR = "r6"
7 7
8SRC_URI += "file://nodoc.patch \ 8SRC_URI += "file://nodoc.patch \
9 file://includes-fix.patch \ 9 file://includes-fix.patch "
10 file://dso_linking_change_build_fix.patch "
11 10
12SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814" 11SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814"
13SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045" 12SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045"