Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 16:14:31 +0900
From:      TANAKA Hiroyuki <c1995207@cstu.nit.ac.jp>
To:        Oliver Lehmann <oliver@FreeBSD.ORG>
Cc:        freebsd-ports-bugs@FreeBSD.ORG
Subject:   Re: ports/44932: New port: xtr
Message-ID:  <200307240714.h6O7EVm07161@cstu.nit.ac.jp>
In-Reply-To: <20030724080027.72c3ad9c.oliver@FreeBSD.ORG>
References:  <200307232021.h6NKL3hI074726@freefall.freebsd.org> <200307240523.h6O5NEm06723@cstu.nit.ac.jp> <20030724080027.72c3ad9c.oliver@FreeBSD.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307240714.h6O7EVm07161>