svn commit: r352025 - head/lang/t3x/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Apr 24 17:24:54 UTC 2014


Author: amdmi3
Date: Thu Apr 24 17:24:53 2014
New Revision: 352025
URL: http://svnweb.freebsd.org/changeset/ports/352025
QAT: https://qat.redports.org/buildarchive/r352025/

Log:
  - Fix build w/clang
  
  MFH:		2014Q2

Added:
  head/lang/t3x/files/
  head/lang/t3x/files/patch-ports__Common-unix__tty.c   (contents, props changed)

Added: head/lang/t3x/files/patch-ports__Common-unix__tty.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/t3x/files/patch-ports__Common-unix__tty.c	Thu Apr 24 17:24:53 2014	(r352025)
@@ -0,0 +1,19 @@
+--- ports/Common-unix/tty.c.orig	2004-02-22 01:18:15.000000000 +0300
++++ ports/Common-unix/tty.c	2014-04-24 21:18:57.390972992 +0400
+@@ -258,7 +258,7 @@
+ 	int	f, b, h;
+ 	char	buf[40];
+ 
+-	if (tty_attr == c) return;
++	if (tty_attr == c) return 0;
+ 	tty_attr = c;
+ 	f = ctab[c & 7];
+ 	b = ctab[(c>>4) & 7];
+@@ -283,6 +283,7 @@
+ 			tty_soflag = (b>f);
+ 		}
+ 	}
++	return 0;
+ }
+ 
+ XCELL ttyctl_color S1(XCELL c) {


More information about the svn-ports-all mailing list