minix/external/gpl3/binutils/patches/0002-minix-on-minix.patch
Lionel Sambuc b8a678ef1d Cross compile on minix support
* Remade patch so it works with minix patch tool.

 * New MINIX tar support -ox, so revert back to it

   In fetch scripts, tar had been replaced by bsdtar as the prebvious
   tar did not support the -o flag under minix, which is required to
   prevent usage of tar file stored user and group information.

   This introduces portability problems. As our new tar tool now
   support that flag revert back to improve portability.
2012-11-15 16:07:30 +01:00

11 lines
333 B
Diff

diff -rNU3 dist/binutils/dwarf.c dist.new/binutils/dwarf.c
--- dist/binutils/dwarf.c Wed Nov 7 17:24:51 2012
+++ dist.new/binutils/dwarf.c Wed Nov 7 15:50:59 2012
@@ -28,6 +28,7 @@
#include "elf/common.h"
#include "dwarf2.h"
#include "dwarf.h"
+#include "getopt.h"
static const char *regname (unsigned int regno, int row);