diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-04-25 01:24:53 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-04-25 01:24:53 +0800 |
commit | 4b7151ab2dc64739f1ee6ee929dda3f8b4373e6d (patch) | |
tree | 324ce98a62f7650074e599881c39f3175ca44b76 /lang | |
parent | 0b80158d14f20d3fd42bdde0e1af9ee26f26e7c0 (diff) | |
download | freebsd-ports-gnome-4b7151ab2dc64739f1ee6ee929dda3f8b4373e6d.tar.gz freebsd-ports-gnome-4b7151ab2dc64739f1ee6ee929dda3f8b4373e6d.tar.zst freebsd-ports-gnome-4b7151ab2dc64739f1ee6ee929dda3f8b4373e6d.zip |
- Fix build w/clang
MFH: 2014Q2
Diffstat (limited to 'lang')
-rw-r--r-- | lang/t3x/files/patch-ports__Common-unix__tty.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/t3x/files/patch-ports__Common-unix__tty.c b/lang/t3x/files/patch-ports__Common-unix__tty.c new file mode 100644 index 000000000000..d83c798e394a --- /dev/null +++ b/lang/t3x/files/patch-ports__Common-unix__tty.c @@ -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) { |