diff options
author | dholland <dholland> | 2015-06-12 08:23:51 +0000 |
---|---|---|
committer | dholland <dholland> | 2015-06-12 08:23:51 +0000 |
commit | 74a2770aa925f32305661765d0506f3a9330356a (patch) | |
tree | f3cb1ab284416800e747be079ab5319a73adbc4f | |
parent | 49be1c2d2ab1230a7856f3e8526f1946c27bcf06 (diff) | |
download | pkgsrc-74a2770aa925f32305661765d0506f3a9330356a.tar.gz |
Update tradcpp to 0.5.
patch-main.c is rolled in.
release 0.5 (20150612)
- Don't report unclosed comments as "No newline at end of file".
- Don't rely on <stdbool.h> existing, as (predictably) it doesn't
work on Solaris.
- Similarly, don't rely on C11 anonymous unions as the Solaris
compiler vomits on them.
- Typo fix in man page from Jason McIntyre; and change "Usage" to
"usage" in usage for pedantic reasons, from Igor Sobrado.
- Accept "-" as either input or output file name to mean stdin or
stdout respectively. Suggested by Jonathan Gray.
- Fix output spacing behavior to match gcc when newlines appear in or
while looking for macro arguments. Partly from Joerg Sonnenberger.
- Implement __FILE__ and __LINE__ macros. Mostly from Joerg Sonnenberger.
- Implement #line. Partly from Joerg Sonnenberger.
- Declare usage() with PF(). From wiz.
-rw-r--r-- | devel/tradcpp/DESCR | 2 | ||||
-rw-r--r-- | devel/tradcpp/Makefile | 4 | ||||
-rw-r--r-- | devel/tradcpp/distinfo | 9 | ||||
-rw-r--r-- | devel/tradcpp/patches/patch-main.c | 16 |
4 files changed, 7 insertions, 24 deletions
diff --git a/devel/tradcpp/DESCR b/devel/tradcpp/DESCR index cfc616c0efe..f3c82e0c41a 100644 --- a/devel/tradcpp/DESCR +++ b/devel/tradcpp/DESCR @@ -3,6 +3,6 @@ tradcpp is a traditional (K&R-style) preprocessor. It has the particular property that it doesn't (for the most part) trash whitespace, so it can be used on makefiles. -This is only release 0.1; it is missing some features and doubtless +This is release 0.5; it is still missing some features and doubtless has quite a few bugs, but it's capable of building at least some packages when used with imake. diff --git a/devel/tradcpp/Makefile b/devel/tradcpp/Makefile index ae9bf59275a..6f4e65ffcbe 100644 --- a/devel/tradcpp/Makefile +++ b/devel/tradcpp/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2013/09/12 11:15:12 jperkin Exp $ +# $NetBSD: Makefile,v 1.8 2015/06/12 08:23:51 dholland Exp $ # -DISTNAME= tradcpp-0.4 +DISTNAME= tradcpp-0.5 CATEGORIES= devel MASTER_SITES= http://ftp.NetBSD.org/pub/NetBSD/misc/dholland/ diff --git a/devel/tradcpp/distinfo b/devel/tradcpp/distinfo index 5b7c21e3daa..96655b26679 100644 --- a/devel/tradcpp/distinfo +++ b/devel/tradcpp/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.8 2013/09/17 20:27:10 wiz Exp $ +$NetBSD: distinfo,v 1.9 2015/06/12 08:23:51 dholland Exp $ -SHA1 (tradcpp-0.4.tar.gz) = 71b9ff14032d2e1acbbe8258a368bf3fa45125a8 -RMD160 (tradcpp-0.4.tar.gz) = c8a7263083d94ff501c386001be7144a2ee50dfe -Size (tradcpp-0.4.tar.gz) = 34523 bytes -SHA1 (patch-main.c) = ef438aee0ba0da9ecd623340a808f9aaf22ce06c +SHA1 (tradcpp-0.5.tar.gz) = e153eabe2d01627d640cf36386941e5b1d549f21 +RMD160 (tradcpp-0.5.tar.gz) = 38fa87d6c297d1e02fbc4c1d4a4ddbae6046234e +Size (tradcpp-0.5.tar.gz) = 36701 bytes diff --git a/devel/tradcpp/patches/patch-main.c b/devel/tradcpp/patches/patch-main.c deleted file mode 100644 index 92f2fbf7525..00000000000 --- a/devel/tradcpp/patches/patch-main.c +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-main.c,v 1.4 2013/09/17 20:27:10 wiz Exp $ - -Upstream patch to work around a clang build issue. - -diff -r c440247cbd69 -r 1a7de2c68290 main.c ---- main.c Sat Aug 24 18:50:05 2013 -0400 -+++ main.c Tue Sep 17 14:58:45 2013 -0400 -@@ -934,7 +934,7 @@ - return false; - } - --DEAD static -+DEAD PF(2, 3) static - void - usage(const char *progname, const char *fmt, ...) - { |