diff options
author | joerg <joerg@pkgsrc.org> | 2013-01-10 23:56:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-01-10 23:56:32 +0000 |
commit | 1ce9c51d553e13cd749ac6b217a610b6a9801a10 (patch) | |
tree | b2678e251100a9397fad4178c470e45d84c75da0 /games/tads | |
parent | 51ca915295a08ded06191acd4485fde6e671126d (diff) | |
download | pkgsrc-1ce9c51d553e13cd749ac6b217a610b6a9801a10.tar.gz |
Don't declare objects without default constructor as const.
Diffstat (limited to 'games/tads')
-rw-r--r-- | games/tads/distinfo | 3 | ||||
-rw-r--r-- | games/tads/patches/patch-tads3_tcprs.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/games/tads/distinfo b/games/tads/distinfo index f993ec6d789..6fdc6208553 100644 --- a/games/tads/distinfo +++ b/games/tads/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2010/05/29 14:31:23 dillo Exp $ +$NetBSD: distinfo,v 1.10 2013/01/10 23:56:32 joerg Exp $ SHA1 (tads-3.0.8-1/tads23-unix.tar.gz) = 2bd4c64fd090d880b98a8a590d48482d4dfcb67b RMD160 (tads-3.0.8-1/tads23-unix.tar.gz) = 8f83f60d01fb8549fa38adcc48fa04c92fba5250 @@ -6,3 +6,4 @@ Size (tads-3.0.8-1/tads23-unix.tar.gz) = 4122345 bytes SHA1 (patch-aa) = 8d53351305a435d3c2c5d0c1c7f60ed9cbdd7018 SHA1 (patch-ab) = b8e48ff15ef5fa1834c98a5bcc6df3d732dfe062 SHA1 (patch-ac) = 2c05036ff65316699533471d3cbe275e33a100b3 +SHA1 (patch-tads3_tcprs.cpp) = 7f377ea541009490910259c734d577b612f264ef diff --git a/games/tads/patches/patch-tads3_tcprs.cpp b/games/tads/patches/patch-tads3_tcprs.cpp new file mode 100644 index 00000000000..b1ce06c7c5a --- /dev/null +++ b/games/tads/patches/patch-tads3_tcprs.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-tads3_tcprs.cpp,v 1.1 2013/01/10 23:56:32 joerg Exp $ + +--- tads3/tcprs.cpp.orig 2013-01-10 22:23:58.000000000 +0000 ++++ tads3/tcprs.cpp +@@ -116,7 +116,7 @@ static const CTcPrsOpAnd S_op_and(&S_op_ + static const CTcPrsOpOr S_op_or(&S_op_and, &S_op_and); + + /* conditional operator */ +-static const CTcPrsOpIf S_op_if; ++static CTcPrsOpIf S_op_if; + + /* + * assignment operator - note that this is non-const, because we must be |