Skip to content

Commit 5dcd5e7

Browse files
authored
update aee (#15)
fix makefile for building on musl, this disables incorrect usage of catgets, this still works on every linux distro.
1 parent 2f0c48b commit 5dcd5e7

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,7 @@ Mkfile.old
5454
dkms.conf
5555
ee
5656
aee
57+
cursedee
58+
ane
5759

5860
# End of https://mrkandreev.name/snippets/gitignore-generator/#C

cursedee

-101 KB
Binary file not shown.

makefile.ee.newcurse.lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DEFINES = -DSYS5 -DBSD_SELECT -DNCURSE -DHAS_UNISTD -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB -DHAS_SYS_WAIT -DSLCT_HDR
1+
DEFINES = -DSYS5 -DBSD_SELECT -DNCURSE -DHAS_UNISTD -DNO_CATGETS -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB -DHAS_SYS_WAIT -DSLCT_HDR
22

33
CFLAGS= -O0 -march=native -mtune=native -flto -fcommon
44

new_curse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#include <stdio.h>
4343

4444
#ifdef SYS5
45-
#include <termio.h>
45+
#include "termio.h"
4646
#else
4747
#include <sgtty.h>
4848
#include <fcntl.h>

termio.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* Compatible <termio.h> for old `struct termio' ioctl interface.
2+
This is obsolete; use the POSIX.1 `struct termios' interface
3+
defined in <termios.h> instead. */
4+
5+
#include <termios.h>
6+
#include <sys/ioctl.h>

0 commit comments

Comments
 (0)