Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame libressl-2.2.6.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
--- libressl-2.2.6/crypto/compat/arc4random.h.orig	2015-10-15 23:18:44.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+++ libressl-2.2.6/crypto/compat/arc4random.h	2016-02-12 17:19:40.815245600 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -12,7 +12,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #elif defined(__hpux)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include "arc4random_hpux.h"
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-#elif defined(__linux__)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#elif defined(__linux__) || defined(__MIDIPIX)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include "arc4random_linux.h"
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #elif defined(__NetBSD__)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
--- libressl-2.2.6/crypto/compat/getentropy_linux.c.orig	2015-10-16 00:04:58.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+++ libressl-2.2.6/crypto/compat/getentropy_linux.c	2016-02-12 17:48:47.474391200 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -27,7 +27,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <sys/ioctl.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <sys/resource.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <sys/syscall.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-#ifdef SYS__sysctl
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#if defined(SYS__sysctl) && !defined(__MIDIPIX)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <linux/sysctl.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <sys/statvfs.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -49,8 +49,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <time.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <openssl/sha.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#ifndef __MIDIPIX
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <linux/types.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <linux/random.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#endif
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #ifdef HAVE_GETAUXVAL
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <sys/auxv.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -78,7 +80,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 static int getentropy_getrandom(void *buf, size_t len);
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 static int getentropy_urandom(void *buf, size_t len);
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-#ifdef SYS__sysctl
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#if defined(SYS__sysctl) && !defined(__MIDIPIX)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 static int getentropy_sysctl(void *buf, size_t len);
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 static int getentropy_fallback(void *buf, size_t len);
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -115,7 +117,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	if (ret != -1)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 		return (ret);
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-#ifdef SYS__sysctl
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#if defined(SYS__sysctl) && !defined(__MIDIPIX)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	/*
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	 * Try to use sysctl CTL_KERN, KERN_RANDOM, RANDOM_UUID.
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	 * sysctl is a failsafe API, so it guarantees a result.  This
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -241,10 +243,12 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 		close(fd);
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 		goto nodevrandom;
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	}
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#ifndef __MIDIPIX
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) {
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 		close(fd);
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 		goto nodevrandom;
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	}
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#endif
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	for (i = 0; i < len; ) {
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 		size_t wanted = len - i;
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 		ssize_t ret = read(fd, (char *)buf + i, wanted);
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -267,7 +271,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	return -1;
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 }
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-#ifdef SYS__sysctl
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#if defined(SYS__sysctl) && !defined(__MIDIPIX)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 static int
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 getentropy_sysctl(void *buf, size_t len)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 {
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
--- libressl-2.2.6/crypto/Makefile.in.orig	2016-01-28 19:18:08.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+++ libressl-2.2.6/crypto/Makefile.in	2016-02-12 17:19:40.823245600 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -111,10 +111,11 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_FREEBSD_TRUE@am__append_19 = compat/getentropy_freebsd.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_HPUX_TRUE@am__append_20 = compat/getentropy_hpux.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_LINUX_TRUE@am__append_21 = compat/getentropy_linux.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__append_22 = compat/getentropy_netbsd.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__append_23 = compat/getentropy_osx.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__append_24 = compat/getentropy_solaris.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__append_25 = compat/getentropy_win.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_MIDIPIX_TRUE@am__append_22 = compat/getentropy_linux.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__append_23 = compat/getentropy_netbsd.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__append_24 = compat/getentropy_osx.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__append_25 = compat/getentropy_solaris.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__append_26 = compat/getentropy_win.c
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HOST_ASM_ELF_X86_64_TRUE@am__append_26 = -DAES_ASM -DBSAES_ASM \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HOST_ASM_ELF_X86_64_TRUE@	-DVPAES_ASM -DOPENSSL_IA32_SSE2 \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HOST_ASM_ELF_X86_64_TRUE@	-DOPENSSL_BN_ASM_MONT \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -220,17 +221,18 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_FREEBSD_TRUE@am__objects_13 = compat/getentropy_freebsd.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_HPUX_TRUE@am__objects_14 = compat/getentropy_hpux.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_LINUX_TRUE@am__objects_15 = compat/getentropy_linux.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__objects_16 = compat/getentropy_netbsd.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__objects_17 = compat/getentropy_osx.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__objects_18 = compat/getentropy_solaris.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__objects_19 = compat/getentropy_win.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_MIDIPIX_TRUE@am__objects_16 = compat/getentropy_linux.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__objects_17 = compat/getentropy_netbsd.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__objects_18 = compat/getentropy_osx.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__objects_19 = compat/getentropy_solaris.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__objects_20 = compat/getentropy_win.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 am_libcompat_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	$(am__objects_3) $(am__objects_4) $(am__objects_5) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	$(am__objects_6) $(am__objects_7) $(am__objects_8) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	$(am__objects_9) $(am__objects_10) $(am__objects_11) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	$(am__objects_12) $(am__objects_13) $(am__objects_14) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	$(am__objects_15) $(am__objects_16) $(am__objects_17) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-	$(am__objects_18) $(am__objects_19)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+	$(am__objects_18) $(am__objects_19) $(am__objects_20)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 libcompat_la_OBJECTS = $(am_libcompat_la_OBJECTS)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 AM_V_lt = $(am__v_lt_@AM_V@)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -985,7 +987,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	$(am__append_16) $(am__append_17) $(am__append_18) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	$(am__append_19) $(am__append_20) $(am__append_21) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 	$(am__append_22) $(am__append_23) $(am__append_24) \
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-	$(am__append_25)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+	$(am__append_25) $(am__append_26)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 libcompat_la_LIBADD = $(PLATFORM_LDADD)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 # rc4
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
--- libressl-2.2.6/include/compat/machine/endian.h.orig	2015-10-15 23:18:44.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+++ libressl-2.2.6/include/compat/machine/endian.h	2016-02-12 17:19:40.827245600 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
@@ -21,7 +21,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #define BYTE_ORDER BIG_ENDIAN
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
-#elif defined(__linux__)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
+#elif defined(__linux__) || defined(__MIDIPIX)
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #include <endian.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 
Lucio Andrés Illanes Albornoz (arab, vxp) 06ec5b
 #elif defined(__sun) || defined(_AIX) || defined(__hpux)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
--- libressl-2.2.6/configure.orig	2016-01-28 18:18:06.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+++ libressl-2.2.6/configure	2016-02-23 13:25:30.689963257 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
@@ -690,6 +690,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 HOST_NETBSD_TRUE
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 HOST_LINUX_FALSE
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 HOST_LINUX_TRUE
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+HOST_MIDIPIX_FALSE
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+HOST_MIDIPIX_TRUE
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 HOST_HPUX_FALSE
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 HOST_HPUX_TRUE
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 HOST_FREEBSD_FALSE
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
@@ -10824,7 +10826,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 # This must be glibc/ELF.
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+linux* | k*bsd*-gnu | kopensolaris*-gnu | midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   version_type=linux # correct to gnu/linux during the next big refactor
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   need_lib_prefix=no
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   need_version=no
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
@@ -11902,6 +11904,11 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		HOST_ABI=elf
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+	*midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+		HOST_OS=midipix
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+		HOST_ABI=pe
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+		CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+		;;
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 	*netbsd*)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		HOST_OS=netbsd
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 		CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE"
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
@@ -11981,6 +11988,14 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   HOST_LINUX_FALSE=
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
+ if test x$HOST_OS = xmidipix; then
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+  HOST_MIDIPIX_TRUE=
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+  HOST_MIDIPIX_FALSE='#'
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+else
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+  HOST_MIDIPIX_TRUE='#'
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+  HOST_MIDIPIX_FALSE=
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
  if test x$HOST_OS = xnetbsd; then
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   HOST_NETBSD_TRUE=
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   HOST_NETBSD_FALSE='#'
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
@@ -13422,6 +13437,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   as_fn_error $? "conditional \"HOST_LINUX\" was never defined.
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+if test -z "${HOST_MIDIPIX_TRUE}" && test -z "${HOST_MIDIPIX_FALSE}"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+  as_fn_error $? "conditional \"HOST_MIDIPIX\" was never defined.
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+fi
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 if test -z "${HOST_NETBSD_TRUE}" && test -z "${HOST_NETBSD_FALSE}"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
   as_fn_error $? "conditional \"HOST_NETBSD\" was never defined.
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
@@ -15584,3 +15603,15 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
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
+# a transitional workaround...
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+case $host_os in
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+		midipix*)
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+			cp $ac_confdir/libtool.midipix libtool || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+			sed -i	-e 's/@cbb_host_os@/'$host'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+				-e 's/@cbb_build_alias@/'$build_alias'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+				-e 's/@cbb_build_os@/'$build_os'/g' \
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+				-e 's/@cbb_build@/'$build'/g' libtool || exit 2
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+			;;
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+esac
Lucio Andrés Illanes Albornoz (arab, vxp) 7d4788
+