From e100345bb651fa50ae663fdc1514e50053d45dd5 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 28 May 2015 20:54:45 -0400 Subject: gmp-5.1.3: initial patch. --- gmp-5.1.3.midipix.patch | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 gmp-5.1.3.midipix.patch diff --git a/gmp-5.1.3.midipix.patch b/gmp-5.1.3.midipix.patch new file mode 100644 index 0000000..82bd47c --- /dev/null +++ b/gmp-5.1.3.midipix.patch @@ -0,0 +1,50 @@ +diff -ru a/configfsf.sub b/configfsf.sub +--- a/configfsf.sub 2013-09-30 06:18:28.000000000 -0400 ++++ b/configfsf.sub 2015-05-28 00:18:19.772345286 -0400 +@@ -794,6 +794,9 @@ + microblaze*) + basic_machine=microblaze-xilinx + ;; ++ midipix) ++ os=-midipix ++ ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 +@@ -1370,7 +1373,7 @@ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ +- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ ++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ +diff -ru a/configure b/configure +--- a/configure 2013-09-30 06:18:33.000000000 -0400 ++++ b/configure 2015-05-28 00:18:20.160345295 -0400 +@@ -28684,7 +28684,7 @@ + + echo "include_mpn(\`x86_64/darwin.m4')" >> $gmp_tmpconfigm4i + ;; +- *-*-mingw* | *-*-cygwin) ++ *-*-mingw* | *-*-cygwin | *-*-midipix) + + echo "include_mpn(\`x86_64/dos64.m4')" >> $gmp_tmpconfigm4i + ;; +@@ -32457,3 +32457,15 @@ + ;; + esac + fi ++ ++# a transitional workaround... ++case $host_os in ++ midipix*) ++ cp $ac_confdir/libtool.midipix libtool || exit 2 ++ ++ sed -i -e 's/@cbb_host_os@/'$host'/g' \ ++ -e 's/@cbb_build_alias@/'$build_alias'/g' \ ++ -e 's/@cbb_build_os@/'$build_os'/g' \ ++ -e 's/@cbb_build@/'$build'/g' libtool || exit 2 ++ ;; ++esac -- cgit v1.2.3