Commit graph

3 commits

Author SHA1 Message Date
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
obache
a8ebe0d0af Update cproto to 4.7i.
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
2010-08-15 02:31:53 +00:00
bjs
e2baee1ed8 Add cproto-4.7f. TODO: integrate into pkgsrc compiler infrastructure?
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.
2008-10-25 06:15:38 +00:00