flagflag  
1: 2017-02-18 (Sat) 15:17:34 macsatou source Cur: 2017-02-18 (Sat) 16:35:25 macsatou source
Line 5: Line 5:
 # 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
ここでエラー ここでエラー
Line 48: Line 49:
  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);
Line 67: Line 68:
 @@ -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)
Line 74: Line 75:
     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)
Line 84: Line 85:
 +++ 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 {
Line 93: Line 94:
  };   };
 @@ -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;
Line 101: Line 102:
     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)


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

93 user(s) are online (22 user(s) are browsing xpwiki)

Members: 0
Guests: 93

more...

Access Counter

Today : 9605960596059605
Yesterday : 1615016150161501615016150
Total : 2348889823488898234888982348889823488898234888982348889823488898
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com