summaryrefslogtreecommitdiff
path: root/devel/cproto
AgeCommit message (Collapse)AuthorFilesLines
2012-10-31Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2010-08-15Update cproto to 4.7i.obache3-23/+8
Based on PR#43763 by Kamel Derouiche, additionaly, some clean up. 2010/07/14 (4.7i) - escape dashes used in manpage, to work with groff (patch by Kenneth Pronovici) - add RPM and Debian build scripts, for testing. - add configure checks for ctags and lint program. - fix strict compiler warnings, e.g., using const. - support DESTDIR variable in makefile. - drop mkdirs.sh, use "mkdir -p" - several improvements to configure macros - quoted ifelse() params - distinguish Darwin 9 from previous releases - ignore stderr in check for gcc version, to work with c89 wrapper. - use consistent date and formatting in the CHANGES file, for processing contributor's information using a script. - update config.guess, config.sub 2009/09/3 (4.7h) - updated configure macros CF_ADD_CFLAGS CF_GCC_ATTRIBUTES CF_GCC_WARNINGS CF_XOPEN_SOURCE - update config.guess, config.sub 2008/11/19 (4.7g) - modify cpp command to redirect stderr to /dev/null if -q option is given, for consistency with the non-cpp mode (report by Nicolas Limare). https://bugs.launchpad.net/ubuntu/+source/cproto/+bug/275248 - add configure --disable-leaks option. - use configure macro CF_XOPEN_SOURCE macro to make mkstemp() prototyped on Linux. - remove isascii() usage. - code cleanup, to remove K&R relics. - update config.guess, config.sub
2008-10-25Add cproto-4.7f. TODO: integrate into pkgsrc compiler infrastructure?bjs5-0/+50
Cproto is a program that generates function prototypes and variable declarations from C source code. It can also convert function definitions between the old style and the ANSI C style. This conversion overwrites the original files, so make a backup copy of your files in case something goes wrong. The program isn't confused by complex function definitions as much as other prototype generators because it uses a yacc generated parser. By ignoring all the input between braces, I avoided implementing the entire C language grammar.