Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
diff -ru libressl-2.7.2.orig/configure libressl-2.7.2/configure
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
--- libressl-2.7.2.orig/configure	2018-04-01 04:14:50.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+++ libressl-2.7.2/configure	2018-04-03 18:23:59.137279767 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -722,6 +722,8 @@
Lucio Andrés Illanes Albornoz a7c532
 HOST_LINUX_TRUE
Lucio Andrés Illanes Albornoz a7c532
 HOST_HPUX_FALSE
Lucio Andrés Illanes Albornoz a7c532
 HOST_HPUX_TRUE
Lucio Andrés Illanes Albornoz a7c532
+HOST_MIDIPIX_FALSE
Lucio Andrés Illanes Albornoz a7c532
+HOST_MIDIPIX_TRUE
Lucio Andrés Illanes Albornoz a7c532
 HOST_FREEBSD_FALSE
Lucio Andrés Illanes Albornoz a7c532
 HOST_FREEBSD_TRUE
Lucio Andrés Illanes Albornoz a7c532
 HOST_DARWIN_FALSE
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -11043,7 +11045,7 @@
Lucio Andrés Illanes Albornoz a7c532
   ;;
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
 # This must be glibc/ELF.
Lucio Andrés Illanes Albornoz a7c532
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
Lucio Andrés Illanes Albornoz a7c532
+linux* | k*bsd*-gnu | kopensolaris*-gnu | midipix*)
Lucio Andrés Illanes Albornoz a7c532
   version_type=linux # correct to gnu/linux during the next big refactor
Lucio Andrés Illanes Albornoz a7c532
   need_lib_prefix=no
Lucio Andrés Illanes Albornoz a7c532
   need_version=no
Lucio Andrés Illanes Albornoz a7c532
@@ -12190,6 +12192,11 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 		PLATFORM_LDADD='-lpthread'
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 
Lucio Andrés Illanes Albornoz a7c532
 		;;
Lucio Andrés Illanes Albornoz a7c532
+	*midipix*)
Lucio Andrés Illanes Albornoz a7c532
+		HOST_OS=midipix
Lucio Andrés Illanes Albornoz a7c532
+		HOST_ABI=pe
Lucio Andrés Illanes Albornoz a7c532
+		CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
Lucio Andrés Illanes Albornoz a7c532
+		;;
Lucio Andrés Illanes Albornoz a7c532
 	*netbsd*)
Lucio Andrés Illanes Albornoz a7c532
 		HOST_OS=netbsd
Lucio Andrés Illanes Albornoz a7c532
 		HOST_ABI=elf
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -12315,6 +12322,14 @@
Lucio Andrés Illanes Albornoz a7c532
   HOST_LINUX_FALSE=
Lucio Andrés Illanes Albornoz a7c532
 fi
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
+ if test x$HOST_OS = xmidipix; then
Lucio Andrés Illanes Albornoz a7c532
+  HOST_MIDIPIX_TRUE=
Lucio Andrés Illanes Albornoz a7c532
+  HOST_MIDIPIX_FALSE='#'
Lucio Andrés Illanes Albornoz a7c532
+else
Lucio Andrés Illanes Albornoz a7c532
+  HOST_MIDIPIX_TRUE='#'
Lucio Andrés Illanes Albornoz a7c532
+  HOST_MIDIPIX_FALSE=
Lucio Andrés Illanes Albornoz a7c532
+fi
Lucio Andrés Illanes Albornoz a7c532
+
Lucio Andrés Illanes Albornoz a7c532
  if test x$HOST_OS = xnetbsd; then
Lucio Andrés Illanes Albornoz a7c532
   HOST_NETBSD_TRUE=
Lucio Andrés Illanes Albornoz a7c532
   HOST_NETBSD_FALSE='#'
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -14260,6 +14275,10 @@
Lucio Andrés Illanes Albornoz a7c532
   as_fn_error $? "conditional \"HOST_LINUX\" was never defined.
Lucio Andrés Illanes Albornoz a7c532
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
Lucio Andrés Illanes Albornoz a7c532
 fi
Lucio Andrés Illanes Albornoz a7c532
+if test -z "${HOST_MIDIPIX_TRUE}" && test -z "${HOST_MIDIPIX_FALSE}"; then
Lucio Andrés Illanes Albornoz a7c532
+  as_fn_error $? "conditional \"HOST_MIDIPIX\" was never defined.
Lucio Andrés Illanes Albornoz a7c532
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
Lucio Andrés Illanes Albornoz a7c532
+fi
Lucio Andrés Illanes Albornoz a7c532
 if test -z "${HOST_NETBSD_TRUE}" && test -z "${HOST_NETBSD_FALSE}"; then
Lucio Andrés Illanes Albornoz a7c532
   as_fn_error $? "conditional \"HOST_NETBSD\" was never defined.
