| 1: 2017-02-18 (Sat) 15:17:34 macsatou  | Cur: 2017-02-18 (Sat) 16:35:25 macsatou  | 
|  | # tar xzfv w3m-0.5.3.tar.gz |  | # tar xzfv w3m-0.5.3.tar.gz | 
|  | # cd w3m-0.5.3 |  | # cd w3m-0.5.3 | 
| - | # ./configure | + | # yum install ncurses* | 
|  | + | # ./configure --with-termlib=ncurses --disable-mouse | 
|  | # make |  | # make | 
|  | ここでエラー |  | ここでエラー | 
|  | static void basic_close(int *handle); |  | static void basic_close(int *handle); | 
|  | static int basic_read(int *handle, char *buf, int len); |  | static int basic_read(int *handle, char *buf, int len); | 
|  | + |  | 
|  | -static void file_close(struct file_handle *handle); |  | -static void file_close(struct file_handle *handle); | 
|  | -static int file_read(struct file_handle *handle, char *buf, int len); |  | -static int file_read(struct file_handle *handle, char *buf, int len); | 
|  | +static void file_close(struct w3m_file_handle *handle); |  | +static void file_close(struct w3m_file_handle *handle); | 
|  | +static int file_read(struct w3m_file_handle *handle, char *buf, int len); |  | +static int file_read(struct w3m_file_handle *handle, char *buf, int len); | 
|  | + |  | 
|  | static int str_read(Str handle, char *buf, int len); |  | static int str_read(Str handle, char *buf, int len); | 
|  | + |  | 
|  | @@ -114,7 +114,7 @@ newFileStream(FILE * f, void (*closep) ( |  | @@ -114,7 +114,7 @@ newFileStream(FILE * f, void (*closep) ( | 
|  | stream = New(union input_stream); |  | stream = New(union input_stream); | 
|  | @@ -658,13 +658,13 @@ basic_read(int *handle, char *buf, int l |  | @@ -658,13 +658,13 @@ basic_read(int *handle, char *buf, int l | 
|  | } |  | } | 
|  | + |  | 
|  | static void |  | static void | 
|  | -file_close(struct file_handle *handle) |  | -file_close(struct file_handle *handle) | 
|  | handle->close(handle->f); |  | handle->close(handle->f); | 
|  | } |  | } | 
|  | + |  | 
|  | static int |  | static int | 
|  | -file_read(struct file_handle *handle, char *buf, int len) |  | -file_read(struct file_handle *handle, char *buf, int len) | 
|  | +++ istream.h |  | +++ istream.h | 
|  | @@ -20,7 +20,7 @@ struct stream_buffer { |  | @@ -20,7 +20,7 @@ struct stream_buffer { | 
|  | + |  | 
|  | typedef struct stream_buffer *StreamBuffer; |  | typedef struct stream_buffer *StreamBuffer; | 
|  | + |  | 
|  | -struct file_handle { |  | -struct file_handle { | 
|  | +struct w3m_file_handle { |  | +struct w3m_file_handle { | 
|  | }; |  | }; | 
|  | @@ -53,7 +53,7 @@ struct base_stream { |  | @@ -53,7 +53,7 @@ struct base_stream { | 
|  | + |  | 
|  | struct file_stream { |  | struct file_stream { | 
|  | struct stream_buffer stream; |  | struct stream_buffer stream; | 
|  | char iseos; |  | char iseos; | 
|  | int (*read) (); |  | int (*read) (); | 
|  | + |  | 
|  |  |  |  | 
| - | https://lists.freebsd.org/pipermail/svn-ports-head/2013-October/032845.html | + | https://lists.freebsd.org/pipermail/freebsd-ports-bugs/2013-October/264429.html | 
|  | + | --- main.c.orig	2011-01-04 10:42:19.000000000 +0100 | 
|  | + | +++ main.c	2013-10-21 13:43:11.000000000 +0200 | 
|  | + | @@ -833,7 +833,8 @@ | 
|  | + | mySignal(SIGPIPE, SigPipe); | 
|  | + | #endif | 
|  | + |  | 
|  | + | -    orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc); | 
|  | + | +    orig_GC_warn_proc = GC_get_warn_proc(); | 
|  | + | +    GC_set_warn_proc(wrap_GC_warn_proc); | 
|  | + | err_msg = Strnew(); | 
|  | + | if (load_argc == 0) { | 
|  | + | /* no URL specified */ | 
|  |  |  |  | 
|  | + | https://lists.freebsd.org/pipermail/svn-ports-head/2013-October/032845.html | 
|  | + | ※不要かも | 
|  | --- www/w3m/files/patch-main.c	(revision 0) |  | --- www/w3m/files/patch-main.c	(revision 0) | 
|  | +++ www/w3m/files/patch-main.c	(working copy) |  | +++ www/w3m/files/patch-main.c	(working copy) |