1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
diff -ru emacs-26.1.orig/configure emacs-26.1/configure
--- emacs-26.1.orig/configure 2018-05-25 17:30:58.000000000 +0200
+++ emacs-26.1/configure 2018-11-28 19:48:51.524844347 +0100
@@ -4766,6 +4766,11 @@
opsys=gnu-linux
;;
+ ## Midipix ports
+ *-*-midipix* )
+ opsys=midipix
+ ;;
+
## FreeBSD ports
*-*-freebsd* )
opsys=freebsd
@@ -9158,6 +9163,7 @@
test "x$CANNOT_DUMP" = "x" && CANNOT_DUMP=no
case "$opsys" in
nacl) CANNOT_DUMP=yes ;;
+ midipix) CANNOT_DUMP=yes ;;
esac
if test "$CANNOT_DUMP" = "yes"; then
@@ -9768,7 +9774,7 @@
fi
if test x$have_sound_header = xyes || test $HAVE_ALSA = yes; then
case "$opsys" in
- gnu-linux|freebsd|netbsd|mingw32|cygwin)
+ gnu-linux|freebsd|netbsd|mingw32|cygwin|midipix)
$as_echo "#define HAVE_SOUND 1" >>confdefs.h
@@ -11412,7 +11418,7 @@
## #ifdef DOUG_LEA_MALLOC; #undef REL_ALLOC; #endif
## Does the AC_FUNC_MMAP test below make this check unnecessary?
case "$opsys" in
- mingw32|gnu*) REL_ALLOC=no ;;
+ mingw32|midipix|gnu*) REL_ALLOC=no ;;
esac
fi
@@ -11422,7 +11428,7 @@
use_mmap_for_buffers=no
case "$opsys" in
- mingw32) use_mmap_for_buffers=yes ;;
+ mingw32|midipix) use_mmap_for_buffers=yes ;;
esac
@@ -15365,7 +15371,7 @@
esac
if test "${with_modules}" != "no"; then
case $opsys in
- gnu|gnu-linux)
+ gnu|gnu-linux|midipix)
LIBMODULES="-ldl"
HAVE_MODULES=yes
;;
@@ -16764,7 +16770,7 @@
case $opsys in
aix4-2) mail_lock="lockf" ;;
- gnu|freebsd|dragonfly|netbsd|openbsd|darwin) mail_lock="flock" ;;
+ gnu|midipix|freebsd|dragonfly|netbsd|openbsd|darwin) mail_lock="flock" ;;
## On GNU/Linux systems, both methods are used by various mail programs.
## I assume most people are using newer mailers that have heard of flock.
@@ -18510,7 +18516,7 @@
case $opsys in
- cygwin|gnu|gnu-linux|gnu-kfreebsd|freebsd|netbsd|openbsd)
+ cygwin|midipix|gnu|gnu-linux|gnu-kfreebsd|freebsd|netbsd|openbsd)
$as_echo "#define NARROWPROTO 1" >>confdefs.h
@@ -18550,7 +18556,7 @@
;;
- gnu-linux | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin | nacl )
+ gnu-linux | midipix | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin | nacl )
if test "x$ac_cv_func_grantpt" = xyes; then
$as_echo "#define UNIX98_PTYS 1" >>confdefs.h
@@ -18620,7 +18626,7 @@
case $opsys in
- aix4-2 | cygwin | gnu | dragonfly | freebsd | netbsd | openbsd | darwin )
+ aix4-2 | cygwin | midipix | gnu | dragonfly | freebsd | netbsd | openbsd | darwin )
$as_echo "#define SIGNALS_VIA_CHARACTERS 1" >>confdefs.h
;;
Only in emacs-26.1/lib: .binary-io.h.swp
diff -ru emacs-26.1.orig/lib-src/Makefile.in emacs-26.1/lib-src/Makefile.in
--- emacs-26.1.orig/lib-src/Makefile.in 2018-04-23 16:17:42.000000000 +0200
+++ emacs-26.1/lib-src/Makefile.in 2018-11-28 19:25:21.901162314 +0100
@@ -388,8 +388,12 @@ profile${EXEEXT}: ${srcdir}/profile.c $(NTLIB) $(config_h)
$(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< \
$(NTLIB) $(LOADLIBES) $(LIB_CLOCK_GETTIME) -o $@
-make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(NTLIB) $(config_h)
- $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< $(NTLIB) $(LOADLIBES) -o $@
+make-docfile${EXEEXT}: CFLAGS_FOR_BUILD += -std=gnu99
+make-docfile${EXEEXT}: CFLAGS_FOR_BUILD += -I../src
+make-docfile${EXEEXT}: CFLAGS_FOR_BUILD += -I${srcdir}/../src -I${srcdir}/../lib
+make-docfile${EXEEXT}: CFLAGS_FOR_BUILD += -D_BINARY_H -Dset_binary_mode\(x\,y\)
+make-docfile${EXEEXT}: ${srcdir}/make-docfile.c $(config_h)
+ $(AM_V_CCLD)$(BUILDCC) $< -o $@ $(CFLAGS_FOR_BUILD)
movemail${EXEEXT}: ${srcdir}/movemail.c pop.o $(NTLIB) $(config_h)
$(AM_V_CCLD)$(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} $< pop.o \
|