Hi Jussi I really used git rename to produce 0.166 to 0.168 patch, but it did not work on last patch 0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch. I guess it’s because I used a different way from the original author. I used git format-patch, maybe he used patch -Naur?
The original patch fixed 73 files, and the index of each file is: Index: elfutils-0.166/libelf/elf_getarsym.c =================================================================== --- elfutils-0.166.orig/libelf/elf_getarsym.c +++ elfutils-0.166/libelf/elf_getarsym.c And my new patch here is like diff --git a/libelf/elf_getarsym.c b/libelf/elf_getarsym.c index 42ed0d1..6e7a3d5 100644 --- a/libelf/elf_getarsym.c +++ b/libelf/elf_getarsym.c @@ -303,7 +303,7 @@ elf_getarsym (Elf *elf, size_t *ptr) arsym[cnt].as_hash = _dl_elf_hash (str_data); I also found that the order of fixed files is different from original patch. So git check these changes and consider the difference is big enough to produce a new file? Zheng From: Jussi Kukkonen [mailto:jussi.kukko...@intel.com] Sent: Tuesday, January 24, 2017 4:50 PM To: Zheng, Ruoqin/郑 若钦 <zhengrq.f...@cn.fujitsu.com> Cc: Patches and discussions about the oe-core layer <openembedded-core@lists.openembedded.org> Subject: Re: [OE-core] [PATCH] elfutils: 0.166->0.168 On 24 January 2017 at 09:13, Zheng Ruoqin <zhengrq.f...@cn.fujitsu.com<mailto:zhengrq.f...@cn.fujitsu.com>> wrote: 1) Upgrade elfutils from 0.166 to 0.168 2) Delete 1 patch below to make it compatible with new version elfcmp-fix-self-comparision.patch 3) Modify 4 patches below to make it compatible with new version elfutils-0.166/hppa_backend.diff -> elfutils-0.168/hppa_backend.diff elfutils-0.166/mips_backend.diff -> elfutils-0.168/mips_backend.diff elfutils-0.166/m68k_backend.diff -> elfutils-0.168/m68k_backend.diff elfutils-0.166/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch -> elfutils-0.168/0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch The last one is now showing as one removed and one added patch. Please use git rename detection to make it more readable: $ git config diff.renames copies Thanks, Jussi
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core