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.
This commit is contained in:
2
external/gpl3/binutils/fetch.sh
vendored
2
external/gpl3/binutils/fetch.sh
vendored
@@ -23,7 +23,7 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
bsdtar -oxjf binutils-2.21.1.tar.bz2 && \
|
||||
tar -oxjf binutils-2.21.1.tar.bz2 && \
|
||||
mv binutils-2.21.1 dist && \
|
||||
cd dist && \
|
||||
cat ../patches/* | patch -p1
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
11
external/gpl3/binutils/patches/0002-minix-on-minix.patch
vendored
Normal file
11
external/gpl3/binutils/patches/0002-minix-on-minix.patch
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
|
||||
2
external/gpl3/gcc/fetch.sh
vendored
2
external/gpl3/gcc/fetch.sh
vendored
@@ -32,7 +32,7 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
bsdtar -oxjf gcc-4.5.3.tar.bz2 && \
|
||||
tar -oxjf gcc-4.5.3.tar.bz2 && \
|
||||
mv gcc-4.5.3 dist && \
|
||||
cd dist && \
|
||||
rm -rf $DELETEDIRS && \
|
||||
|
||||
49177
external/gpl3/gcc/patches/0000-gcc_nbsd.patch
vendored
49177
external/gpl3/gcc/patches/0000-gcc_nbsd.patch
vendored
File diff suppressed because it is too large
Load Diff
12
external/gpl3/gcc/patches/0002-minix-on-minix.patch
vendored
Normal file
12
external/gpl3/gcc/patches/0002-minix-on-minix.patch
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -rNU3 gcc-4.5.3/configure dist/configure
|
||||
--- gcc-4.5.3/configure Wed Nov 7 20:12:53 2012
|
||||
+++ dist/configure Wed Nov 7 19:25:20 2012
|
||||
@@ -5321,7 +5321,7 @@
|
||||
|
||||
|
||||
# Check for GMP, MPFR and MPC
|
||||
-gmplibs="-lmpc -lmpfr -lgmp"
|
||||
+gmplibs="-lmpc -lmpfr -lgmp -lm"
|
||||
gmpinc=
|
||||
have_gmp=no
|
||||
|
||||
2
external/lgpl2/mpc/fetch.sh
vendored
2
external/lgpl2/mpc/fetch.sh
vendored
@@ -23,7 +23,7 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
bsdtar -oxzf mpc-0.9.tar.gz
|
||||
tar -oxzf mpc-0.9.tar.gz
|
||||
mv mpc-0.9 dist
|
||||
fi
|
||||
|
||||
|
||||
2
external/lgpl3/gmp/fetch.sh
vendored
2
external/lgpl3/gmp/fetch.sh
vendored
@@ -23,7 +23,7 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
bsdtar -oxjf gmp-5.0.2.tar.bz2
|
||||
tar -oxjf gmp-5.0.2.tar.bz2
|
||||
mv gmp-5.0.2 dist && \
|
||||
cd dist && \
|
||||
cat ../patches/* |patch -p1
|
||||
|
||||
2
external/lgpl3/mpfr/fetch.sh
vendored
2
external/lgpl3/mpfr/fetch.sh
vendored
@@ -23,7 +23,7 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
bsdtar -oxjf mpfr-3.0.1.tar.bz2
|
||||
tar -oxjf mpfr-3.0.1.tar.bz2
|
||||
mv mpfr-3.0.1 dist && \
|
||||
cd dist && \
|
||||
cat ../patches/* |patch -p1
|
||||
|
||||
Reference in New Issue
Block a user