Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232273 - games-emulation/visualboyadvance-1.7.2-r2 ~x86-fbsd keyword request
Summary: games-emulation/visualboyadvance-1.7.2-r2 ~x86-fbsd keyword request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High enhancement (vote)
Assignee: Gentoo x86 FreeBSD Team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks: 233624
  Show dependency tree
 
Reported: 2008-07-18 22:58 UTC by Davide Italiano (RETIRED)
Modified: 2012-10-16 03:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,74.19 KB, text/plain)
2012-10-12 21:25 UTC, Naohiro Aota
Details
patch to workaround the issue (patch,257 bytes, patch)
2012-10-12 21:27 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Italiano (RETIRED) gentoo-dev 2008-07-18 22:58:30 UTC
It compiles and works fine on g/fbsd 7.0
Comment 1 Naohiro Aota gentoo-dev 2012-10-12 21:25:06 UTC
Created attachment 326404 [details]
build.log

Now it fails with:

In file included from /usr/include/sys/types.h:47:0,
                 from /usr/include/zconf.h:424,
                 from /usr/include/zlib.h:34,
                 from /usr/include/minizip/unzip.h:51,
                 from ../System.h:23,
                 from expr.y:11:
/usr/include/sys/_pthreadtypes.h:65:16: error: reference to 'pthread' is ambiguous
/usr/include/sys/_pthreadtypes.h:44:8: error: candidates are: struct pthread
In file included from expr.y:3:0:
/usr/include/stdio.h:143:9: error:                 struct std::pthread
In file included from /usr/include/sys/types.h:47:0,
                 from /usr/include/zconf.h:424,
                 from /usr/include/zlib.h:34,
                 from /usr/include/minizip/unzip.h:51,
                 from ../System.h:23,
                 from expr.y:11:
/usr/include/sys/_pthreadtypes.h:65:36: error: invalid type in declaration before ';' token
/usr/include/sys/_pthreadtypes.h:69:16: error: reference to 'pthread_mutex' is ambiguous
/usr/include/sys/_pthreadtypes.h:48:8: error: candidates are: struct pthread_mutex
Comment 2 Naohiro Aota gentoo-dev 2012-10-12 21:27:13 UTC
Created attachment 326406 [details, diff]
patch to workaround the issue

Including sys/types.h avoid the error.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2012-10-13 01:00:54 UTC
looks fine, commit on.
Comment 4 Naohiro Aota gentoo-dev 2012-10-16 03:01:41 UTC
Thanks. I've added the patch and added ~x86-fbsd.