pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ninja-build Fix build on SunOS (needs sys/termio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54c6bcf6cd8a
branches:  trunk
changeset: 639542:54c6bcf6cd8a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 16 08:44:25 2014 +0000

description:
Fix build on SunOS (needs sys/termios.h).

diffstat:

 devel/ninja-build/distinfo                           |   3 ++-
 devel/ninja-build/patches/patch-src_line__printer.cc |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 2993c74c379c -r 54c6bcf6cd8a devel/ninja-build/distinfo
--- a/devel/ninja-build/distinfo        Mon Sep 15 21:54:25 2014 +0000
+++ b/devel/ninja-build/distinfo        Tue Sep 16 08:44:25 2014 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2014/09/08 09:41:08 obache Exp $
+$NetBSD: distinfo,v 1.4 2014/09/16 08:44:25 jperkin Exp $
 
 SHA1 (ninja-1.5.1.tar.gz) = c5a3af39f6d7ee3a30263f34091c046964d442f0
 RMD160 (ninja-1.5.1.tar.gz) = c2bbb37038925a34f0f62bab4893441290b26783
 Size (ninja-1.5.1.tar.gz) = 163437 bytes
 SHA1 (patch-bootstrap.py) = 20448a3a7e96f7ddeec72182d64e237cabc017ab
 SHA1 (patch-platform__helper.py) = 62b7db93bc16fc7862da9fb2c25d507d6630ec95
+SHA1 (patch-src_line__printer.cc) = 648b694ed25baa3fe0805bf4162f3deba67d3920
diff -r 2993c74c379c -r 54c6bcf6cd8a devel/ninja-build/patches/patch-src_line__printer.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ninja-build/patches/patch-src_line__printer.cc      Tue Sep 16 08:44:25 2014 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_line__printer.cc,v 1.1 2014/09/16 08:44:25 jperkin Exp $
+
+SunOS needs sys/termios.h
+
+--- src/line_printer.cc.orig   2014-06-27 23:37:05.000000000 +0000
++++ src/line_printer.cc
+@@ -21,6 +21,9 @@
+ #else
+ #include <unistd.h>
+ #include <sys/ioctl.h>
++#ifdef __sun
++#include <sys/termios.h>
++#endif
+ #include <sys/time.h>
+ #endif
+ 



Home | Main Index | Thread Index | Old Index