summaryrefslogtreecommitdiff
path: root/ham/linpsk/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'ham/linpsk/patches/patch-af')
-rw-r--r--ham/linpsk/patches/patch-af24
1 files changed, 24 insertions, 0 deletions
diff --git a/ham/linpsk/patches/patch-af b/ham/linpsk/patches/patch-af
new file mode 100644
index 00000000000..9976f57e772
--- /dev/null
+++ b/ham/linpsk/patches/patch-af
@@ -0,0 +1,24 @@
+$NetBSD: patch-af,v 1.1 2005/03/16 15:32:12 rillig Exp $
+
+Needed for g++-2.95.3.
+
+--- src/linpsk.cpp.orig Fri Jul 23 16:41:47 2004
++++ src/linpsk.cpp Wed Mar 16 03:01:04 2005
+@@ -44,6 +44,8 @@
+
+ #include <vector>
+
++#include <pkgsrc_fixes.h>
++
+ #include "controlpanel.h"
+ #include "crxdisplay.h"
+ #include "ctxdisplay.h"
+@@ -421,7 +423,7 @@ if ( Channel->exec() != 0)
+ (Mode) Channel->RxMode->currentItem(),
+ Channel->TitleText->text());
+
+- settings.ActChannel->setWindowColor(WindowColors.at(settings.RxChannels));
++ settings.ActChannel->setWindowColor(at_replacement(WindowColors,settings.RxChannels));
+ settings.RxChannels++;
+ RxDisplay->RxFreq->setAFCWide(settings.ActChannel->getAFCWide());
+