ports/sysutils/dfc/files/patch-src__util.c
Baptiste Daroussin 404ade345a Use hack to unsetenv SunOS 3.2 TTY compatibility
as this broke the build on 7.x which still have it.

Submitted by:	pluknet@ (via private mail)
2012-07-24 11:33:20 +00:00

13 lines
286 B
C

--- src/util.c.orig 2012-07-24 13:34:08.000000000 +0400
+++ src/util.c 2012-07-24 13:34:29.000000000 +0400
@@ -48,6 +48,10 @@
#include <libintl.h>
#endif
+#ifdef TIOCGSIZE
+#undef TIOCGSIZE
+#endif
+
/*
* Return the longest of the two parameters
* @a: first element to compare