Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
--- ncurses-6.0/config.sub.orig	2015-05-02 13:52:04.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
+++ ncurses-6.0/config.sub	2016-02-12 13:01:38.765370000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
@@ -807,6 +807,9 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 	microblaze*)
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 		basic_machine=microblaze-xilinx
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
+	midipix)
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
+		os=-midipix
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
+		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 	mingw64)
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 		basic_machine=x86_64-pc
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 		os=-mingw64
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
@@ -1387,7 +1390,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 	      | -chorusos* | -chorusrdb* | -cegcc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
-	      | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
+	      | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 	      | -linux-newlib* | -linux-musl* | -linux-uclibc* \
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 	      | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
--- ncurses-6.0/configure.orig	2015-08-05 09:20:32.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+++ ncurses-6.0/configure	2016-02-23 11:33:12.718112802 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
@@ -5856,7 +5856,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		LD_RPATH_OPT="-rpath "
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 	fi
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 	;;
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
-(linux*|gnu*|k*bsd*-gnu)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+(linux*|gnu*|k*bsd*-gnu|midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 	LD_RPATH_OPT="-Wl,-rpath,"
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 	;;
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 (openbsd[2-9].*|mirbsd*)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
@@ -6188,7 +6188,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		fi
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		cf_cv_rm_so_locs=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
-	(linux*|gnu*|k*bsd*-gnu)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+	(linux*|gnu*|k*bsd*-gnu|midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		if test "$DFT_LWR_MODEL" = "shared" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 			LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 			LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
--- ncurses-6.0/misc/Makefile.in.orig	2015-08-05 23:15:41.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
+++ ncurses-6.0/misc/Makefile.in	2016-06-23 08:40:43.767712775 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
@@ -110,8 +110,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
 install.libs :: $(DESTDIR)$(bindir) ncurses-config
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
 	$(INSTALL_SCRIPT) ncurses-config $(DESTDIR)$(bindir)/$(NCURSES_CONFIG)
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
 
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
-@MAKE_PC_FILES@install.libs :: pc-files $(DESTDIR)$(PKG_CONFIG_LIBDIR)
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
-@MAKE_PC_FILES@	$(SHELL) -c 'for name in *.pc; do $(INSTALL_DATA) $$name $(DESTDIR)$(PKG_CONFIG_LIBDIR)/$$name; done'
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
+@MAKE_PC_FILES@install.libs :: pc-files $(PKG_CONFIG_LIBDIR)
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
+@MAKE_PC_FILES@	$(SHELL) -c 'for name in *.pc; do $(INSTALL_DATA) $$name $(PKG_CONFIG_LIBDIR)/$$name; done'
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
 
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
 @MAKE_PC_FILES@sources :: pc-files
Lucio Andrés Illanes Albornoz (arab, vxp) 3243be
 @MAKE_PC_FILES@pc-files :