Lucio Andrés Illanes Albornoz a7c532
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
diff -ru libressl-2.7.2.orig/crypto/compat/arc4random.h libressl-2.7.2/crypto/compat/arc4random.h
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
--- libressl-2.7.2.orig/crypto/compat/arc4random.h	2017-11-04 21:04:56.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+++ libressl-2.7.2/crypto/compat/arc4random.h	2018-04-03 18:24:22.725182637 +0200
Lucio Andrés Illanes Albornoz a7c532
@@ -12,7 +12,7 @@
Lucio Andrés Illanes Albornoz a7c532
 #elif defined(__hpux)
Lucio Andrés Illanes Albornoz a7c532
 #include "arc4random_hpux.h"
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
-#elif defined(__linux__)
Lucio Andrés Illanes Albornoz a7c532
+#elif defined(__linux__) || defined(__midipix__)
Lucio Andrés Illanes Albornoz a7c532
 #include "arc4random_linux.h"
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
 #elif defined(__NetBSD__)
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
diff -ru libressl-2.7.2.orig/crypto/compat/getentropy_linux.c libressl-2.7.2/crypto/compat/getentropy_linux.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
--- libressl-2.7.2.orig/crypto/compat/getentropy_linux.c	2018-04-01 04:14:32.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+++ libressl-2.7.2/crypto/compat/getentropy_linux.c	2018-04-03 19:14:31.336262932 +0200
Lucio Andrés Illanes Albornoz a7c532
@@ -27,7 +27,7 @@
Lucio Andrés Illanes Albornoz a7c532
 #include <sys/ioctl.h>
Lucio Andrés Illanes Albornoz a7c532
 #include <sys/resource.h>
Lucio Andrés Illanes Albornoz a7c532
 #include <sys/syscall.h>
Lucio Andrés Illanes Albornoz a7c532
-#ifdef SYS__sysctl
Lucio Andrés Illanes Albornoz a7c532
+#if defined(SYS__sysctl) && !defined(__midipix__)
Lucio Andrés Illanes Albornoz a7c532
 #include <linux/sysctl.h>
Lucio Andrés Illanes Albornoz a7c532
 #endif
Lucio Andrés Illanes Albornoz a7c532
 #include <sys/statvfs.h>
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -49,8 +49,11 @@
Lucio Andrés Illanes Albornoz a7c532
 #include <time.h>
Lucio Andrés Illanes Albornoz a7c532
 #include <openssl/sha.h>
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
+#ifndef __midipix__
Lucio Andrés Illanes Albornoz a7c532
 #include <linux/types.h>
Lucio Andrés Illanes Albornoz a7c532
 #include <linux/random.h>
Lucio Andrés Illanes Albornoz a7c532
+#endif
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+
Lucio Andrés Illanes Albornoz a7c532
 #ifdef HAVE_GETAUXVAL
Lucio Andrés Illanes Albornoz a7c532
 #include <sys/auxv.h>
Lucio Andrés Illanes Albornoz a7c532
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -78,7 +81,7 @@
Lucio Andrés Illanes Albornoz a7c532
 static int getentropy_getrandom(void *buf, size_t len);
Lucio Andrés Illanes Albornoz a7c532
 #endif
Lucio Andrés Illanes Albornoz a7c532
 static int getentropy_urandom(void *buf, size_t len);
Lucio Andrés Illanes Albornoz a7c532
-#ifdef SYS__sysctl
Lucio Andrés Illanes Albornoz a7c532
+#if defined(SYS__sysctl) && !defined(__midipix__)
Lucio Andrés Illanes Albornoz a7c532
 static int getentropy_sysctl(void *buf, size_t len);
Lucio Andrés Illanes Albornoz a7c532
 #endif
Lucio Andrés Illanes Albornoz a7c532
 static int getentropy_fallback(void *buf, size_t len);
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -118,7 +121,7 @@
Lucio Andrés Illanes Albornoz a7c532
 	if (ret != -1)
