summaryrefslogtreecommitdiff
path: root/lang/ruby18/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18/patches/patch-ae')
-rw-r--r--lang/ruby18/patches/patch-ae20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/ruby18/patches/patch-ae b/lang/ruby18/patches/patch-ae
new file mode 100644
index 00000000000..bda9f2d8a51
--- /dev/null
+++ b/lang/ruby18/patches/patch-ae
@@ -0,0 +1,20 @@
+$NetBSD: patch-ae,v 1.1.1.1 2004/11/27 14:11:15 taca Exp $
+
+--- ext/curses/extconf.rb.orig 2003-12-16 16:47:58.000000000 +0900
++++ ext/curses/extconf.rb
+@@ -7,14 +7,7 @@ dir_config('termcap')
+ make=false
+ have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM
+ have_library("tinfo", "tgetent") or have_library("termcap", "tgetent")
+-if have_header(*curses=%w"ncurses.h") and have_library("ncurses", "initscr")
+- make=true
+-elsif have_header(*curses=%w"ncurses/curses.h") and have_library("ncurses", "initscr")
+- make=true
+-elsif have_header(*curses=%w"curses_colr/curses.h") and have_library("cur_colr", "initscr")
+- curses.unshift("varargs.h")
+- make=true
+-elsif have_header(*curses=%w"curses.h") and have_library("curses", "initscr")
++if have_header(*curses=%w"curses.h") and have_library("curses", "initscr")
+ make=true
+ end
+