summaryrefslogtreecommitdiff
path: root/ham/7plus/patches/patch-af
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-04-07 18:45:04 +0000
committerhasso <hasso@pkgsrc.org>2009-04-07 18:45:04 +0000
commitcc61a0c793707ab855e606c879e6498f0e1cb968 (patch)
treefa3aedc3e832da567248249f755cd8ab426b0245 /ham/7plus/patches/patch-af
parentbeddaabfca8cc0e2ae63ca191c8ed6541f8e39c8 (diff)
downloadpkgsrc-cc61a0c793707ab855e606c879e6498f0e1cb968.tar.gz
Rename fls to cfls to avoid conflicts with fls function on FreeBSD and
DragonFly.
Diffstat (limited to 'ham/7plus/patches/patch-af')
-rw-r--r--ham/7plus/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/ham/7plus/patches/patch-af b/ham/7plus/patches/patch-af
new file mode 100644
index 00000000000..c34743aaab2
--- /dev/null
+++ b/ham/7plus/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2009/04/07 18:45:04 hasso Exp $
+
+--- decode.c.orig 2009-04-06 11:38:47 +0300
++++ decode.c 2009-04-06 11:38:57 +0300
+@@ -44,7 +44,7 @@ int control_decode (char *name)
+
+ /* write 7plus.fls (for server use) */
+ sprintf (filename, "%s"_7PLUS_FLS, genpath);
+- if (!i && fls)
++ if (!i && cfls)
+ {
+ if ((out = fopen (filename, OPEN_WRITE_TEXT)) == NULLFP)
+ return (14);