Bug 163293

Summary: [patch] net/lambdamoo: unbreak build with clang
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
clang.diff none

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"