summarylogtreecommitdiffstats
path: root/pdcurses.diff
diff options
context:
space:
mode:
authorpingplug2017-10-02 09:59:27 +0800
committerpingplug2017-10-02 09:59:27 +0800
commit09eac0479bc012f15de15fb2bb28e0d031b72e4f (patch)
tree92aa90603aa8b72c9cfe6b4c77cae79a96ea6d11 /pdcurses.diff
parentaa2ae53f7dccfe54eaf23c093db945b91e82ce19 (diff)
downloadaur-09eac0479bc012f15de15fb2bb28e0d031b72e4f.tar.gz
fix mingw-w64-readline build
Diffstat (limited to 'pdcurses.diff')
-rw-r--r--pdcurses.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/pdcurses.diff b/pdcurses.diff
new file mode 100644
index 000000000000..662d22308bfb
--- /dev/null
+++ b/pdcurses.diff
@@ -0,0 +1,43 @@
+diff -ruN PDCurses-patched/term.h PDCurses/term.h
+--- PDCurses-patched/term.h 2017-10-02 09:48:51.000000000 +0800
++++ PDCurses/term.h 2017-10-02 09:49:28.290552879 +0800
+@@ -23,23 +23,23 @@
+ /* PDCEX is defined in curses.h */
+ PDCEX TERMINAL *cur_term;
+
+-int del_curterm(TERMINAL *);
+-int putp(const char *);
+-int restartterm(const char *, int, int *);
+-TERMINAL *set_curterm(TERMINAL *);
+-int setterm(const char *);
+-int setupterm(const char *, int, int *);
+-int tgetent(char *, const char *);
+-int tgetflag(const char *);
+-int tgetnum(const char *);
+-char *tgetstr(const char *, char **);
+-char *tgoto(const char *, int, int);
+-int tigetflag(const char *);
+-int tigetnum(const char *);
+-char *tigetstr(const char *);
+-char *tparm(const char *, long, long, long, long, long,
++PDCEX int del_curterm(TERMINAL *);
++PDCEX int putp(const char *);
++PDCEX int restartterm(const char *, int, int *);
++PDCEX TERMINAL *set_curterm(TERMINAL *);
++PDCEX int setterm(const char *);
++PDCEX int setupterm(const char *, int, int *);
++PDCEX int tgetent(char *, const char *);
++PDCEX int tgetflag(const char *);
++PDCEX int tgetnum(const char *);
++PDCEX char *tgetstr(const char *, char **);
++PDCEX char *tgoto(const char *, int, int);
++PDCEX int tigetflag(const char *);
++PDCEX int tigetnum(const char *);
++PDCEX char *tigetstr(const char *);
++PDCEX char *tparm(const char *, long, long, long, long, long,
+ long, long, long, long);
+-int tputs(const char *, int, int (*)(int));
++PDCEX int tputs(const char *, int, int (*)(int));
+
+ #if defined(__cplusplus) || defined(__cplusplus__) || defined(__CPLUSPLUS)
+ }