summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-06-08 20:30:17 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-06-08 20:30:17 -0400
commit0d94b7a6ed9345436040c02e70b36065e3976e21 (patch)
treebc143addfa31d217756766b44dcfe5de2a7e1283 /dev-util/eresi/files/0.82_beta2-drop-dprintf.patch
parentsys-devel/gcc: remove (diff)
downloadblueness-0d94b7a6ed9345436040c02e70b36065e3976e21.tar.gz
blueness-0d94b7a6ed9345436040c02e70b36065e3976e21.tar.bz2
blueness-0d94b7a6ed9345436040c02e70b36065e3976e21.zip
dev-util/eresi: scavenged from ::sunrise, bug #253436
Package-Manager: portage-2.2.28
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.patch25
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);