=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for kicad-4.0.4.tar.xz => Checksum RMD160 OK for kicad-4.0.4.tar.xz => Checksum SHA512 OK for kicad-4.0.4.tar.xz ===> Installing dependencies for kicad-4.0.4nb9 ========================================================================== The following variables will affect the build process of this package, kicad-4.0.4nb9. Their current value is shown below: * JPEG_DEFAULT = jpeg Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.54.2 => Tool dependency cmake>=2.8.1nb1: found cmake-3.10.1nb1 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency swig>=1.3.31<2.0: found swig-1.3.38nb1 => Build dependency boost-headers-1.66.*: found boost-headers-1.66.0 => Build dependency cmake>=2.8.5nb1: found cmake-3.10.1nb1 => Build dependency dri2proto>=2.1: found dri2proto-2.8 => Build dependency dri3proto>=1.0: found dri3proto-1.0 => Build dependency xproto>=7.0.13: found xproto-7.0.31 => Build dependency presentproto>=1.0: found presentproto-1.1 => Build dependency glproto>=1.4.11: found glproto-1.4.17 => Build dependency damageproto>=1.1.0: found damageproto-1.2.1 => Build dependency fixesproto>=4.0.0: found fixesproto-5.0 => Build dependency xextproto>=7.0.99.1: found xextproto-7.3.0 => Build dependency inputproto>=2.3: found inputproto-2.3.2 => Build dependency kbproto>=1.0.2: found kbproto-1.0.7 => Build dependency xcb-proto>=1.4: found xcb-proto-1.12 => Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1 => Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1nb1 => Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1 => Build dependency randrproto>=1.4: found randrproto-1.5.0 => Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1 => Build dependency compositeproto>=0.3.1: found compositeproto-0.4.2 => Build dependency cwrappers>=20150314: found cwrappers-20171108 => Full dependency boost-libs-1.66.*: found boost-libs-1.66.0 => Full dependency boost-libs>=1.66.0: found boost-libs-1.66.0 => Full dependency MesaLib>=10.5.3: found MesaLib-11.2.2nb6 => Full dependency glu>=7.11.2: found glu-9.0.0nb2 => Full dependency glut>=7.11.2: found glut-8.0.1nb2 => Full dependency glew>=1.11.0nb1: found glew-1.13.0 => Full dependency cairo>=1.14.2nb1: found cairo-1.14.10nb1 => Full dependency wxGTK30>=3.0.2nb10: found wxGTK30-3.0.3.1 => Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.23 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17 ===> Overriding tools for kicad-4.0.4nb9 ===> Extracting for kicad-4.0.4nb9 ===> Patching for kicad-4.0.4nb9 => Applying pkgsrc patches for kicad-4.0.4nb9 => Verifying /data/pkgsrc/cad/kicad/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.3 2016/09/08 09:32:28 bouyer Exp $ | |Don't use ${CMAKE_MODULE_PATH} directly as it will be changed |and containt multiple directories | |--- CMakeLists.txt.orig 2016-09-03 22:47:43.000000000 +0200 |+++ CMakeLists.txt 2016-09-07 18:46:48.000000000 +0200 -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 826. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-CMakeModules_Functions.cmake => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-CMakeModules_Functions.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeModules_Functions.cmake,v 1.3 2016/09/08 09:32:28 bouyer Exp $ | |Don't use ${CMAKE_MODULE_PATH} directly as it will be changed |and containt multiple directories | |--- CMakeModules/Functions.cmake.orig 2016-09-03 22:47:43.000000000 +0200 |+++ CMakeModules/Functions.cmake 2016-09-07 18:48:08.000000000 +0200 -------------------------- Patching file CMakeModules/Functions.cmake using Plan A... Hunk #1 succeeded at 36. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-CMakeModules_WriteVersionHeader.cmake => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-CMakeModules_WriteVersionHeader.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeModules_WriteVersionHeader.cmake,v 1.2 2016/09/08 09:32:28 bouyer Exp $ | |Don't use ${CMAKE_MODULE_PATH} directly as it will be changed |and containt multiple directories | |--- CMakeModules/WriteVersionHeader.cmake.orig 2015-12-14 20:13:21.000000000 +0100 |+++ CMakeModules/WriteVersionHeader.cmake 2015-12-14 20:14:58.000000000 +0100 -------------------------- Patching file CMakeModules/WriteVersionHeader.cmake using Plan A... Hunk #1 succeeded at 32. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-CMakeModules_config.h.cmake => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-CMakeModules_config.h.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeModules_config.h.cmake,v 1.3 2016/09/08 09:32:28 bouyer Exp $ | |Fix compile problem due to ciso646. | |--- ./CMakeModules/config.h.cmake.orig 2015-11-29 20:57:27.000000000 +0100 |+++ ./CMakeModules/config.h.cmake 2015-12-11 17:46:32.000000000 +0100 -------------------------- Patching file ./CMakeModules/config.h.cmake using Plan A... Hunk #1 succeeded at 36. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-bitmaps_png_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-bitmaps_png_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-bitmaps_png_CMakeLists.txt,v 1.3 2016/09/08 09:32:28 bouyer Exp $ | |Don't use ${CMAKE_MODULE_PATH} directly as it will be changed |and containt multiple directories | |--- bitmaps_png/CMakeLists.txt.orig 2015-12-14 20:13:21.000000000 +0100 |+++ bitmaps_png/CMakeLists.txt 2015-12-14 20:14:25.000000000 +0100 -------------------------- Patching file bitmaps_png/CMakeLists.txt using Plan A... Hunk #1 succeeded at 636. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-common_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-common_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-common_CMakeLists.txt,v 1.2 2016/09/08 09:32:28 bouyer Exp $ | |Don't use ${CMAKE_MODULE_PATH} directly as it will be changed |and containt multiple directories | |--- common/CMakeLists.txt.orig 2015-12-14 20:13:21.000000000 +0100 |+++ common/CMakeLists.txt 2015-12-14 20:16:14.000000000 +0100 -------------------------- Patching file common/CMakeLists.txt using Plan A... Hunk #1 succeeded at 17. Hunk #2 succeeded at 127. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-common_richio.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-common_richio.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-common_richio.cpp,v 1.3 2016/09/08 09:32:28 bouyer Exp $ | |Fix non-portable use of setvbuf() |Reported upstream as bug id 1280897 | |--- common/richio.cpp.orig 2015-12-11 17:40:20.000000000 +0100 |+++ common/richio.cpp 2015-12-11 17:39:05.000000000 +0100 -------------------------- Patching file common/richio.cpp using Plan A... Hunk #1 succeeded at 209 (offset -6 lines). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-common_tool_tool_manager.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-common_tool_tool_manager.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-common_tool_tool_manager.cpp,v 1.1 2016/09/08 09:32:28 bouyer Exp $ |Fix for newer boost, from upstream developement branch | |--- common/tool/tool_manager.cpp.orig 2016-09-03 22:47:46.000000000 +0200 |+++ common/tool/tool_manager.cpp 2016-09-07 19:03:09.000000000 +0200 -------------------------- Patching file common/tool/tool_manager.cpp using Plan A... Hunk #1 succeeded at 542. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-cvpcb_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-cvpcb_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cvpcb_CMakeLists.txt,v 1.2 2016/09/08 09:32:28 bouyer Exp $ | |Force proper LDFLAGS for MODULE, as cmake doens't set rpath for theses | |--- cvpcb/CMakeLists.txt.orig 2015-12-16 14:47:20.000000000 +0100 |+++ cvpcb/CMakeLists.txt 2015-12-16 14:49:49.000000000 +0100 -------------------------- Patching file cvpcb/CMakeLists.txt using Plan A... Hunk #1 succeeded at 175 (offset 2 lines). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-eeschema_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-eeschema_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-eeschema_CMakeLists.txt,v 1.2 2016/09/08 09:32:28 bouyer Exp $ | |Don't use ${CMAKE_MODULE_PATH} directly as it will be changed |and containt multiple directories | |Force proper LDFLAGS for MODULE, as cmake doens't set rpath for theses | |--- eeschema/CMakeLists.txt.orig 2015-12-09 17:21:54.000000000 +0100 |+++ eeschema/CMakeLists.txt 2015-12-16 14:50:58.000000000 +0100 -------------------------- Patching file eeschema/CMakeLists.txt using Plan A... Hunk #1 succeeded at 202 (offset 3 lines). Hunk #2 succeeded at 279 (offset 1 line). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-eeschema_sch_component.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-eeschema_sch_component.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-eeschema_sch_component.cpp,v 1.4 2016/09/21 13:16:07 bouyer Exp $ |64bit time_t fix |Reported upstream as bug id 1280901 | |--- eeschema/sch_component.cpp.orig 2015-12-11 17:52:09.000000000 +0100 |+++ eeschema/sch_component.cpp 2015-12-11 17:52:12.000000000 +0100 -------------------------- Patching file eeschema/sch_component.cpp using Plan A... Hunk #1 succeeded at 1240. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-eeschema_sch_sheet.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-eeschema_sch_sheet.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-eeschema_sch_sheet.cpp,v 1.3 2016/09/08 09:32:28 bouyer Exp $ |64bit time_t fix |Reported upstream as bug id 1280901 | |--- eeschema/sch_sheet.cpp.orig 2015-12-11 17:53:27.000000000 +0100 |+++ eeschema/sch_sheet.cpp 2015-12-11 17:54:26.000000000 +0100 -------------------------- Patching file eeschema/sch_sheet.cpp using Plan A... Hunk #1 succeeded at 219. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-gerbview_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-gerbview_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-gerbview_CMakeLists.txt,v 1.2 2016/09/08 09:32:28 bouyer Exp $ | |Force proper LDFLAGS for MODULE, as cmake doens't set rpath for theses | |--- gerbview/CMakeLists.txt.orig 2015-12-16 14:47:22.000000000 +0100 |+++ gerbview/CMakeLists.txt 2015-12-16 14:51:07.000000000 +0100 -------------------------- Patching file gerbview/CMakeLists.txt using Plan A... Hunk #1 succeeded at 146 (offset 3 lines). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-include-kicad_string.h => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-include-kicad_string.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include-kicad_string.h,v 1.3 2016/09/08 09:32:28 bouyer Exp $ | |Standard string library should be included as well. | |--- include/kicad_string.h.orig 2015-12-11 17:57:10.000000000 +0100 |+++ include/kicad_string.h 2015-12-11 17:57:22.000000000 +0100 -------------------------- Patching file include/kicad_string.h using Plan A... Hunk #1 succeeded at 30. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-include_common.h => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-include_common.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_common.h,v 1.3 2016/12/22 21:01:22 joerg Exp $ | |Given that the constants are used in integer contexts, make sure that |the value is a valid int. | |--- include/common.h.orig 2016-12-22 11:39:43.778530785 +0000 |+++ include/common.h -------------------------- Patching file include/common.h using Plan A... Hunk #1 succeeded at 54. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-include_hashtables.h => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-include_hashtables.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_hashtables.h,v 1.3 2016/09/08 09:32:28 bouyer Exp $ | |--- include/hashtables.h.orig 2015-12-11 17:59:12.000000000 +0100 |+++ include/hashtables.h 2015-12-11 17:59:18.000000000 +0100 -------------------------- Patching file include/hashtables.h using Plan A... Hunk #1 succeeded at 48. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-include_kiway.h => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-include_kiway.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_kiway.h,v 1.2 2016/09/08 09:32:28 bouyer Exp $ | |--- include/kiway.h.orig 2015-12-14 21:13:18.000000000 +0100 |+++ include/kiway.h 2015-12-14 21:13:39.000000000 +0100 -------------------------- Patching file include/kiway.h using Plan A... Hunk #1 succeeded at 114. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-include_tool_coroutine.h => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-include_tool_coroutine.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_tool_coroutine.h,v 1.1 2016/09/08 09:32:28 bouyer Exp $ |Fix for newer boost, from upstream developement branch | |--- include/tool/coroutine.h.orig 2016-09-07 19:04:03.000000000 +0200 |+++ include/tool/coroutine.h 2016-09-07 19:03:54.000000000 +0200 -------------------------- Patching file include/tool/coroutine.h using Plan A... Hunk #1 succeeded at 3. Hunk #2 succeeded at 28. Hunk #3 succeeded at 59. Hunk #4 succeeded at 74. Hunk #5 succeeded at 82. Hunk #6 succeeded at 99. Hunk #7 succeeded at 128. Hunk #8 succeeded at 145. Hunk #9 succeeded at 157. Hunk #10 succeeded at 170. Hunk #11 succeeded at 182. Hunk #12 succeeded at 220. Hunk #13 succeeded at 254. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-include_tool_tool_base.h => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-include_tool_tool_base.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_tool_tool_base.h,v 1.1 2016/09/08 09:32:28 bouyer Exp $ |Fix for newer boost, from upstream developement branch | |--- include/tool/tool_base.h.orig 2016-09-03 22:47:50.000000000 +0200 |+++ include/tool/tool_base.h 2016-09-07 19:03:09.000000000 +0200 -------------------------- Patching file include/tool/tool_base.h using Plan A... Hunk #1 succeeded at 3. Hunk #2 succeeded at 32. Hunk #3 succeeded at 54. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-include_tool_tool_interactive.h => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-include_tool_tool_interactive.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_tool_tool_interactive.h,v 1.1 2016/09/08 09:32:28 bouyer Exp $ |Fix for newer boost, from upstream developement branch | |--- include/tool/tool_interactive.h.orig 2016-09-03 22:47:50.000000000 +0200 |+++ include/tool/tool_interactive.h 2016-09-07 19:03:09.000000000 +0200 -------------------------- Patching file include/tool/tool_interactive.h using Plan A... Hunk #1 succeeded at 3. Hunk #2 succeeded at 114. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-pagelayout_editor_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-pagelayout_editor_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pagelayout_editor_CMakeLists.txt,v 1.2 2016/09/08 09:32:28 bouyer Exp $ | |Force proper LDFLAGS for MODULE, as cmake doens't set rpath for theses | |--- pagelayout_editor/CMakeLists.txt.orig 2015-12-16 14:47:22.000000000 +0100 |+++ pagelayout_editor/CMakeLists.txt 2015-12-16 14:51:27.000000000 +0100 -------------------------- Patching file pagelayout_editor/CMakeLists.txt using Plan A... Hunk #1 succeeded at 120 (offset 3 lines). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-pcb_calculator_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-pcb_calculator_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pcb_calculator_CMakeLists.txt,v 1.2 2016/09/08 09:32:28 bouyer Exp $ | |Force proper LDFLAGS for MODULE, as cmake doens't set rpath for theses | |--- pcb_calculator/CMakeLists.txt.orig 2015-12-16 14:47:22.000000000 +0100 |+++ pcb_calculator/CMakeLists.txt 2015-12-16 14:51:42.000000000 +0100 -------------------------- Patching file pcb_calculator/CMakeLists.txt using Plan A... Hunk #1 succeeded at 101 (offset 2 lines). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-pcbnew_CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-pcbnew_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pcbnew_CMakeLists.txt,v 1.3 2016/09/08 09:32:28 bouyer Exp $ | |Don't use ${CMAKE_MODULE_PATH} directly as it will be changed |and containt multiple directories | |Force proper LDFLAGS for MODULE, as cmake doens't set rpath for theses | |--- pcbnew/CMakeLists.txt.orig 2015-12-09 17:21:54.000000000 +0100 |+++ pcbnew/CMakeLists.txt 2015-12-16 14:52:03.000000000 +0100 -------------------------- Patching file pcbnew/CMakeLists.txt using Plan A... Hunk #1 succeeded at 523 (offset 2 lines). Hunk #2 succeeded at 615 (offset 2 lines). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-pcbnew_class_edge_mod.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-pcbnew_class_edge_mod.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pcbnew_class_edge_mod.cpp,v 1.3 2016/09/08 09:32:28 bouyer Exp $ |64bit time_t fix |Reported upstream as bug id 1280901 | |--- pcbnew/class_edge_mod.cpp.orig 2015-12-11 18:00:51.000000000 +0100 |+++ pcbnew/class_edge_mod.cpp 2015-12-11 18:01:09.000000000 +0100 -------------------------- Patching file pcbnew/class_edge_mod.cpp using Plan A... Hunk #1 succeeded at 259. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-pcbnew_class_track.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-pcbnew_class_track.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pcbnew_class_track.cpp,v 1.3 2016/09/08 09:32:28 bouyer Exp $ |64bit time_t fix |Reported upstream as bug id 1280901 | |--- pcbnew/class_track.cpp.orig 2015-12-11 18:02:48.000000000 +0100 |+++ pcbnew/class_track.cpp 2015-12-11 18:03:02.000000000 +0100 -------------------------- Patching file pcbnew/class_track.cpp using Plan A... Hunk #1 succeeded at 143. done => Verifying /data/pkgsrc/cad/kicad/patches/patch-pcbnew_kicad_plugin.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-pcbnew_kicad_plugin.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pcbnew_kicad_plugin.cpp,v 1.3 2016/09/08 09:32:28 bouyer Exp $ |64bit time_t fix |Reported upstream as bug id 1280901 | |--- pcbnew/kicad_plugin.cpp.orig 2015-12-11 18:05:12.000000000 +0100 |+++ pcbnew/kicad_plugin.cpp 2015-12-11 18:14:06.000000000 +0100 -------------------------- Patching file pcbnew/kicad_plugin.cpp using Plan A... Hunk #1 succeeded at 780 (offset 10 lines). Hunk #2 succeeded at 889 (offset 10 lines). Hunk #3 succeeded at 976 (offset 10 lines). Hunk #4 succeeded at 1013 (offset 10 lines). Hunk #5 succeeded at 1354 (offset 10 lines). Hunk #6 succeeded at 1462 (offset 10 lines). Hunk #7 succeeded at 1483 (offset 10 lines). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-pcbnew_legacy_plugin.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-pcbnew_legacy_plugin.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pcbnew_legacy_plugin.cpp,v 1.3 2016/09/08 09:32:28 bouyer Exp $ |64bit time_t fix |Reported upstream as bug id 1280901 | |--- pcbnew/legacy_plugin.cpp.orig 2015-12-11 18:15:36.000000000 +0100 |+++ pcbnew/legacy_plugin.cpp 2015-12-11 18:17:49.000000000 +0100 -------------------------- Patching file pcbnew/legacy_plugin.cpp using Plan A... Hunk #1 succeeded at 2328 (offset 1 line). Hunk #2 succeeded at 2811 (offset 1 line). Hunk #3 succeeded at 3809 (offset 1 line). Hunk #4 succeeded at 3824 (offset 1 line). Hunk #5 succeeded at 3905 (offset 1 line). Hunk #6 succeeded at 3931 (offset 1 line). Hunk #7 succeeded at 3941 (offset 1 line). Hunk #8 succeeded at 3976 (offset 1 line). Hunk #9 succeeded at 3988 (offset 1 line). Hunk #10 succeeded at 4106 (offset 1 line). Hunk #11 succeeded at 4194 (offset 1 line). done => Verifying /data/pkgsrc/cad/kicad/patches/patch-pcbnew_xchgmod.cpp => Applying pkgsrc patch /data/pkgsrc/cad/kicad/patches/patch-pcbnew_xchgmod.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-pcbnew_xchgmod.cpp,v 1.3 2016/09/08 09:32:28 bouyer Exp $ |64bit time_t fix |Reported upstream as bug id 1280901 | |--- pcbnew/xchgmod.cpp.orig 2015-12-11 18:20:54.000000000 +0100 |+++ pcbnew/xchgmod.cpp 2015-12-11 18:21:01.000000000 +0100 -------------------------- Patching file pcbnew/xchgmod.cpp using Plan A... Hunk #1 succeeded at 542. done ===> Creating toolchain wrappers for kicad-4.0.4nb9 src=/usr/pkg/lib/pkgconfig/fixesproto.pc dst=/data/scratch/cad/kicad/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /data/scratch/cad/kicad/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi src=/usr/pkg/lib/pkgconfig/compositeproto.pc dst=/data/scratch/cad/kicad/work/.buildlink/lib/pkgconfig/compositeext.pc; /bin/mkdir -p /data/scratch/cad/kicad/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi ===> Configuring for kicad-4.0.4nb9 => Eliminating Mac OS X build specific for kicad-4.0.4nb9 => Fixing locale directory references. INFO: [subst.mk:pkglocaledir] Nothing changed in ./packaging/mac-osx/dmg-generator/Makefile. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Checking for portability problems in extracted files -- The C compiler identification is Clang 5.0.5 -- The CXX compiler identification is Clang 5.0.5 CMake Warning (dev) at /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake includes /data/scratch/cad/kicad/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.10/Modules/Platform/UnixPaths.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/CMakeSystemSpecificInformation.cmake:26 (include) CMakeLists.txt:10 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake includes /data/scratch/cad/kicad/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.10/Modules/Platform/UnixPaths.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/CMakeCInformation.cmake:66 (include) CMakeLists.txt:10 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Check for working C compiler: /data/scratch/cad/kicad/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/cad/kicad/work/.cwrapper/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake:13 (include): File /usr/pkg/share/cmake-3.10/Modules/Platform/NetBSD.cmake includes /data/scratch/cad/kicad/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /usr/pkg/share/cmake-3.10/Modules/Platform/UnixPaths.cmake. This may cause errors later on . Policy CMP0017 is not set: Prefer files from the CMake module directory when including from there. Run "cmake --help-policy CMP0017" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/CMakeCXXInformation.cmake:65 (include) CMakeLists.txt:10 (project) This warning is for project developers. Use -Wno-dev to suppress it. -- Check for working CXX compiler: /data/scratch/cad/kicad/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/cad/kicad/work/.cwrapper/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Kicad install dir: -- Performing Test GXX_HAS_VISIBILITY_FLAG -- Performing Test GXX_HAS_VISIBILITY_FLAG - Success -- Performing Test GXX_HAS_VISIBILITY_INLINES_FLAG -- Performing Test GXX_HAS_VISIBILITY_INLINES_FLAG - Success -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for iso646.h -- Looking for iso646.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for /data/scratch/cad/kicad/work/kicad-4.0.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx -- Looking for /data/scratch/cad/kicad/work/kicad-4.0.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx - not found -- Looking for malloc -- Looking for malloc - found -- Looking for math.h -- Looking for math.h - found -- Looking for C++ include cmath -- Looking for C++ include cmath - found -- Looking for /data/scratch/cad/kicad/work/kicad-4.0.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx -- Looking for /data/scratch/cad/kicad/work/kicad-4.0.4/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx - not found -- Performing Test HAVE_CMATH_ISINF -- Performing Test HAVE_CMATH_ISINF - Success -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for getc_unlocked -- Looking for getc_unlocked - found -- Found wxWidgets: -L/usr/pkg/lib;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0 (found suitable version "3.0.3", minimum required is "3.0.0") -- Check for installed OpenGL -- found -- Found Glew: /data/scratch/cad/kicad/work/.buildlink/lib/libGLEW.so -- Check for installed GLEW -- found -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Found CAIRO: /data/scratch/cad/kicad/work/.buildlink/lib/libcairo.so -- Check for installed Cairo -- found CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) CMake Warning at /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES) /usr/pkg/share/cmake-3.10/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:564 (find_package) -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Boost version: 1.66.0 -- Found the following Boost libraries: -- context -- date_time -- filesystem -- iostreams -- locale -- program_options -- regex -- system -- thread -- chrono -- atomic CMake Warning at CMakeLists.txt:575 (message): WARNING: You decided to skip building boost library. KiCad developers strongly advise you to build the bundled boost library, as it is known to work with KiCad. Other versions may contain bugs that may result in KiCad errors. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created -- OPENSSL_VERSION_STR=# define OPENSSL_VERSION_NUMBER 0x100020bfL -- Found OpenSSL: /usr/lib/libssl.so;/lib/libcrypto.so (found version "1.0.2k") -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- WARNING: Doxygen not found - doxygen-docs (Source Docs) target not created -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR -- Build files have been written to: /data/scratch/cad/kicad/work/kicad-4.0.4 => Rewrite cmake Dependencies files