diff options
Diffstat (limited to 'recipes/ipkg-utils/ipkg-utils/arfile_header_split.patch')
-rw-r--r-- | recipes/ipkg-utils/ipkg-utils/arfile_header_split.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/recipes/ipkg-utils/ipkg-utils/arfile_header_split.patch b/recipes/ipkg-utils/ipkg-utils/arfile_header_split.patch deleted file mode 100644 index ce1993be0d..0000000000 --- a/recipes/ipkg-utils/ipkg-utils/arfile_header_split.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- ipkg-utils/arfile.py.orig 2010-09-29 13:38:15.000000000 -0700 -+++ ipkg-utils/arfile.py 2010-10-01 16:06:00.000000000 -0700 -@@ -74,7 +74,12 @@ - if l == "\n": - l = self.f.readline() - if not l: break -- descriptor = l.split() -+ # Field lengths from /usr/include/ar.h: -+ ar_field_lens = [ 16, 12, 6, 6, 8, 10, 2 ] -+ descriptor = [] -+ for field_len in ar_field_lens: -+ descriptor.append(l[:field_len].strip()) -+ l = l[field_len:] - # print descriptor - size = int(descriptor[5]) - memberName = descriptor[0][:-1] |