summaryrefslogtreecommitdiff
path: root/comms/xlog/files/patch-ac
diff options
context:
space:
mode:
authorPatrick S. Gardella <patrick@FreeBSD.org>2002-11-05 19:14:30 +0000
committerPatrick S. Gardella <patrick@FreeBSD.org>2002-11-05 19:14:30 +0000
commit8eecc07db54f3714de68a37a4cc3d2eaa5d54e8e (patch)
treecc4c4f6556294d7eff52ec4e0c800fe4d9911bed /comms/xlog/files/patch-ac
parentMark 2 targets as .PHONY in main Makefile. Fixes 2 PRs that both complain (diff)
Create port for xlog, an amateur radio logging app
Notes
Notes: svn path=/head/; revision=69535
Diffstat (limited to 'comms/xlog/files/patch-ac')
-rw-r--r--comms/xlog/files/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/xlog/files/patch-ac b/comms/xlog/files/patch-ac
new file mode 100644
index 000000000000..e85d597356db
--- /dev/null
+++ b/comms/xlog/files/patch-ac
@@ -0,0 +1,20 @@
+--- src/utils.c.orig Tue Nov 5 11:22:20 2002
++++ src/utils.c Tue Nov 5 11:23:06 2002
+@@ -284,7 +284,7 @@
+
+ str = g_new0(gchar, 100);
+
+- fr = atoll(arg);
++ fr = strtoll(arg, (char **)NULL, 10);
+
+ if (fr > 1325) /* no dot */
+ {
+@@ -295,7 +295,7 @@
+ str[strlen(str) - 6] = '\0';
+ else if (strlen(str) > 3)
+ str[strlen(str) - 3] = '\0';
+- fr = atoll(str);
++ fr = strtoll(str, (char **)NULL, 10);
+ }
+
+ switch (fr)