FreeBSD Port: ushare-1.1a_9
Dimitry Andric
dim at FreeBSD.org
Wed Mar 19 21:25:17 UTC 2014
On 19 Mar 2014, at 09:59, Dean Hollister <deanhollister at bigpond.com> wrote:
> It appears that the ushare port requires GCC to build, but this
> requirement is not present in the Makefile. Attempting to build without
> GCC generates the following error:
...
> In file included from cfgparser.c:30:
> In file included from ./cfgparser.h:24:
> ./ushare.h:135:13: warning: inline function 'display_headers' is not
> defined
> [-Wundefined-inline]
> inline void display_headers (void);
> ^
> cfgparser.c:316:3: note: used here
> display_headers ();
> ^
> 1 warning generated.
This is because the ushare author apparently does not understand how
inline works in C. It is very simple to fix: just drop the attached
files into /usr/ports/net/ushare/files, overwriting any existing ones.
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-trace.c
Type: application/octet-stream
Size: 250 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140319/e30107e1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-trace.h
Type: application/octet-stream
Size: 352 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140319/e30107e1/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ushare.c
Type: application/octet-stream
Size: 3529 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140319/e30107e1/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ushare.h
Type: application/octet-stream
Size: 490 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140319/e30107e1/attachment-0003.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140319/e30107e1/attachment.sig>
More information about the freebsd-ports
mailing list