diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-05-17 11:01:23 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-05-17 11:01:23 +0000 |
commit | 8f9f69fc6e162b41608fddb6a8956e68be553ed0 (patch) | |
tree | 9c96000eafa00416dbb733dab24eb31070c98f59 /math/kcalc | |
parent | 8d12d710985f326c506207328523e28033b063a9 (diff) | |
download | pkgsrc-8f9f69fc6e162b41608fddb6a8956e68be553ed0.tar.gz |
kcalc: Avoid 'version' namespace issue.
Diffstat (limited to 'math/kcalc')
-rw-r--r-- | math/kcalc/distinfo | 3 | ||||
-rw-r--r-- | math/kcalc/patches/patch-kcalc.cpp | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/math/kcalc/distinfo b/math/kcalc/distinfo index 51e4474d10a..562b806f6f1 100644 --- a/math/kcalc/distinfo +++ b/math/kcalc/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.9 2015/11/03 23:33:35 agc Exp $ +$NetBSD: distinfo,v 1.10 2018/05/17 11:01:23 jperkin Exp $ SHA1 (kcalc-4.14.3.tar.xz) = 0990a35d1fe97b4d4157b6ce6d8e13d199934dad RMD160 (kcalc-4.14.3.tar.xz) = 81822b452042f23e85216ad3e662e797050e0592 SHA512 (kcalc-4.14.3.tar.xz) = ec8090b6bc8c78e7a63286c797e67617e4d9e335f6b29dce1dcbd41073465e6cf313d485f27f84a06d7cd04acc024051709b00f7be1dc8170e9531281d2deb16 Size (kcalc-4.14.3.tar.xz) = 81392 bytes SHA1 (patch-CMakeLists.txt) = 41012666b695fbaad04261cbf566d875d9f83ed8 +SHA1 (patch-kcalc.cpp) = a318b81b381454fcf1570450c41d6bb7b58cf685 SHA1 (patch-knumber_knumber_float.cpp) = 678e8d62df1a615f1117c58737da23a95d0e15a9 SHA1 (patch-knumber_tests_CMakeLists.txt) = 7d159f617903b778e65615cb73a81f40f1d262df diff --git a/math/kcalc/patches/patch-kcalc.cpp b/math/kcalc/patches/patch-kcalc.cpp new file mode 100644 index 00000000000..f2e6322bc5d --- /dev/null +++ b/math/kcalc/patches/patch-kcalc.cpp @@ -0,0 +1,24 @@ +$NetBSD: patch-kcalc.cpp,v 1.1 2018/05/17 11:01:23 jperkin Exp $ + +Avoid 'version' namespace issue. + +--- kcalc.cpp.orig 2014-07-17 13:35:22.000000000 +0000 ++++ kcalc.cpp +@@ -64,7 +64,7 @@ along with this program. If not, see <h + + namespace { + const char description[] = I18N_NOOP("KDE Calculator"); +-const char version[] = KCALCVERSION; ++const char myversion[] = KCALCVERSION; + const int maxprecision = 1000; + } + +@@ -2284,7 +2284,7 @@ extern "C" KDE_EXPORT int kdemain(int ar + KAboutData aboutData("kcalc", + 0, + ki18n("KCalc"), +- version, ++ myversion, + ki18n(description), + KAboutData::License_GPL, + ki18n( |