summaryrefslogtreecommitdiff
path: root/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch')
-rw-r--r--app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch b/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch
new file mode 100644
index 000000000000..ccff0009e9eb
--- /dev/null
+++ b/app-accessibility/yasr/files/yasr-0.6.9-gcc43.patch
@@ -0,0 +1,25 @@
+--- a/yasr/yasr.h
++++ b/yasr/yasr.h
+@@ -306,22 +306,10 @@
+ extern void opt_say(int num, int flag);
+ extern void opt_set(int num, void *val);
+ extern void opt_queue_empty(int ll);
+ extern void opt_write(FILE * fp);
+
+-/* openpty.c prototypes */
+-extern int openpty(int *, int *, char *, struct termios *, struct winsize *);
+-
+-/* cfmakeraw.c prototypes */
+-extern void cfmakeraw(struct termios *);
+-
+-/* login_tty.c prototypes */
+-extern int login_tty(int);
+-
+-/* forkpty.c prototypes */
+-extern int forkpty(int *, char *, struct termios *, struct winsize *);
+-
+ /* tbc - Would it be more efficient to ensure that "blank" grids always held
+ ascii 0x20 rather than ascii 0x00? */
+ #define y_isblank(ch) ((ch & 0xdf) == 0)
+ #define cblank(r, c) ((win->row[r][c] & 0xdf) == 0)
+ #define ttssend(x) if (x) tts_send(x, strlen(x))