diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-05-23 10:39:19 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-05-23 10:39:19 -0400 |
commit | 3f96d48be6eaf5d19011431d362f5d1899add92a (patch) | |
tree | 0aaf28ab9be4b363ec5a68ba0f274d107b4c4784 /dev-util/eresi/files/0.82_beta2-drop-dprintf.patch | |
parent | sys-kernel/hardened-sources: moved to tree (diff) | |
download | blueness-3f96d48be6eaf5d19011431d362f5d1899add92a.tar.gz blueness-3f96d48be6eaf5d19011431d362f5d1899add92a.tar.bz2 blueness-3f96d48be6eaf5d19011431d362f5d1899add92a.zip |
dev-util/eresi: moved from sunrise overlay for testing before being introduced to the tree
Diffstat (limited to 'dev-util/eresi/files/0.82_beta2-drop-dprintf.patch')
-rw-r--r-- | dev-util/eresi/files/0.82_beta2-drop-dprintf.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/eresi/files/0.82_beta2-drop-dprintf.patch b/dev-util/eresi/files/0.82_beta2-drop-dprintf.patch new file mode 100644 index 0000000..bde1a95 --- /dev/null +++ b/dev-util/eresi/files/0.82_beta2-drop-dprintf.patch @@ -0,0 +1,25 @@ +Drop conflicting dprintf declaration. + +ERESI does declare a prototype for dprintf, which conflicts with the +declaration in stdio.h, leading to the following compiler error: + +../librevm/include/revm.h:604: error: conflicting types for ‘dprintf’ +/usr/include/stdio.h:397: note: previous declaration of ‘dprintf’ was here + +As the whole ERESI source code doesn't even mention dprintf in any +other place, dropping the declaration shouldn't cause any harm at all. + +2010-04-07 Martin von Gagern + +Index: eresi-0.82_beta2/librevm/include/revm.h +=================================================================== +--- eresi-0.82_beta2.orig/librevm/include/revm.h ++++ eresi-0.82_beta2/librevm/include/revm.h +@@ -601,7 +601,6 @@ int revm_isnbr(char *string); + void revm_workfiles_load(); + int revm_implicit(revmcmd_t *actual); + int revm_workfiles_unload(); +-int dprintf(int fd, char *format, ...); + void revm_pht_print(elfsh_Phdr *phdr, uint16_t num, eresi_Addr base); + char *revm_fetch_sht_typedesc(elfsh_Word typenum); + int revm_sht_print(elfsh_Shdr *shdr, u_int num, char rtflag); |