tools: Fix compilation on x32 host
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 25 Oct 2014 16:57:16 +0000 (16:57 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 25 Oct 2014 16:57:16 +0000 (16:57 +0000)
commitcf530608eec60455b007752ca37fb8656542a797
tree9024c9345202f344a1c9186676d8c5e6226a8fec
parent482c32b0b86768897597a2af59c0043f213cebd2
tools: Fix compilation on x32 host

Compiling the host tools on the new x32 architecture (which is
an ILP32 ELF32 system on an amd64 CPU) fails for various reasons.

 gmp: pull same fix I applied to OpenADK, which was inspired
  by the fix in the Debian source package

 mtd-utils: write a workaround myself; only affects x32, but
  the use of llseek is dangerous according to the manpage, so
  the guard ifdef should probably go away

 findutils: pull fix straight from the Debian source packae

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43060 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/findutils/patches/21-Fix-time_t-vs-long-int-mismatches.patch [new file with mode: 0644]
tools/gmp/Makefile
tools/mtd-utils/patches/110-portability.patch