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
+
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
--- curl-7.47.1/lib/Makefile.in.orig	2016-02-07 14:43:49.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
+++ curl-7.47.1/lib/Makefile.in	2016-06-10 00:07:28.334457112 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
@@ -243,7 +243,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 am__v_lt_1 = 
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 libcurl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(libcurl_la_CFLAGS) \
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
-	$(CFLAGS) $(libcurl_la_LDFLAGS) $(LDFLAGS) -o $@
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
+	$(CFLAGS) $(LDFLAGS) -o $@
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 libcurlu_la_LIBADD =
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 am__objects_6 = libcurlu_la-file.lo libcurlu_la-timeval.lo \
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 	libcurlu_la-base64.lo libcurlu_la-hostip.lo \
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
@@ -842,7 +842,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 	vtls/$(DEPDIR)/$(am__dirstamp)
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 libcurl.la: $(libcurl_la_OBJECTS) $(libcurl_la_DEPENDENCIES) $(EXTRA_libcurl_la_DEPENDENCIES) 
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
-	$(AM_V_CCLD)$(libcurl_la_LINK) -rpath $(libdir) $(libcurl_la_OBJECTS) $(libcurl_la_LIBADD) $(LIBS)
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
+	$(AM_V_CCLD)$(libcurl_la_LINK) -rpath $(libdir) $(libcurl_la_OBJECTS) $(libcurl_la_LIBADD) $(LIBS) $(libcurl_la_LDFLAGS)
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 vtls/libcurlu_la-openssl.lo: vtls/$(am__dirstamp) \
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 	vtls/$(DEPDIR)/$(am__dirstamp)
Lucio Andrés Illanes Albornoz (arab, vxp) d01de9
 vtls/libcurlu_la-gtls.lo: vtls/$(am__dirstamp) \