diff options
author | joerg <joerg@pkgsrc.org> | 2013-08-31 14:48:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-08-31 14:48:07 +0000 |
commit | 7728f106e00c1c08007d8209835f547cfbd9815b (patch) | |
tree | 5437eefd1d2a6fe29bd4334be70a7635a70fc71c /emulators/gpsim | |
parent | b7f74c8a33df699b710309cacba5bf7ea316424a (diff) | |
download | pkgsrc-7728f106e00c1c08007d8209835f547cfbd9815b.tar.gz |
Don't add default arguments during implementation. Add missing const.
Diffstat (limited to 'emulators/gpsim')
-rw-r--r-- | emulators/gpsim/distinfo | 4 | ||||
-rw-r--r-- | emulators/gpsim/patches/patch-modules_stimuli.cc | 13 | ||||
-rw-r--r-- | emulators/gpsim/patches/patch-modules_stimuli.h | 17 |
3 files changed, 33 insertions, 1 deletions
diff --git a/emulators/gpsim/distinfo b/emulators/gpsim/distinfo index d0f819adb46..5fe69ac082c 100644 --- a/emulators/gpsim/distinfo +++ b/emulators/gpsim/distinfo @@ -1,9 +1,11 @@ -$NetBSD: distinfo,v 1.15 2013/06/14 20:29:38 dholland Exp $ +$NetBSD: distinfo,v 1.16 2013/08/31 14:48:07 joerg Exp $ SHA1 (gpsim-0.26.1.tar.gz) = 7e1c3cc5a821b3458717a94a09bc484bf6937b25 RMD160 (gpsim-0.26.1.tar.gz) = 487de6a2508de2d51843a9ed684801778e4fe69a Size (gpsim-0.26.1.tar.gz) = 2350841 bytes SHA1 (patch-cli_cmd__list.cc) = 73dd63cfb069ab42a059686d3b6618172b967be5 +SHA1 (patch-modules_stimuli.cc) = 90184893804de21638465a800d00ec45095e0d6c +SHA1 (patch-modules_stimuli.h) = 4611f338c92c19762aea866ce2fea5407955c45f SHA1 (patch-modules_switch.cc) = 92c49f422a74aa4e3f68164be4b76d727599436e SHA1 (patch-src_bitlog_h) = 5edc59be9ccb3a83f81c1b13b965b2c075d9fc4e SHA1 (patch-src_processor.cc) = 34e098666a919b61bd0132ddf3176fd34f74c6d0 diff --git a/emulators/gpsim/patches/patch-modules_stimuli.cc b/emulators/gpsim/patches/patch-modules_stimuli.cc new file mode 100644 index 00000000000..31dd56b67c1 --- /dev/null +++ b/emulators/gpsim/patches/patch-modules_stimuli.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-modules_stimuli.cc,v 1.1 2013/08/31 14:48:07 joerg Exp $ + +--- modules/stimuli.cc.orig 2013-08-31 11:41:30.000000000 +0000 ++++ modules/stimuli.cc +@@ -216,7 +216,7 @@ namespace ExtendedStimuli { + //---------------------------------------------------------------------- + //---------------------------------------------------------------------- + +- PulseGen::PulseGen(const char *_name=0) ++ PulseGen::PulseGen(const char *_name) + : StimulusBase(_name, "\ + Pulse Generator\n\ + Attributes:\n\ diff --git a/emulators/gpsim/patches/patch-modules_stimuli.h b/emulators/gpsim/patches/patch-modules_stimuli.h new file mode 100644 index 00000000000..b7771765476 --- /dev/null +++ b/emulators/gpsim/patches/patch-modules_stimuli.h @@ -0,0 +1,17 @@ +$NetBSD: patch-modules_stimuli.h,v 1.1 2013/08/31 14:48:07 joerg Exp $ + +--- modules/stimuli.h.orig 2013-08-31 11:42:40.000000000 +0000 ++++ modules/stimuli.h +@@ -48,10 +48,10 @@ namespace ExtendedStimuli { + gint64 time; + Value *v; + +- inline bool operator < (ValueStimulusData &rValue) { ++ inline bool operator < (const ValueStimulusData &rValue) const { + return time < rValue.time; + } +- inline bool operator == (ValueStimulusData rValue) { ++ inline bool operator == (const ValueStimulusData rValue) const { + return time == rValue.time; + } + }; |