svn commit: r411670 - head/sysutils/acpica-tools/files

Jung-uk Kim jkim at FreeBSD.org
Tue Mar 22 18:48:51 UTC 2016


On 03/22/16 01:47 PM, Jung-uk Kim wrote:
> Author: jkim
> Date: Tue Mar 22 17:47:45 2016
> New Revision: 411670
> URL: https://svnweb.freebsd.org/changeset/ports/411670
> 
> Log:
>   Really fix spurious build failures and make it more safer.  Header file is
>   generated on the current working directory regardless of -o option.
...

Actually, it is a bug in yacc -o option parsing, i.e., prefix is not set
properly if there's ".c" somewhere in its argument.  For example, with
"-d -ofoo.cXyZ/bar.c", the prefix is set to "foo" and "foo.h" is created
on the current directory, rather than creating "bar.h" in "foo.cXyZ",
because it simply uses strstr(3) to find the prefix. :-(

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160322/455818c9/attachment.sig>


More information about the svn-ports-all mailing list