summaryrefslogtreecommitdiff
path: root/comms/ruby-termios/patches/patch-aa
diff options
context:
space:
mode:
authortaca <taca>2010-09-10 04:01:36 +0000
committertaca <taca>2010-09-10 04:01:36 +0000
commit64d5abf04926d3e2db37b080f771046d7b66d231 (patch)
tree93423749d1399acfc21e15f56a090b156adda136 /comms/ruby-termios/patches/patch-aa
parent1f3e4335eaaaf3066c4a4553b341e062bb5e0d9b (diff)
downloadpkgsrc-64d5abf04926d3e2db37b080f771046d7b66d231.tar.gz
Update comms/ruby-termios package to 0.9.6
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Remove default value of GEM_BUILD. * Add LICENSE. 2009-08-28 akira yamada <akira@arika.org> * version 0.9.6. 2009-02-05 akira yamada <akira@arika.org> * termios.c: added RDoc. * README: converted to RDoc. * ruby-termios.gemspec: added. 2008-10-23 akira yamada <akira@arika.org> * termios.c: added IOCTL_COMMANDS, IOCTL_COMMAND_NAMES, MODEM_SIGNALS, MODEM_SIGNAL_NAMES, PTY_PACKET_OPTIONS, PTY_PACKET_OPTION_NAMES, LINE_DISCIPLINES and LINE_DISCIPLINE_NAMES. This change is contributed from Chris Hoffman <chrishoffman_cardialife.com>. * termios.c, extconf.rb: included <sys/ioctl.h>. 2008-06-03 akira yamada <akira@arika.org> * extconf.rb, termios.c: adjusted rb_io_t/OpenFile checks for Ruby 1.8.7.
Diffstat (limited to 'comms/ruby-termios/patches/patch-aa')
-rw-r--r--comms/ruby-termios/patches/patch-aa27
1 files changed, 0 insertions, 27 deletions
diff --git a/comms/ruby-termios/patches/patch-aa b/comms/ruby-termios/patches/patch-aa
deleted file mode 100644
index 28341bd102d..00000000000
--- a/comms/ruby-termios/patches/patch-aa
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2008/06/19 14:39:58 taca Exp $
-
---- termios.c.orig 2007-05-30 04:09:04.000000000 +0000
-+++ termios.c
-@@ -12,11 +12,11 @@
- #include <unistd.h>
- #include <string.h>
-
--#ifdef HAVE_TYPE_RB_IO_T
-+#if !defined(OpenFile) && defined(HAVE_TYPE_RB_IO_T)
- typedef rb_io_t OpenFile;
- #endif
-
--#if defined(HAVE_TYPE_RB_IO_T) || defined(HAVE_ST_FD)
-+#if (!defined(OpenFile) && defined(HAVE_TYPE_RB_IO_T)) || defined(HAVE_ST_FD)
- # define FILENO(fptr) (fptr->fd)
- #else
- # define FILENO(fptr) fileno(fptr->f)
-@@ -229,7 +229,7 @@ termios_tcsetattr(io, opt, param)
- Check_Type(io, T_FILE);
- Check_Type(opt, T_FIXNUM);
- if (CLASS_OF(param) != cTermios) {
-- char *type = rb_class2name(CLASS_OF(param));
-+ const char *type = rb_class2name(CLASS_OF(param));
- rb_raise(rb_eTypeError,
- "wrong argument type %s (expected Termios::Termios)",
- type);