SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
devel/avrdude/patches/patch-fileio_c
Normal file
15
devel/avrdude/patches/patch-fileio_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
Define EM_AVR, since it isn't included in our sys/exec_elf.h.
|
||||
|
||||
Index: fileio.c
|
||||
--- fileio.c.orig
|
||||
+++ fileio.c
|
||||
@@ -34,6 +34,9 @@
|
||||
#elif defined(HAVE_LIBELF_LIBELF_H)
|
||||
#include <libelf/libelf.h>
|
||||
#endif
|
||||
+#ifndef EM_AVR
|
||||
+#define EM_AVR 83
|
||||
+#endif
|
||||
#define EM_AVR32 0x18ad /* inofficial */
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue