diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-03 18:06:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-03 18:06:38 +0000 |
commit | b5f93e118075f1655da9b1cd515364fcfc4371ce (patch) | |
tree | 1eee5fc96df15d63aacb433f875e181bfe4cb456 /ham | |
parent | f61a6f99b2d94870080181351b4d1eb4b1b2819d (diff) | |
download | pkgsrc-b5f93e118075f1655da9b1cd515364fcfc4371ce.tar.gz |
Don't take the address of temporary objects.
Diffstat (limited to 'ham')
-rw-r--r-- | ham/linpsk/distinfo | 4 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-af | 18 |
2 files changed, 16 insertions, 6 deletions
diff --git a/ham/linpsk/distinfo b/ham/linpsk/distinfo index 47933b9bb6e..f97f0299356 100644 --- a/ham/linpsk/distinfo +++ b/ham/linpsk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2011/12/14 18:28:59 marino Exp $ +$NetBSD: distinfo,v 1.8 2012/07/03 18:06:38 joerg Exp $ SHA1 (linpsk-0.8.1.tar.gz) = d55d8c793ecd3a4395603ebdd8e795f1dc4d20f9 RMD160 (linpsk-0.8.1.tar.gz) = 975bbdfc0b63e516f1d5fdfe6baf10fa12899219 @@ -7,6 +7,6 @@ SHA1 (patch-aa) = 7b0f37ecca00fc87badb99036ea66ce47c6b0bd5 SHA1 (patch-ab) = 0cc21222e30d9122657e5c373b19af15c39eb883 SHA1 (patch-ac) = 5be307963474f6879490185b47bed6e50dd51ffe SHA1 (patch-ad) = d9a62afada11b17730e4457e73fef7e21b8bee62 -SHA1 (patch-af) = b7800c5111a2d85d60ab64b69687e2da8e03ab88 +SHA1 (patch-af) = 785bf818f14b1e733321a8e6cc0f998883cffe4a SHA1 (patch-ag) = 490d53c18ec1cb3961e7d49ec8f551c386bcec6a SHA1 (patch-ai) = 192112a67a4ad8d70d4f71fbb1390a1fb26d7496 diff --git a/ham/linpsk/patches/patch-af b/ham/linpsk/patches/patch-af index c0362c49cf3..f4de123b421 100644 --- a/ham/linpsk/patches/patch-af +++ b/ham/linpsk/patches/patch-af @@ -1,7 +1,7 @@ -$NetBSD: patch-af,v 1.2 2005/08/15 14:03:53 wulf Exp $ +$NetBSD: patch-af,v 1.3 2012/07/03 18:06:38 joerg Exp $ ---- src/linpsk.cpp.orig 2005-03-12 03:51:20.000000000 +1030 -+++ src/linpsk.cpp 2005-08-15 07:14:45.000000000 +0930 +--- src/linpsk.cpp.orig 2005-03-11 17:21:20.000000000 +0000 ++++ src/linpsk.cpp @@ -44,6 +44,8 @@ #include <vector> @@ -11,7 +11,7 @@ $NetBSD: patch-af,v 1.2 2005/08/15 14:03:53 wulf Exp $ #include "controlpanel.h" #include "crxdisplay.h" #include "ctxdisplay.h" -@@ -416,7 +418,7 @@ +@@ -416,7 +418,7 @@ if ( Channel->exec() != 0) rxmode, Channel->TitleText->text()); @@ -20,3 +20,13 @@ $NetBSD: patch-af,v 1.2 2005/08/15 14:03:53 wulf Exp $ settings.RxChannels++; RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties()); } +@@ -781,7 +783,8 @@ if (Param != 0) + RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties()); + RxDisplay->RxFreq->setAfcMode(settings.ActChannel->getAfcMode()); + Control->Display->setPhasePointer(settings.ActChannel->getPhasePointer()); +- settings.ActChannel->setParameter(Extra,&Menu.getParameter()); ++ ExtraParameter p(Menu.getParameter()); ++ settings.ActChannel->setParameter(Extra,&p); + } + if (settings.ActChannel != 0 ) + switch(settings.ActChannel->getModulationType() ) |