diff options
Diffstat (limited to 'lang/mpd/patches/patch-bc')
-rw-r--r-- | lang/mpd/patches/patch-bc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/mpd/patches/patch-bc b/lang/mpd/patches/patch-bc new file mode 100644 index 00000000000..819cb6d4252 --- /dev/null +++ b/lang/mpd/patches/patch-bc @@ -0,0 +1,13 @@ +$NetBSD: patch-bc,v 1.1 2005/10/17 19:45:18 is Exp $ + +--- rts/scan.c.orig 2003-11-21 21:00:01.000000000 +0100 ++++ rts/scan.c +@@ -7,7 +7,7 @@ + static int scanToken (), scanInteger (), scanReal (), scanPointer (); + static int scanTokenFromSet (); + +-#define BACKCH(c,f,S,s) (S ? ((s>DATA (S)) ? (s)-- : 0) : (char*)ungetc (c, f)) ++#define BACKCH(c,f,S,s) (S ? ((s>DATA (S)) ? (s)--,0 : 0) : ungetc (c, f)) + #define NEXTCH(l,f,S,s) (S ? ((*s=='\0') ? EOF : * (Char*)(s)++) : INCH (l, f)) + + #define SCAN_LEN 50 |