diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-06-17 15:01:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-17 17:56:21 +0100 |
commit | cb25932e731c212d059548bec727917b6d32ece5 (patch) | |
tree | 3916e12643810c26d0267b6aa25fca06a3d080a4 /meta/recipes-extended/newt/files/fix_python_fpic.patch | |
parent | 55c85889811c769aa841bd74b43294e1f982368f (diff) | |
download | poky-cb25932e731c212d059548bec727917b6d32ece5.tar.gz |
libnewt/libnewt-python: upgrade to 0.52.17
- The company address has changed in COPYING.
- Rebase fix_SHAREDDIR.patch to 0.52.17
- Rebase cross_ar.patch to 0.52.17
- Obsolete fix_python_fpic.patch, since the patch has been
merged by upstream;
- The upstream rename snackmodule to snack in 0.52.17, so tweak
libnewt-python_0.52.17.bb;
(From OE-Core rev: 46ec6e5601b88d4270d58586f25626349474d769)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/newt/files/fix_python_fpic.patch')
-rw-r--r-- | meta/recipes-extended/newt/files/fix_python_fpic.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-extended/newt/files/fix_python_fpic.patch b/meta/recipes-extended/newt/files/fix_python_fpic.patch deleted file mode 100644 index 3ef94e0c56..0000000000 --- a/meta/recipes-extended/newt/files/fix_python_fpic.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | Fix relocations warning when compile python module | ||
2 | |||
3 | After enable python support in newt, bitbake complains warning: | ||
4 | |||
5 | WARNING: QA Issue: ELF binary '/mnt/sda10/poky-all-platform/build/tmp/work/i586-poky-linux/libnewt/0.52.14-r2/packages-split/libnewt-python/usr/lib/python2.7/site-packages/_snackmodule.so' has relocations in .text | ||
6 | |||
7 | Add flag -fPIC to compile _snackmodule.so to fix the warning. | ||
8 | |||
9 | Signed-off-by: Kang Kai <kai.kang@windriver.com> | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | --- | ||
14 | --- newt-0.52.14/Makefile.in 2012-12-04 17:27:27.578915801 +0800 | ||
15 | +++ newt-0.52.14/Makefile.in.new 2012-12-04 17:28:43.274918472 +0800 | ||
16 | @@ -84,7 +84,7 @@ | ||
17 | PIFLAGS=`$$ver-config --includes`; \ | ||
18 | PLDFLAGS=`$$ver-config --ldflags`; \ | ||
19 | PLFLAGS=`$$ver-config --libs`; \ | ||
20 | - $(CC) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snackmodule.o snackmodule.c ;\ | ||
21 | + $(CC) $(SHCFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snackmodule.o snackmodule.c ;\ | ||
22 | $(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L. -lnewt $(LIBS);\ | ||
23 | done || : | ||
24 | touch $@ | ||