Blame curl-7.47.1.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
--- curl-7.47.1/config.sub.orig	2016-01-27 07:41:40.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
+++ curl-7.47.1/config.sub	2016-03-07 16:32:19.704765691 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
@@ -810,6 +810,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 	microblaze*)
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 		basic_machine=microblaze-xilinx
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 		;;
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
+	midipix)
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
+		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
+		os=-midipix
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
+		;;
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 	mingw64)
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 		os=-mingw64
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
@@ -1390,7 +1394,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 	      | -chorusos* | -chorusrdb* | -cegcc* \
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
-	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
+	      | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 	      | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
Lucio Andrés Illanes Albornoz (arab, vxp) ad3895
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
--- curl-7.47.1/configure.orig	2016-02-07 15:43:48.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+++ curl-7.47.1/configure	2016-03-08 11:33:24.125711200 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
@@ -14297,6 +14297,18 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
   dynamic_linker='GNU/Linux ld.so'
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
   ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
 
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  version_type=linux
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  need_lib_prefix=no
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  need_version=no
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}"
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  soname_spec="\${libname}\${release}\${shared_ext}\$major"
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  shlibpath_var=LD_LIBRARY_PATH
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  shlibpath_overrides_runpath=no
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  hardcode_into_libs=no
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  dynamic_linker='GNU/Linux ld.so'
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+  ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
 netbsdelf*-gnu)
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
   version_type=linux
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
   need_lib_prefix=no
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
@@ -42993,3 +43005,15 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
 
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
 
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+# a transitional workaround...
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+case $host_os in
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+		midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+			cp $ac_confdir/libtool.midipix libtool || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+			sed -i	-e 's/@cbb_host_os@/'$host'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+				-e 's/@cbb_build_alias@/'$build_alias'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+				-e 's/@cbb_build_os@/'$build_os'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+				-e 's/@cbb_build@/'$build'/g' libtool || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+esac
Lucio Andrés Illanes Albornoz (arab, vxp) 34ddfb
+