Created attachment 145854 [details] Patch to fix textproc/teckit (to be dropped into files/) When building with lang/gcc47 (USE_GCC=yes) I see the following build failure. The attached patch fixes it (can be dropped into a yet-to-be-created files/): ../source/Compiler.cpp: In function 'char* TECkit_GetTECkitName(UInt32)': ../source/Compiler.cpp:212:32: error: 'sprintf' was not declared in this scope ../source/Compiler.cpp: In function 'const char* asHex(UInt32, short int)': ../source/Compiler.cpp:349:34: error: 'sprintf' was not declared in this scope ../source/Compiler.cpp: In function 'const char* asDec(UInt32)': ../source/Compiler.cpp:357:24: error: 'sprintf' was not declared in this scope
Hi Justin, You normally provide the patch to the *port* not the software, so your diff would create the patch complete with name. It's less work for whomever claims the port. I think "svn patch" would create the files directory automatically so that shouldn't be a problem. But since it's just one patch and not more I'll go ahead and notify the maintainer to get his approval.
I approve this, of course. Justin, thank you very much.
maintain has approved; it's patch-ready
While we are here, this port has an opened PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191120 Maybe you could commit these two improvements together?
A commit references this bug: Author: marino Date: Sat Aug 16 09:47:25 UTC 2014 New revision: 365070 URL: http://svnweb.freebsd.org/changeset/ports/365070 Log: textproc/teckit: Add header to fix build on lang/gcc47 PR: 192698 Submitted by: Justin Hibbits Approved by: maintainer (Nikola Lecic) Changes: head/textproc/teckit/files/ head/textproc/teckit/files/patch-source_Compiler.cpp
(In reply to Nikola Lečić from comment #4) > While we are here, this port has an opened PR: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191120 > Maybe you could commit these two improvements together? Opportunistic, aren't you? :)
(In reply to John Marino from comment #6) > (In reply to Nikola Lečić from comment #4) > > While we are here, this port has an opened PR: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191120 > > Maybe you could commit these two improvements together? > > Opportunistic, aren't you? :) Indeed... but that's still a lot nicer than asking for commit that 2-months old PR first before approving this new one. :) Anyway, thanks for taking 191120.