summaryrefslogtreecommitdiff
path: root/misc/orville-write/files/patch-wrt__main.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/orville-write/files/patch-wrt__main.c')
-rw-r--r--misc/orville-write/files/patch-wrt__main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/orville-write/files/patch-wrt__main.c b/misc/orville-write/files/patch-wrt__main.c
new file mode 100644
index 000000000000..391066abe62e
--- /dev/null
+++ b/misc/orville-write/files/patch-wrt__main.c
@@ -0,0 +1,11 @@
+--- wrt_main.c.orig 2004-09-29 04:43:17 UTC
++++ wrt_main.c
+@@ -38,7 +38,7 @@ char myname[UT_NAMESIZE+1]= ""; /* my name (based on u
+ char myuidname[UT_NAMESIZE+1]; /* my name (based on uid number) */
+ char *mytty; /* my tty name in "tty##" format */
+ #ifdef TTYPERMS
+-int myperms; /* my original tty perms */
++extern int myperms; /* my original tty perms */
+ #endif /*TTYPERMS*/
+
+ FILE *histerm; /* Opened version of device to write to */