diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-07-22 23:26:52 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-07-22 23:26:52 +0000 |
commit | d533d4168ce5af8089d2df64ea3d95acd2fb686d (patch) | |
tree | 87c099ede9f24e85b872437dad4ff425b629c7a1 /dev-util/elfsh/files | |
parent | Stable on amd64 (bug #277749) (diff) | |
download | gentoo-2-d533d4168ce5af8089d2df64ea3d95acd2fb686d.tar.gz gentoo-2-d533d4168ce5af8089d2df64ea3d95acd2fb686d.tar.bz2 gentoo-2-d533d4168ce5af8089d2df64ea3d95acd2fb686d.zip |
Fix compilation with glibc-2.10, wrt bug #276065
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-util/elfsh/files')
-rw-r--r-- | dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch b/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch new file mode 100644 index 000000000000..8866db7ed31b --- /dev/null +++ b/dev-util/elfsh/files/elfsh-0.51_beta3-glibc210.patch @@ -0,0 +1,16 @@ +diff -NrU5 elfsh-0.51b3.original/vm/include/elfsh.h elfsh-0.51b3/vm/include/elfsh.h +--- elfsh-0.51b3.original/vm/include/elfsh.h 2009-07-22 23:17:51.000000000 -0600 ++++ elfsh-0.51b3/vm/include/elfsh.h 2009-07-22 23:22:30.000000000 -0600 +@@ -469,11 +469,11 @@ + int vm_getsort(u_int index, u_int argc, char **argv); + int vm_getdisasm(u_int index, u_int argc, char **argv); + int vm_gethexa(u_int index, u_int argc, char **argv); + int vm_getvarparams(u_int index, u_int argc, char **argv); + +-int dprintf(int fd, char *format, ...); ++int d_printf(int fd, char *format, ...); + + /* Libasm resolve handler */ + void do_resolve(void *data, u_int vaddr, char *, u_int); + u_int display_instr(int, u_int, u_int, u_int, u_int, + char *, u_int, char *); |