diff options
Diffstat (limited to 'meta/packages/elfutils/elfutils-0.131/prelink_build_fix.patch')
-rw-r--r-- | meta/packages/elfutils/elfutils-0.131/prelink_build_fix.patch | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/meta/packages/elfutils/elfutils-0.131/prelink_build_fix.patch b/meta/packages/elfutils/elfutils-0.131/prelink_build_fix.patch deleted file mode 100644 index 3c3cf79d91..0000000000 --- a/meta/packages/elfutils/elfutils-0.131/prelink_build_fix.patch +++ /dev/null | |||
@@ -1,70 +0,0 @@ | |||
1 | newer prelink building (configure) fails like this | ||
2 | checking libelf.h usability... no | ||
3 | checking libelf.h presence... yes | ||
4 | configure: WARNING: libelf.h: present but cannot be compiled | ||
5 | |||
6 | Found a bug report suggesting fix for the issue here: | ||
7 | http://bugs.gentoo.org/204502 | ||
8 | The bug report says: | ||
9 | ------- Comment #7 From SpanKY 2008-01-06 04:53:16 0000 [reply] ------- | ||
10 | do `sed -i 's:off64_t:__off64_t:'` on libelf.h ... that lets me build prelink | ||
11 | |||
12 | 2010/06/24 | ||
13 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
14 | |||
15 | Index: elfutils-0.131/libelf/libelf.h | ||
16 | =================================================================== | ||
17 | --- elfutils-0.131.orig/libelf/libelf.h | ||
18 | +++ elfutils-0.131/libelf/libelf.h | ||
19 | @@ -95,7 +95,7 @@ typedef struct | ||
20 | Elf_Type d_type; /* Type of this piece of data. */ | ||
21 | unsigned int d_version; /* ELF version. */ | ||
22 | size_t d_size; /* Size in bytes. */ | ||
23 | - off64_t d_off; /* Offset into section. */ | ||
24 | + __off64_t d_off; /* Offset into section. */ | ||
25 | size_t d_align; /* Alignment in section. */ | ||
26 | } Elf_Data; | ||
27 | |||
28 | @@ -157,7 +157,7 @@ typedef struct | ||
29 | uid_t ar_uid; /* User ID. */ | ||
30 | gid_t ar_gid; /* Group ID. */ | ||
31 | mode_t ar_mode; /* File mode. */ | ||
32 | - off64_t ar_size; /* File size. */ | ||
33 | + __off64_t ar_size; /* File size. */ | ||
34 | char *ar_rawname; /* Original name of archive member. */ | ||
35 | } Elf_Arhdr; | ||
36 | |||
37 | @@ -198,13 +198,13 @@ extern Elf_Cmd elf_next (Elf *__elf); | ||
38 | extern int elf_end (Elf *__elf); | ||
39 | |||
40 | /* Update ELF descriptor and write file to disk. */ | ||
41 | -extern off64_t elf_update (Elf *__elf, Elf_Cmd __cmd); | ||
42 | +extern __off64_t elf_update (Elf *__elf, Elf_Cmd __cmd); | ||
43 | |||
44 | /* Determine what kind of file is associated with ELF. */ | ||
45 | extern Elf_Kind elf_kind (Elf *__elf) __attribute__ ((__pure__)); | ||
46 | |||
47 | /* Get the base offset for an object file. */ | ||
48 | -extern off64_t elf_getbase (Elf *__elf); | ||
49 | +extern __off64_t elf_getbase (Elf *__elf); | ||
50 | |||
51 | |||
52 | /* Retrieve file identification data. */ | ||
53 | @@ -302,7 +302,7 @@ extern Elf_Data *elf_newdata (Elf_Scn *_ | ||
54 | would be for TYPE. The resulting Elf_Data pointer is valid until | ||
55 | elf_end (ELF) is called. */ | ||
56 | extern Elf_Data *elf_getdata_rawchunk (Elf *__elf, | ||
57 | - off64_t __offset, size_t __size, | ||
58 | + __off64_t __offset, size_t __size, | ||
59 | Elf_Type __type); | ||
60 | |||
61 | |||
62 | @@ -314,7 +314,7 @@ extern char *elf_strptr (Elf *__elf, siz | ||
63 | extern Elf_Arhdr *elf_getarhdr (Elf *__elf); | ||
64 | |||
65 | /* Return offset in archive for current file ELF. */ | ||
66 | -extern off64_t elf_getaroff (Elf *__elf); | ||
67 | +extern __off64_t elf_getaroff (Elf *__elf); | ||
68 | |||
69 | /* Select archive element at OFFSET. */ | ||
70 | extern size_t elf_rand (Elf *__elf, size_t __offset); | ||