Bug 163293 - [patch] net/lambdamoo: unbreak build with clang
Summary: [patch] net/lambdamoo: unbreak build with clang
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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 19:20 UTC by Jan Beich
Modified: 2011-12-29 15:50 UTC (History)
0 users

See Also:


Attachments
clang.diff (1.42 KB, patch)
2011-12-14 19:20 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2011-12-14 19:20:08 UTC

How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/lambdamoo-1.8.1_1.log

$ echo 'int main(int argc, char *argv) { void *ptr; exit(0); }' | clang -xc -
<stdin>:1:5: error: second parameter of 'main' (argument array) must be of type 'char **'
int main(int argc, char *argv) { void *ptr; exit(0); }
    ^
<stdin>:1:45: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
int main(int argc, char *argv) { void *ptr; exit(0); }
                                            ^
<stdin>:1:45: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning and 1 error generated.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-12-14 19:20:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2011-12-29 15:44:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-12-29 15:44:24 UTC
miwi        2011-12-29 15:44:11 UTC

  FreeBSD ports repository

  Modified files:
    net/lambdamoo/files  patch-configure patch-configure.in 
  Log:
  - Fix build with CLANG
  
  PR:             163293
  Submitted by:   Jan Beich <jbeich@tormail.net>
  
  Revision  Changes    Path
  1.2       +9 -0      ports/net/lambdamoo/files/patch-configure
  1.2       +9 -0      ports/net/lambdamoo/files/patch-configure.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"