pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/klayout Add missing includes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c38bedb0254c
branches:  trunk
changeset: 358564:c38bedb0254c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 14 21:33:07 2017 +0000

description:
Add missing includes.

diffstat:

 cad/klayout/distinfo                            |   5 +++--
 cad/klayout/patches/patch-src_layApplication.cc |  16 ++++++++++++----
 cad/klayout/patches/patch-src_tlStream.cc       |  12 ++++++++++++
 3 files changed, 27 insertions(+), 6 deletions(-)

diffs (59 lines):

diff -r 7014bf28941e -r c38bedb0254c cad/klayout/distinfo
--- a/cad/klayout/distinfo      Tue Feb 14 21:32:40 2017 +0000
+++ b/cad/klayout/distinfo      Tue Feb 14 21:33:07 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2017/01/01 09:15:00 mef Exp $
+$NetBSD: distinfo,v 1.7 2017/02/14 21:33:07 joerg Exp $
 
 SHA1 (klayout-0.24.9.tar.gz) = 0a740da3d43d13b155167b470869dbf64368bc7b
 RMD160 (klayout-0.24.9.tar.gz) = b694adb820371ac28b0a9b76b3372d6626a2682c
@@ -8,4 +8,5 @@
 SHA1 (patch-config_Makefile_conf_freebsd-32-gcc-release) = 8ee1a6f42465ef650fbd26ec6dcdea4db249d018
 SHA1 (patch-config_Makefile_conf_netbsd-32-gcc-release) = 1fd264f8a25d4410cd48fcfbbbfbf149e65e3b22
 SHA1 (patch-src_Makefile.rules) = ca98445d7e3823cc0b9c2114f0d4c6214ad59e5c
-SHA1 (patch-src_layApplication.cc) = d3f115836e75a76ab2322048d8698c0dcd6c7492
+SHA1 (patch-src_layApplication.cc) = 7d0d3ec81e924ad1aec8a22c6a594148ac58107a
+SHA1 (patch-src_tlStream.cc) = 6c47f01b6b82cf8fb4f3995033ba8681d17e0d35
diff -r 7014bf28941e -r c38bedb0254c cad/klayout/patches/patch-src_layApplication.cc
--- a/cad/klayout/patches/patch-src_layApplication.cc   Tue Feb 14 21:32:40 2017 +0000
+++ b/cad/klayout/patches/patch-src_layApplication.cc   Tue Feb 14 21:33:07 2017 +0000
@@ -1,11 +1,19 @@
-$NetBSD: patch-src_layApplication.cc,v 1.1 2016/03/15 15:15:59 mef Exp $
+$NetBSD: patch-src_layApplication.cc,v 1.2 2017/02/14 21:33:08 joerg Exp $
 
 To avoid following message
 error: 'struct sigaction' has no member named 'sa_restorer'
 
---- src/layApplication.cc.orig 2016-02-27 07:20:30.000000000 +0900
-+++ src/layApplication.cc      2016-03-08 23:52:13.000000000 +0900
-@@ -349,7 +349,7 @@ static void install_signal_handlers ()
+--- src/layApplication.cc.orig 2016-11-27 22:52:20.000000000 +0000
++++ src/layApplication.cc
+@@ -69,6 +69,7 @@
+ #  include <execinfo.h>
+ #endif
+ 
++#include <unistd.h>
+ #include <iostream>
+ #include <memory>
+ #include <algorithm>
+@@ -350,7 +351,7 @@ static void install_signal_handlers ()
    act.sa_sigaction = signal_handler;
    sigemptyset (&act.sa_mask);
    act.sa_flags = SA_SIGINFO;
diff -r 7014bf28941e -r c38bedb0254c cad/klayout/patches/patch-src_tlStream.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/klayout/patches/patch-src_tlStream.cc Tue Feb 14 21:33:07 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_tlStream.cc,v 1.1 2017/02/14 21:33:08 joerg Exp $
+
+--- src/tlStream.cc.orig       2017-02-09 18:57:16.170616732 +0000
++++ src/tlStream.cc
+@@ -28,6 +28,7 @@
+ #include <sys/stat.h>
+ #include <stdio.h>
+ #include <errno.h>
++#include <unistd.h>
+ #ifdef _WIN32 
+ #  include <io.h>
+ #endif



Home | Main Index | Thread Index | Old Index