Bug 164785 - [patch] devel/bglibs: linking with libbg causes time(3) to fail
Summary: [patch] devel/bglibs: linking with libbg causes time(3) to fail
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
Depends on:
Reported: 2012-02-05 06:00 UTC by Tony Morlan
Modified: 2012-05-07 18:30 UTC (History)
0 users

See Also:

file.diff (347 bytes, patch)
2012-02-05 06:00 UTC, Tony Morlan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Morlan 2012-02-05 06:00:21 UTC
The post-patch step intended to fix some "void main()" functions will also change a valid "int main(void)" into "int main(int)". That makes the tryclockgettime test fail, which causes an incompatible clock_gettime to be built into the library.

How-To-Repeat: make
Comment 1 Edwin Groothuis freebsd_committer 2012-02-05 06:00:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2012-05-07 18:25:48 UTC
sylvio      2012-05-07 17:25:38 UTC

  FreeBSD ports repository

  Modified files:
    devel/bglibs         Makefile 
  - Fix void main(), int main(void), int main(int) functions, which causes an incompatibl clock_gettime to be build into the library
  PR:             ports/164785
  Submitted by:   Tony Morlan <tony@scroner.com>
  Revision  Changes    Path
  1.44      +1 -1      ports/devel/bglibs/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Sylvio Cesar Teixeira freebsd_committer 2012-05-07 18:25:55 UTC
State Changed
From-To: open->closed

Committed. Thanks!