Blame patches/libuv-1.19.2.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
diff -ru libuv-v1.19.2.orig/configure.ac libuv-v1.19.2/configure.ac
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
--- libuv-v1.19.2.orig/configure.ac	2018-02-21 21:25:38.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+++ libuv-v1.19.2/configure.ac	2018-05-04 20:35:43.157687243 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
@@ -57,6 +57,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 AM_CONDITIONAL([DRAGONFLY],[AS_CASE([$host_os],[dragonfly*],    [true], [false])])
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 AM_CONDITIONAL([FREEBSD],  [AS_CASE([$host_os],[*freebsd*],     [true], [false])])
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 AM_CONDITIONAL([LINUX],    [AS_CASE([$host_os],[linux*],        [true], [false])])
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+AM_CONDITIONAL([MIDIPIX],  [AS_CASE([$host_os],[midipix*],      [true], [false])])
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 AM_CONDITIONAL([MSYS],     [AS_CASE([$host_os],[msys*],         [true], [false])])
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 AM_CONDITIONAL([NETBSD],   [AS_CASE([$host_os],[netbsd*],       [true], [false])])
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 AM_CONDITIONAL([OPENBSD],  [AS_CASE([$host_os],[openbsd*],      [true], [false])])
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
Only in libuv-v1.19.2: depcomp
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
diff -ru libuv-v1.19.2.orig/include/uv-unix.h libuv-v1.19.2/include/uv-unix.h
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
--- libuv-v1.19.2.orig/include/uv-unix.h	2018-02-21 21:25:38.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+++ libuv-v1.19.2/include/uv-unix.h	2018-05-04 18:53:02.286365282 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
@@ -62,7 +62,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
       defined(__OpenBSD__)         || \
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
       defined(__NetBSD__)
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 # include "uv-bsd.h"
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
-#elif defined(__CYGWIN__) || defined(__MSYS__)
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+#elif defined(__CYGWIN__) || defined(__MSYS__) || defined(__midipix__)
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 # include "uv-posix.h"
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 #endif
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
diff -ru libuv-v1.19.2.orig/Makefile.am libuv-v1.19.2/Makefile.am
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
--- libuv-v1.19.2.orig/Makefile.am	2018-02-21 21:25:38.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+++ libuv-v1.19.2/Makefile.am	2018-05-04 20:55:46.028984363 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
@@ -403,6 +403,20 @@
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 test_run_tests_LDFLAGS += -lutil
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 endif
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+# src/unix/cygwin.c is mostly just stubs, implement proper codepaths at later date?
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+if MIDIPIX
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+include_HEADERS += include/uv-posix.h
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+libuv_la_CFLAGS += -D_GNU_SOURCE
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+libuv_la_SOURCES += src/unix/cygwin.c \
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+                    src/unix/no-fsevents.c \
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+                    src/unix/no-proctitle.c \
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+                    src/unix/posix-hrtime.c \
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+                    src/unix/posix-poll.c \
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+                    src/unix/procfs-exepath.c \
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+                    src/unix/sysinfo-loadavg.c \
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+                    src/unix/sysinfo-memory.c
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+endif
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
+
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 if MSYS
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 libuv_la_CFLAGS += -D_GNU_SOURCE
Lucio Andrés Illanes Albornoz (arab, vxp) af7abc
 libuv_la_SOURCES += src/unix/cygwin.c \