aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-07 01:29:40 +0800
committermiwi <miwi@FreeBSD.org>2007-06-07 01:29:40 +0800
commit2eb844740f34501607991e908f9241e1e0ac1938 (patch)
treef6b3426cfa66df2b7a96db6b906bb76532f20241 /japanese
parenta639a732e967e07aa302e74c2996b63b265228d4 (diff)
downloadfreebsd-ports-gnome-2eb844740f34501607991e908f9241e1e0ac1938.tar.gz
freebsd-ports-gnome-2eb844740f34501607991e908f9241e1e0ac1938.tar.zst
freebsd-ports-gnome-2eb844740f34501607991e908f9241e1e0ac1938.zip
- don't make it include sgtty.h
PR: 113328 Submitted by: Ed Schouten <ed@fxq.nl>
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ircII/files/patch-ircflush.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/japanese/ircII/files/patch-ircflush.c b/japanese/ircII/files/patch-ircflush.c
new file mode 100644
index 000000000000..b3cd654bbb41
--- /dev/null
+++ b/japanese/ircII/files/patch-ircflush.c
@@ -0,0 +1,21 @@
+Adding the following patch to the files/ directory removes the unneeded
+inclusion.
+
+--- source/ircflush.c Fri Jan 6 16:16:45 1995
++++ source/ircflush.c Mon Jun 4 09:38:12 2007
+@@ -12,15 +12,6 @@
+ #include "irc.h"
+ #include <sys/wait.h>
+
+-#ifndef __linux__
+-# ifdef __svr4__
+-# include <sys/termios.h>
+-# else
+-# include <sgtty.h> /* SVR4 => sgtty = yuk */
+-# endif /* SOLARIS */
+-#endif /* __linux__ */
+-
+-
+ #define BUFFER_SIZE 1024
+
+ /* descriptors of the tty and pty */