Commit graph

11 commits

Author SHA1 Message Date
dholland
fe29af5a05 Requires termcap. 2013-04-28 03:20:41 +00:00
dholland
4a861a6f6b Clean up legacy C.
Now passes gcc -Wall -Wextra -Wmissing-declarations -Wwrite-strings on gcc45.
May build with clang now too.

Changes:
   - use standard headers
   - don't declare own errno, fopen(), getenv(), or malloc()
   - declare own functions
   - declare void functions void
   - avoid implicit int
   - use C89
   - use some const
   - use some static
   - fix signed/unsigned mismatches
   - call execl() properly
   - don't cast return value of malloc
   - initialize struct sigaction correctly
   - use <ctype.h> functions correctly
   - don't index arrays with (signed) char
   - don't put function declarations inside function bodies
   - patch up two uninitialized variables
   - silence some compiler warnings that are not bugs
   - remove some unused objects
and:
   - add patch comments for preexisting patches
   - correct some minor pkglint

As a couple of these things fixed bugs (e.g. the execl calls), bump
PKGREVISION.
2012-12-27 06:13:20 +00:00
dholland
189c033e70 Fix typo and note that TECO is a 'classic' text editor. 2012-12-27 06:03:41 +00:00
asau
fae34ba053 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 11:43:30 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
joerg
666dbbb67c Fix DESTDIR. Do not use LOCALBASE. 2008-04-07 17:37:36 +00:00
jlam
80c7fb273d Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 18:25:52 +00:00
wiz
6e2c35c083 pkglint cleanup; update HOMEPAGE/MASTER_SITES.
From Sergey Svishchev in private mail.
2007-02-22 19:01:13 +00:00
jlam
cf56f31e09 In URLs, the "NetBSD" should be capitalized as such, i.e. "NetBSD.org",
not "netbsd.org".
2006-07-06 21:14:19 +00:00
joerg
c3ed17d3df Fix errno. 2006-01-05 19:27:50 +00:00
is
e45f4a7fbd Mark C. Henderson's port of Matt Fichtenbaums TECO for Ultrix. 2005-12-28 22:29:17 +00:00