Summary: | net-mgmt/flow-tools: patch to compile with clang | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Victor Sudakov <vas> | ||||||
Component: | Individual Port(s) | Assignee: | Muhammad Moinur Rahman <bofh> | ||||||
Status: | Closed Overcome By Events | ||||||||
Severity: | Affects Some People | CC: | bofh, ports, vas | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(bofh) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 179207 [details]
use gnu89 mode
The problem can be solved simplier with single-line patch switching Clang from its default c99 mode to GCC's default gnu89 mode. The patch is attached. (In reply to Eugene Grosbein from comment #2) Thanks, your solution is much more correct. Dear Muhammad, The solution is a one line patch. Why not commit it and move on? (In reply to vas from comment #4) This has been fixed at revision 433278. https://svnweb.freebsd.org/ports/head/net-mgmt/flow-tools/Makefile?r1=426566&r2=433278&pathrev=433346 |
Created attachment 179142 [details] Patch to remove inline functions I suggest a patch which will permit to remove USE_GCC= from the port. USE_GCC is ugly because it installs many runtime dependencies.