Lucio Andrés Illanes Albornoz a7c532
 		return (ret);
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
-#ifdef SYS__sysctl
Lucio Andrés Illanes Albornoz a7c532
+#if defined(SYS__sysctl) && !defined(__midipix__)
Lucio Andrés Illanes Albornoz a7c532
 	/*
Lucio Andrés Illanes Albornoz a7c532
 	 * Try to use sysctl CTL_KERN, KERN_RANDOM, RANDOM_UUID.
Lucio Andrés Illanes Albornoz a7c532
 	 * sysctl is a failsafe API, so it guarantees a result.  This
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -244,10 +247,12 @@
Lucio Andrés Illanes Albornoz a7c532
 		close(fd);
Lucio Andrés Illanes Albornoz a7c532
 		goto nodevrandom;
Lucio Andrés Illanes Albornoz a7c532
 	}
Lucio Andrés Illanes Albornoz a7c532
+#ifndef __midipix__
Lucio Andrés Illanes Albornoz a7c532
 	if (ioctl(fd, RNDGETENTCNT, &cnt) == -1) {
Lucio Andrés Illanes Albornoz a7c532
 		close(fd);
Lucio Andrés Illanes Albornoz a7c532
 		goto nodevrandom;
Lucio Andrés Illanes Albornoz a7c532
 	}
Lucio Andrés Illanes Albornoz a7c532
+#endif
Lucio Andrés Illanes Albornoz a7c532
 	for (i = 0; i < len; ) {
Lucio Andrés Illanes Albornoz a7c532
 		size_t wanted = len - i;
Lucio Andrés Illanes Albornoz a7c532
 		ssize_t ret = read(fd, (char *)buf + i, wanted);
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -270,7 +275,7 @@
Lucio Andrés Illanes Albornoz a7c532
 	return (-1);
Lucio Andrés Illanes Albornoz a7c532
 }
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
-#ifdef SYS__sysctl
Lucio Andrés Illanes Albornoz a7c532
+#if defined(SYS__sysctl) && !defined(__midipix__)
Lucio Andrés Illanes Albornoz a7c532
 static int
Lucio Andrés Illanes Albornoz a7c532
 getentropy_sysctl(void *buf, size_t len)
Lucio Andrés Illanes Albornoz a7c532
 {
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
diff -ru libressl-2.7.2.orig/crypto/Makefile.in libressl-2.7.2/crypto/Makefile.in
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
--- libressl-2.7.2.orig/crypto/Makefile.in	2018-04-01 04:14:53.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+++ libressl-2.7.2/crypto/Makefile.in	2018-04-03 18:51:02.314411849 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -120,10 +120,11 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_FREEBSD_TRUE@am__append_25 = compat/getentropy_freebsd.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_HPUX_TRUE@am__append_26 = compat/getentropy_hpux.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_LINUX_TRUE@am__append_27 = compat/getentropy_linux.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__append_28 = compat/getentropy_netbsd.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__append_29 = compat/getentropy_osx.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__append_30 = compat/getentropy_solaris.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__append_31 = compat/getentropy_win.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_MIDIPIX_TRUE@am__append_28 = compat/getentropy_linux.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__append_29 = compat/getentropy_netbsd.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__append_30 = compat/getentropy_osx.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__append_31 = compat/getentropy_solaris.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__append_32 = compat/getentropy_win.c
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 @HOST_ASM_ELF_X86_64_TRUE@am__append_32 = -DAES_ASM -DBSAES_ASM \
Lucio Andrés Illanes Albornoz a7c532
 @HOST_ASM_ELF_X86_64_TRUE@	-DVPAES_ASM -DOPENSSL_IA32_SSE2 \
Lucio Andrés Illanes Albornoz a7c532
 @HOST_ASM_ELF_X86_64_TRUE@	-DOPENSSL_BN_ASM_MONT \
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -237,10 +238,11 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_FREEBSD_TRUE@am__objects_17 = compat/getentropy_freebsd.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_HPUX_TRUE@am__objects_18 = compat/getentropy_hpux.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 @HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_LINUX_TRUE@am__objects_19 = compat/getentropy_linux.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__objects_20 = compat/getentropy_netbsd.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__objects_21 = compat/getentropy_osx.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__objects_22 = compat/getentropy_solaris.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__objects_23 = compat/getentropy_win.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_MIDIPIX_TRUE@am__objects_20 = compat/getentropy_linux.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_NETBSD_TRUE@am__objects_21 = compat/getentropy_netbsd.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_DARWIN_TRUE@am__objects_22 = compat/getentropy_osx.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_SOLARIS_TRUE@am__objects_23 = compat/getentropy_solaris.lo
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+@HAVE_ARC4RANDOM_BUF_FALSE@@HAVE_GETENTROPY_FALSE@@HOST_WIN_TRUE@am__objects_24 = compat/getentropy_win.lo
Lucio Andrés Illanes Albornoz a7c532
 am_libcompat_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
Lucio Andrés Illanes Albornoz a7c532
 	$(am__objects_3) $(am__objects_4) $(am__objects_5) \
Lucio Andrés Illanes Albornoz a7c532
 	$(am__objects_6) $(am__objects_7) $(am__objects_8) \
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -248,7 +250,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 	$(am__objects_12) $(am__objects_13) $(am__objects_14) \
Lucio Andrés Illanes Albornoz a7c532
 	$(am__objects_15) $(am__objects_16) $(am__objects_17) \
Lucio Andrés Illanes Albornoz a7c532
 	$(am__objects_18) $(am__objects_19) $(am__objects_20) \
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-	$(am__objects_21) $(am__objects_22) $(am__objects_23)
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+	$(am__objects_21) $(am__objects_22) $(am__objects_23) $(am__objects_24)
Lucio Andrés Illanes Albornoz a7c532
 libcompat_la_OBJECTS = $(am_libcompat_la_OBJECTS)
Lucio Andrés Illanes Albornoz a7c532
 AM_V_lt = $(am__v_lt_@AM_V@)
Lucio Andrés Illanes Albornoz a7c532
 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -1019,7 +1021,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
 	$(am__append_20) $(am__append_21) $(am__append_22) \
Lucio Andrés Illanes Albornoz a7c532
 	$(am__append_23) $(am__append_24) $(am__append_25) \
Lucio Andrés Illanes Albornoz a7c532
 	$(am__append_26) $(am__append_27) $(am__append_28) \
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
-	$(am__append_29) $(am__append_30) $(am__append_31)
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+	$(am__append_29) $(am__append_30) $(am__append_31) $(am__append_32)
Lucio Andrés Illanes Albornoz a7c532
 libcompat_la_LIBADD = $(PLATFORM_LDADD)
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
 # rc4
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
diff -ru libressl-2.7.2.orig/include/compat/machine/endian.h libressl-2.7.2/include/compat/machine/endian.h
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
--- libressl-2.7.2.orig/include/compat/machine/endian.h	2017-11-04 21:04:56.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+++ libressl-2.7.2/include/compat/machine/endian.h	2018-04-03 18:31:43.855341237 +0200
Lucio Andrés Illanes Albornoz a7c532
@@ -21,7 +21,7 @@
Lucio Andrés Illanes Albornoz a7c532
 #define BYTE_ORDER BIG_ENDIAN
Lucio Andrés Illanes Albornoz a7c532
 #endif
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
-#elif defined(__linux__)
Lucio Andrés Illanes Albornoz a7c532
+#elif defined(__linux__) || defined(__midipix__)
Lucio Andrés Illanes Albornoz a7c532
 #include <endian.h>
Lucio Andrés Illanes Albornoz a7c532
 
Lucio Andrés Illanes Albornoz a7c532
 #elif defined(__sun) || defined(_AIX) || defined(__hpux)
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
diff -ru libressl-2.7.2.orig/man/Makefile.am libressl-2.7.2/man/Makefile.am
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
--- libressl-2.7.2.orig/man/Makefile.am	2018-04-01 04:14:42.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+++ libressl-2.7.2/man/Makefile.am	2018-04-03 19:20:55.198107774 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -2668,14 +2668,6 @@
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/LHASH_DOALL_ARG_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/LHASH_DOALL_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/LHASH_HASH_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_delete.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_doall.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_doall_arg.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_error.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_free.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_insert.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_new.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_retrieve.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_delete.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_doall.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_doall_arg.3"
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -5008,14 +5000,6 @@
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/LHASH_DOALL_ARG_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/LHASH_DOALL_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/LHASH_HASH_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_delete.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_doall.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_doall_arg.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_error.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_free.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_insert.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_new.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_retrieve.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/lh_delete.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/lh_doall.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/lh_doall_arg.3"
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
diff -ru libressl-2.7.2.orig/man/Makefile.in libressl-2.7.2/man/Makefile.in
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
--- libressl-2.7.2.orig/man/Makefile.in	2018-04-01 04:14:53.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
+++ libressl-2.7.2/man/Makefile.in	2018-04-03 19:21:17.461794872 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -2960,14 +2960,6 @@
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/LHASH_DOALL_ARG_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/LHASH_DOALL_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/LHASH_HASH_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_delete.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_doall.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_doall_arg.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_error.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_free.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_insert.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_new.3"
Lucio Andrés Illanes Albornoz d67761
-	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_<type>_retrieve.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_delete.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_doall.3"
Lucio Andrés Illanes Albornoz d67761
 	ln -sf "lh_new.3" "$(DESTDIR)$(mandir)/man3/lh_doall_arg.3"
Lucio Andrés Illanes Albornoz (arab, vxp) 860ca8
@@ -5300,14 +5292,6 @@
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/LHASH_DOALL_ARG_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/LHASH_DOALL_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/LHASH_HASH_FN_TYPE.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_delete.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_doall.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_doall_arg.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_error.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_free.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_insert.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_new.3"
Lucio Andrés Illanes Albornoz d67761
-	-rm -f "$(DESTDIR)$(mandir)/man3/lh_<type>_retrieve.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/lh_delete.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/lh_doall.3"
Lucio Andrés Illanes Albornoz d67761
 	-rm -f "$(DESTDIR)$(mandir)/man3/lh_doall_arg.3"