※ 引述《[email protected] (淡…醉了)》之銘言:
> ※ 引述《[email protected] (☆ 火 炎 焱 燚 ☆)》之銘言:
> > 那該怎樣可以排除呢?
> > 或是有其他類似的工具可以取代嗎?
> cd /usr/ports/chinese/ve
> fetch http://news.ilc.edu.tw/gallery/ve.chinsan.patch
> patch -p < ve.chinsan.patch
輸入到這裡時,出現下面畫面
25# patch -p < ve.chinsan.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- screen.c.orig 2004-10-25 07:25:10.000000000 +0800
|+++ screen.c 2004-10-25 07:32:12.000000000 +0800
--------------------------
File to patch:
> make install clean
安裝後還是出現錯誤>"<
25# make install clean
===> Building for zh-ve-1.0
cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -DVEDITOR -c screen.c
In file included from screen.c:9:
/usr/include/varargs.h:34:2: #error "<varargs.h> is obsolete with this
version of GCC."
/usr/include/varargs.h:35:2: #error "Change your code to use <stdarg.h>
instead."
screen.c:605: error: syntax error before "va_dcl"
screen.c:610: warning: parameter names (without types) in function declaration
screen.c:610: warning: data definition has no type or storage class
screen.c:611: error: conflicting types for `fmt'
screen.c:608: error: previous declaration of `fmt'
screen.c:611: error: `args' undeclared here (not in a function)
screen.c:611: error: syntax error before "char"
screen.c:611: warning: data definition has no type or storage class
screen.c:612: warning: parameter names (without types) in function declaration
screen.c:612: warning: data definition has no type or storage class
screen.c:613: warning: parameter names (without types) in function declaration
screen.c:613: warning: data definition has no type or storage class
screen.c:614: warning: parameter names (without types) in function declaration
screen.c:614: warning: data definition has no type or storage class
screen.c:615: error: syntax error before '}' token
*** Error code 1
Stop in /usr/ports/chinese/ve/work/ve-1.0.
*** Error code 1
Stop in /usr/ports/chinese/ve.
*** Error code 1
Stop in /usr/ports/chinese/ve.
> 不過這是我第一次做 patch... 沒啥信心:(
> 有問題的話再把相關訊息po出來看看
--
▄▇Tn▇▆▇◤╴◥◥
◢ __ ˙. /◣ ◢ .▎
* ̄ \▃▂▁╰──── 生活是不是也可以如此閒適~
◢ ̄ ̄ ̄\▲_ ◢/◥ ̄ ̄ ◢
◥ ╰──╯ 二▼ █ ▆▇◤
▅▃▃▅▇  ̄ ▆▆▇
--
╭┼ Origin: 南榮技術學院˙南榮BBS bbs.njtc.edu.tw
┼┘ Author: VIPER 從 218-172-94-76.dynamic.hinet.net 發表