1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/graphics/graphviz/files/patch-ae
Thomas Gellekum eb2098c655 Upgrade to 1.4.
PR:		12423
1999-06-28 13:23:38 +00:00

15 lines
334 B
Plaintext

--- src/cmd/lefty/lefty.c.orig Mon Mar 24 18:01:54 1997
+++ src/cmd/lefty/lefty.c Tue Jan 27 20:25:04 1998
@@ -29,7 +29,11 @@
#ifdef GNU
#define canread(fp) ((fp)->_IO_read_end > (fp)->_IO_read_ptr)
#else
+#ifdef __FreeBSD__
+#define canread(fp) ((fp)->_r >0)
+#else
#define canread(fp) ((fp)->_cnt > 0)
+#endif
#endif
#endif