diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/glibc/glibc-2.3.2/sparc64-fixups.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/glibc/glibc-2.3.2/sparc64-fixups.patch')
-rw-r--r-- | recipes/glibc/glibc-2.3.2/sparc64-fixups.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.3.2/sparc64-fixups.patch b/recipes/glibc/glibc-2.3.2/sparc64-fixups.patch new file mode 100644 index 0000000000..2b17c8608f --- /dev/null +++ b/recipes/glibc/glibc-2.3.2/sparc64-fixups.patch @@ -0,0 +1,29 @@ +--- glibc-2.2.3/elf/ldconfig.c~ Tue Mar 20 11:44:35 2001 ++++ glibc-2.2.3/elf/ldconfig.c Tue Apr 24 18:14:05 2001 +@@ -287,6 +287,26 @@ + dir_entries = entry; + else if (ptr == NULL) + prev->next = entry; ++#ifdef __sparc__ ++#define MSUBDIR "64" ++ if (ptr == NULL) { ++ int si = strlen(entry->path) - strlen(MSUBDIR); ++ if (strcmp (entry->path + (si <= 0 ? 0 : si), MSUBDIR) != 0) { ++ /* Handle subdirectory later. */ ++ struct dir_entry *new_entry; ++ ++ new_entry = xmalloc (sizeof (struct dir_entry)); ++ new_entry->path = xmalloc(strlen(entry->path)+strlen(MSUBDIR)+1); ++ new_entry->flag = entry->flag; ++ new_entry->next = NULL; ++ sprintf(new_entry->path, "%s%s", entry->path, MSUBDIR); ++ if (opt_verbose) ++ printf("Adding implicit multilib directory:\n\t%s\n", new_entry->path); ++ add_single_dir (new_entry, 0); ++ } ++ } ++#undef MSUBDIR ++#endif + } + + /* Add one directory to the list of directories to process. */ |