summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-07-22 23:26:52 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-07-22 23:26:52 +0000
commitd533d4168ce5af8089d2df64ea3d95acd2fb686d (patch)
tree87c099ede9f24e85b872437dad4ff425b629c7a1 /dev-util/elfsh/files
parentStable on amd64 (bug #277749) (diff)
downloadgentoo-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.patch16
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 *);