ports/44932: New port: xtr

TANAKA Hiroyuki c1995207 at cstu.nit.ac.jp
Thu Jul 24 07:14:37 UTC 2003


> making all in src
> cc -c -DHAVE_CONFIG_H -DXTR -DXTRPATH=\"/usr/local/share/xtr\" -I.. -I.
> -I../lib  -O -pipe -mcpu=pentiumpro main.c
> In file included from main.c:8:
> xtr.h:497:1: warning: "__P" redefined
> In file included from /usr/include/assert.h:42,
>                  from xtr.h:96,
>                  from main.c:8:
> /usr/include/sys/cdefs.h:64:1: warning: this is the location of the
> previous definition
> main.c:404: error: initializer element is not constant
> main.c:407: error: initializer element is not constant
> main.c: In function `main':
> main.c:730: warning: return type of `main' is not `int'
> *** Error code 1

It error has corrected by patch 'files/patch-main.c'.
Could the patch be applied correctly in "make patch"?
Thanks

----
TANAKA.



More information about the freebsd-ports-bugs mailing list