aboutsummaryrefslogtreecommitdiff
path: root/misc/asbutton/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2007-05-26 20:39:02 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2007-05-26 20:39:02 +0000
commitd5f9a73cc03d65fe6c1674778c9c1301d9cf31d7 (patch)
tree5fb9798560eb154afcbe7c5c5bf471e58d77f932 /misc/asbutton/files
parentadd90dd319be1d4e500d5a1fc89f648ef45d6af8 (diff)
downloadports-d5f9a73cc03d65fe6c1674778c9c1301d9cf31d7.tar.gz
ports-d5f9a73cc03d65fe6c1674778c9c1301d9cf31d7.zip
Notes
Diffstat (limited to 'misc/asbutton/files')
-rw-r--r--misc/asbutton/files/patch-asbutton.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/asbutton/files/patch-asbutton.c b/misc/asbutton/files/patch-asbutton.c
new file mode 100644
index 000000000000..caeeb866c5c9
--- /dev/null
+++ b/misc/asbutton/files/patch-asbutton.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- asbutton.c.orig
++++ asbutton.c
+@@ -605,7 +605,7 @@
+ continue;
+ }
+ if ( !strncasecmp(line, "button", 6))
+- if (atoi(&(char)line[6]) == position)
++ if (atoi((char)line[6]) == position)
+ break;
+ }
+ } while (1);