summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-07-10 17:08:53 +0000
committerkristerw <kristerw@pkgsrc.org>2004-07-10 17:08:53 +0000
commitcff86f8bd71854219563f56f40a36c4c014e08fc (patch)
tree63ad79e017d9e6ee39b07463bbf9123b17a0a0d4 /ham/yaesu/patches
parentb0a77407f3e0f0e20bb1b85cba15a263d378c0fb (diff)
downloadpkgsrc-cff86f8bd71854219563f56f40a36c4c014e08fc.tar.gz
Fix multi-line strings, to make this build when using gcc3.
Diffstat (limited to 'ham/yaesu/patches')
-rw-r--r--ham/yaesu/patches/patch-ad41
-rw-r--r--ham/yaesu/patches/patch-ae15
2 files changed, 53 insertions, 3 deletions
diff --git a/ham/yaesu/patches/patch-ad b/ham/yaesu/patches/patch-ad
index 33e72b209ff..7fa88e526ce 100644
--- a/ham/yaesu/patches/patch-ad
+++ b/ham/yaesu/patches/patch-ad
@@ -1,10 +1,10 @@
-$NetBSD: patch-ad,v 1.5 2002/06/15 21:57:54 dmcmahill Exp $
+$NetBSD: patch-ad,v 1.6 2004/07/10 17:08:53 kristerw Exp $
the addition of the -p flag is required for non-PC machines which
might use a different serial device.
---- main.c.orig Sat Nov 4 17:48:33 1995
-+++ main.c
+--- main.c.orig 1995-11-04 23:48:33.000000000 +0100
++++ main.c 2004-07-10 19:01:57.000000000 +0200
@@ -5,7 +5,6 @@
#include <stdlib.h>
#include <termios.h>
@@ -67,3 +67,38 @@ might use a different serial device.
} else {
printf("usage: yaesu [port #]\n");
exit(3);
+@@ -139,20 +147,20 @@
+
+ bye_msg() {
+
+-printf("\n
+-Thank you for using KG0CQ's 'yaesu' program, this is version .1lx.
+-You may use this program for as long as you like, it will always
+-be free to use, no matter what version. You may distribute this
+-program freely so long as it distributed in and with the original
+-zipfile or tar file. Please do not distribute modifed versions.
+-A nice Windows version, DOS console version, Linux console, and
+-Linux X version should be on their way in the coming months.
+-If you wish to support the author's efforts just say thanks via
+-email or packet!
+-
+- email: drranu@holly.ColoState.EDU
+- packet: KG0CQ@KF0UW.#NECO.USA.NOAM
+-
++printf("\n\n\
++Thank you for using KG0CQ's 'yaesu' program, this is version .1lx.\n\
++You may use this program for as long as you like, it will always \n\
++be free to use, no matter what version. You may distribute this \n\
++program freely so long as it distributed in and with the original \n\
++zipfile or tar file. Please do not distribute modifed versions. \n\
++A nice Windows version, DOS console version, Linux console, and \n\
++Linux X version should be on their way in the coming months. \n\
++If you wish to support the author's efforts just say thanks via\n\
++email or packet!\n\
++\n\
++ email: drranu@holly.ColoState.EDU\n\
++ packet: KG0CQ@KF0UW.#NECO.USA.NOAM\n\
++\n\
+ Having fun hamming, hope to catch you on the air!!!\n\n");
+
+ }
diff --git a/ham/yaesu/patches/patch-ae b/ham/yaesu/patches/patch-ae
new file mode 100644
index 00000000000..c90fbb18a10
--- /dev/null
+++ b/ham/yaesu/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2004/07/10 17:08:53 kristerw Exp $
+
+--- meter_rd.c.orig 2004-07-10 19:02:27.000000000 +0200
++++ meter_rd.c 2004-07-10 19:04:31.000000000 +0200
+@@ -33,8 +33,8 @@
+ n = n +1;
+ }
+ if (meter_value[5] != 0x0f7) {
+- printf("The dummy byte returned to the meter_rd function is incorrect, possible
+- serial port noise?\n");
++ printf("The dummy byte returned to the meter_rd function is incorrect, possible "
++ "serial port noise?\n");
+ } else {
+ printf("\nCurrent meter value is %x. Range is 0..0ffh.\n", meter_value[3]);
+ }