※ 引述《[email protected] (☆ 火 炎 焱 燚 ☆)》之銘言:
> ※ 引述《[email protected] (淡…醉了)》之銘言:
> > cd /usr/ports/chinese/ve
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
因該是cd /usr/ports/chinese/ve/work/ve-1.0/
不過似乎不用作patch了?
更新過ports tree後好像就直接可以灌了
> > 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出來看看
--
夫兵者不祥之器物或惡之故有道者不處君子居則貴左用兵則貴右兵者不祥之器非君子
之器不得已BBS telnet://wretch.twbbs.org 開個人板 超快 不用連署得志於天下
矣吉事尚左凶事尚右偏將軍居左上將軍居右言以喪禮處之殺人之眾以哀悲泣之戰勝以
喪禮處之道常無名樸雖小天下莫能臣侯王若能守之萬物將自賓天地相合以降甘露民莫
之令而自均始制有名名亦既有夫亦將知止知止可 61-229-64-9.dynamic.hinet.net海