=> 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 mesa-11.2.2.tar.xz
=> Checksum RMD160 OK for mesa-11.2.2.tar.xz
=> Checksum SHA512 OK for mesa-11.2.2.tar.xz
===> Installing dependencies for MesaLib-11.2.2nb5
==========================================================================
The supported build options for MesaLib are:

	dri llvm

The currently selected options are:

	dri llvm

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.MesaLib (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
MesaLib-11.2.2nb5.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 27

Based on these variables, the following variables have been set:

        * PYPACKAGE = python27

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency bison>=1.0: found bison-3.0.4nb3
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.0.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency py27-mako-[0-9]*: found py27-mako-1.0.4
=> Build dependency x11-links>=1.04: found x11-links-1.05
=> Build dependency python27>=2.7.1nb2: found python27-2.7.13nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency libva>=1.0.6: found libva-1.7.3nb5
=> Full dependency libvdpau>=0.3: found libvdpau-1.1.1nb1
=> Full dependency libelf>=0.8.5: found libelf-0.8.13nb1
=> Full dependency libLLVM>=4.0: found libLLVM-4.0.0nb1
===> Overriding tools for MesaLib-11.2.2nb5
===> Extracting for MesaLib-11.2.2nb5
===> Patching for MesaLib-11.2.2nb5
=> Applying pkgsrc patches for MesaLib-11.2.2nb5
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.5 2016/02/12 11:49:53 tnn Exp $
|
|Add libdevq support from FreeBSD ports.
|
|--- configure.orig	2016-01-13 10:48:25.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 860.
Hunk #2 succeeded at 1177 (offset 1 line).
Hunk #3 succeeded at 5339 (offset 48 lines).
Hunk #4 succeeded at 21044 (offset 312 lines).
Hunk #5 succeeded at 22140 (offset 48 lines).
Hunk #6 succeeded at 23289 (offset 312 lines).
Hunk #7 succeeded at 23961 (offset 48 lines).
Hunk #8 succeeded at 25874 (offset 312 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-include_GL_glxext.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-include_GL_glxext.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_GL_glxext.h,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Make sure the GLsizeiptr and GLintptr types are defined
|
|--- include/GL/glxext.h.orig	2014-10-03 03:59:50.000000000 +0000
|+++ include/GL/glxext.h
--------------------------
Patching file include/GL/glxext.h using Plan A...
Hunk #1 succeeded at 477.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_compiler_glsl_builtin__functions.cpp
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_compiler_glsl_builtin__functions.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_compiler_glsl_builtin__functions.cpp,v 1.2 2017/01/15 00:14:21 wiz Exp $
|
|Avoid double free().
|
|--- src/compiler/glsl/builtin_functions.cpp.orig	2016-05-09 12:51:42.000000000 +0000
|+++ src/compiler/glsl/builtin_functions.cpp
--------------------------
Patching file src/compiler/glsl/builtin_functions.cpp using Plan A...
Hunk #1 succeeded at 853.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_compiler_glsl_glsl__parser__extras.cpp
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_compiler_glsl_glsl__parser__extras.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_compiler_glsl_glsl__parser__extras.cpp,v 1.1 2016/04/17 00:03:00 wiz Exp $
|
|atexit() is not a good idea in a library; use destructor attribute.
|
|--- src/compiler/glsl/glsl_parser_extras.cpp.orig	2016-04-04 10:24:28.000000000 +0000
|+++ src/compiler/glsl/glsl_parser_extras.cpp
--------------------------
Patching file src/compiler/glsl/glsl_parser_extras.cpp using Plan A...
Hunk #1 succeeded at 1938.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_egl_drivers_dri2_platform__drm.c,v 1.2 2016/01/05 13:02:57 tnn Exp $
|
|netbsd-5 build fix
|
|--- src/egl/drivers/dri2/platform_drm.c.orig	2015-12-09 16:10:13.000000000 +0000
|+++ src/egl/drivers/dri2/platform_drm.c
--------------------------
Patching file src/egl/drivers/dri2/platform_drm.c using Plan A...
Hunk #1 succeeded at 626.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__x11.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__x11.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_egl_drivers_dri2_platform__x11.c,v 1.2 2016/05/18 12:55:28 wiz Exp $
|
|Provide compat strndup for older Darwin.
|
|--- src/egl/drivers/dri2/platform_x11.c.orig	2016-05-05 12:59:22.000000000 +0000
|+++ src/egl/drivers/dri2/platform_x11.c
--------------------------
Patching file src/egl/drivers/dri2/platform_x11.c using Plan A...
Hunk #1 succeeded at 591.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_egl_main_eglglobals.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_egl_main_eglglobals.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_egl_main_eglglobals.c,v 1.1 2016/01/27 07:39:54 wiz Exp $
|
|atexit() is not a good idea in shared libraries.
|
|--- src/egl/main/eglglobals.c.orig	2015-11-28 17:37:59.000000000 +0000
|+++ src/egl/main/eglglobals.c
--------------------------
Patching file src/egl/main/eglglobals.c using Plan A...
Hunk #1 succeeded at 59.
Hunk #2 succeeded at 78.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_draw_draw__llvm.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_draw_draw__llvm.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_auxiliary_draw_draw__llvm.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|llvm api change
|commit  8bdd52c8f3595128cbc1da4f23cdb10ff861a6ef
|
|--- src/gallium/auxiliary/draw/draw_llvm.c.orig	2016-05-09 12:51:42.000000000 +0000
|+++ src/gallium/auxiliary/draw/draw_llvm.c
--------------------------
Patching file src/gallium/auxiliary/draw/draw_llvm.c using Plan A...
Hunk #1 succeeded at 1612.
Hunk #2 succeeded at 2157.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_gallivm_lp__bld__intr.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_gallivm_lp__bld__intr.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_auxiliary_gallivm_lp__bld__intr.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|llvm api change
|commit  8bdd52c8f3595128cbc1da4f23cdb10ff861a6ef
|
|--- src/gallium/auxiliary/gallivm/lp_bld_intr.c.orig	2016-05-09 12:20:52.000000000 +0000
|+++ src/gallium/auxiliary/gallivm/lp_bld_intr.c
--------------------------
Patching file src/gallium/auxiliary/gallivm/lp_bld_intr.c using Plan A...
Hunk #1 succeeded at 45.
Hunk #2 succeeded at 76.
Hunk #3 succeeded at 142.
Hunk #4 succeeded at 161.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_gallivm_lp__bld__intr.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_gallivm_lp__bld__intr.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_auxiliary_gallivm_lp__bld__intr.h,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|llvm api change
|commit  8bdd52c8f3595128cbc1da4f23cdb10ff861a6ef
|
|--- src/gallium/auxiliary/gallivm/lp_bld_intr.h.orig	2016-05-09 12:20:52.000000000 +0000
|+++ src/gallium/auxiliary/gallivm/lp_bld_intr.h
--------------------------
Patching file src/gallium/auxiliary/gallivm/lp_bld_intr.h using Plan A...
Hunk #1 succeeded at 46.
Hunk #2 succeeded at 64.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_gallivm_lp__bld__sample__soa.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_gallivm_lp__bld__sample__soa.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_auxiliary_gallivm_lp__bld__sample__soa.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|llvm api change
|commit  8bdd52c8f3595128cbc1da4f23cdb10ff861a6ef
|
|--- src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c.orig	2016-05-09 12:20:52.000000000 +0000
|+++ src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
--------------------------
Patching file src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c using Plan A...
Hunk #1 succeeded at 60.
Hunk #2 succeeded at 3316.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_util_u__format__tests.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_util_u__format__tests.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_auxiliary_util_u__format__tests.c,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|On old NetBSD, NAN in math.h is __nanf.__val. Which is not constant.
|
|--- src/gallium/auxiliary/util/u_format_tests.c.orig	2014-09-12 21:30:32.000000000 +0000
|+++ src/gallium/auxiliary/util/u_format_tests.c
--------------------------
Patching file src/gallium/auxiliary/util/u_format_tests.c using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_util_u__math.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_util_u__math.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_auxiliary_util_u__math.h,v 1.4 2015/09/26 08:45:02 tnn Exp $
|
|The C99 "restrict" keyword is not valid in C++, but most compilers will
|understand __restrict.
|
|--- src/gallium/auxiliary/util/u_math.h.orig	2015-09-11 17:41:47.000000000 +0000
|+++ src/gallium/auxiliary/util/u_math.h
--------------------------
Patching file src/gallium/auxiliary/util/u_math.h using Plan A...
Hunk #1 succeeded at 752 (offset 40 lines).
Hunk #2 succeeded at 775 (offset 40 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_util_u__network.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_util_u__network.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_auxiliary_util_u__network.c,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|BSD has sockets, silence warning about missing implementation.
|
|--- src/gallium/auxiliary/util/u_network.c.orig	2014-09-12 21:30:32.000000000 +0000
|+++ src/gallium/auxiliary/util/u_network.c
--------------------------
Patching file src/gallium/auxiliary/util/u_network.c using Plan A...
Hunk #1 succeeded at 7.
Hunk #2 succeeded at 56.
Hunk #3 succeeded at 172.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_util_u__network.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_auxiliary_util_u__network.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_auxiliary_util_u__network.h,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|BSD has sockets, silence warning about missing implementation.
|
|--- src/gallium/auxiliary/util/u_network.h.orig	2014-09-12 21:30:32.000000000 +0000
|+++ src/gallium/auxiliary/util/u_network.h
--------------------------
Patching file src/gallium/auxiliary/util/u_network.h using Plan A...
Hunk #1 succeeded at 7.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_llvmpipe_lp__state__fs.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_llvmpipe_lp__state__fs.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_llvmpipe_lp__state__fs.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|llvm api change
|commit  14926330703bb5ea6a84c845e192021f057f9401
|
|--- src/gallium/drivers/llvmpipe/lp_state_fs.c.orig	2016-05-09 12:51:42.000000000 +0000
|+++ src/gallium/drivers/llvmpipe/lp_state_fs.c
--------------------------
Patching file src/gallium/drivers/llvmpipe/lp_state_fs.c using Plan A...
Hunk #1 succeeded at 2279.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_llvmpipe_lp__state__setup.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_llvmpipe_lp__state__setup.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_llvmpipe_lp__state__setup.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|llvm api change
|commit  14926330703bb5ea6a84c845e192021f057f9401
|
|--- src/gallium/drivers/llvmpipe/lp_state_setup.c.orig	2016-05-09 12:51:42.000000000 +0000
|+++ src/gallium/drivers/llvmpipe/lp_state_setup.c
--------------------------
Patching file src/gallium/drivers/llvmpipe/lp_state_setup.c using Plan A...
Hunk #1 succeeded at 624.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_codegen_nv50__ir__peephole.cpp
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_codegen_nv50__ir__peephole.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_nouveau_codegen_nv50__ir__peephole.cpp,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|The C99 "restrict" keyword is not valid in C++, but most compilers will
|understand __restrict.
|
|--- src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp.orig	2015-03-28 18:20:39.000000000 +0000
|+++ src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
--------------------------
Patching file src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp using Plan A...
Hunk #1 succeeded at 2149 (offset 619 lines).
Hunk #2 succeeded at 2436 (offset 619 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_nouveau_nouveau__vp3__video.c,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Fix build on platforms without close-on-exec.
|
|--- src/gallium/drivers/nouveau/nouveau_vp3_video.c.orig	2014-09-12 21:30:32.000000000 +0000
|+++ src/gallium/drivers/nouveau/nouveau_vp3_video.c
--------------------------
Patching file src/gallium/drivers/nouveau/nouveau_vp3_video.c using Plan A...
Hunk #1 succeeded at 294 (offset 2 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nv50_nv84__video.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_nouveau_nv50_nv84__video.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_nouveau_nv50_nv84__video.c,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Fix build on platforms without close-on-exec.
|
|--- src/gallium/drivers/nouveau/nv50/nv84_video.c.orig	2015-03-21 00:51:18.000000000 +0000
|+++ src/gallium/drivers/nouveau/nv50/nv84_video.c
--------------------------
Patching file src/gallium/drivers/nouveau/nv50/nv84_video.c using Plan A...
Hunk #1 succeeded at 34.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_r600_r600__llvm.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_r600_r600__llvm.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_r600_r600__llvm.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|--- src/gallium/drivers/r600/r600_llvm.c.orig	2016-05-09 12:51:42.000000000 +0000
|+++ src/gallium/drivers/r600/r600_llvm.c
--------------------------
Patching file src/gallium/drivers/r600/r600_llvm.c using Plan A...
Hunk #1 succeeded at 101.
Hunk #2 succeeded at 117.
Hunk #3 succeeded at 273.
Hunk #4 succeeded at 443.
Hunk #5 succeeded at 558.
Hunk #6 succeeded at 579.
Hunk #7 succeeded at 791.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_radeon_radeon__llvm__util.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_radeon_radeon__llvm__util.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_radeon_radeon__llvm__util.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|--- src/gallium/drivers/radeon/radeon_llvm_util.c.orig	2016-05-09 12:51:42.000000000 +0000
|+++ src/gallium/drivers/radeon/radeon_llvm_util.c
--------------------------
Patching file src/gallium/drivers/radeon/radeon_llvm_util.c using Plan A...
Hunk #1 succeeded at 26.
Hunk #2 succeeded at 82.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_radeon_radeon__setup__tgsi__llvm.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_radeon_radeon__setup__tgsi__llvm.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_radeon_radeon__setup__tgsi__llvm.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|--- src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c.orig	2016-05-09 12:51:42.000000000 +0000
|+++ src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
--------------------------
Patching file src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c using Plan A...
Hunk #1 succeeded at 773.
Hunk #2 succeeded at 1215.
Hunk #3 succeeded at 1283.
Hunk #4 succeeded at 1341.
Hunk #5 succeeded at 1360.
Hunk #6 succeeded at 1387.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_radeonsi_si__shader.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_drivers_radeonsi_si__shader.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_drivers_radeonsi_si__shader.c,v 1.1 2017/03/22 20:22:31 markd Exp $
|
|llvm api change
|commit  8bdd52c8f3595128cbc1da4f23cdb10ff861a6ef
|
|--- src/gallium/drivers/radeonsi/si_shader.c.orig	2016-05-09 12:51:42.000000000 +0000
|+++ src/gallium/drivers/radeonsi/si_shader.c
--------------------------
Patching file src/gallium/drivers/radeonsi/si_shader.c using Plan A...
Hunk #1 succeeded at 472.
Hunk #2 succeeded at 834.
Hunk #3 succeeded at 981.
Hunk #4 succeeded at 1003.
Hunk #5 succeeded at 1018.
Hunk #6 succeeded at 1089.
Hunk #7 succeeded at 1432.
Hunk #8 succeeded at 1577.
Hunk #9 succeeded at 1742.
Hunk #10 succeeded at 2242.
Hunk #11 succeeded at 3191.
Hunk #12 succeeded at 3251.
Hunk #13 succeeded at 3347.
Hunk #14 succeeded at 3419.
Hunk #15 succeeded at 3616.
Hunk #16 succeeded at 3708.
Hunk #17 succeeded at 3727.
Hunk #18 succeeded at 3740.
Hunk #19 succeeded at 3771.
Hunk #20 succeeded at 4699.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_targets_dri_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_targets_dri_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_targets_dri_Makefile.in,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|DRI drivers need explicit linkage to glapi. FDO bug 57702. We only need to do
|this for the "mega" drivers since that's where final linking takes place.
|
|--- src/gallium/targets/dri/Makefile.in.orig	2015-03-28 18:43:38.000000000 +0000
|+++ src/gallium/targets/dri/Makefile.in
--------------------------
Patching file src/gallium/targets/dri/Makefile.in using Plan A...
Hunk #1 succeeded at 755 (offset 20 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_winsys_radeon_drm_radeon__drm__winsys.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_winsys_radeon_drm_radeon__drm__winsys.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_winsys_radeon_drm_radeon__drm__winsys.c,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Don't create pipe thread on NetBSD. It triggers some kernel bug.
|kern/49838.
|
|--- src/gallium/winsys/radeon/drm/radeon_drm_winsys.c.orig	2015-03-28 18:20:39.000000000 +0000
|+++ src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
--------------------------
Patching file src/gallium/winsys/radeon/drm/radeon_drm_winsys.c using Plan A...
Hunk #1 succeeded at 816 (offset 112 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_winsys_svga_drm_vmw__screen.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_winsys_svga_drm_vmw__screen.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_winsys_svga_drm_vmw__screen.c,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Solaris needs sys/mkdev.h for major(2).
|
|--- src/gallium/winsys/svga/drm/vmw_screen.c.orig	2014-09-12 21:30:32.000000000 +0000
|+++ src/gallium/winsys/svga/drm/vmw_screen.c
--------------------------
Patching file src/gallium/winsys/svga/drm/vmw_screen.c using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_winsys_svga_drm_vmw__screen__ioctl.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gallium_winsys_svga_drm_vmw__screen__ioctl.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gallium_winsys_svga_drm_vmw__screen__ioctl.c,v 1.3 2015/05/15 14:27:42 nros Exp $
|
|Make sure ERESTART gets defined.
|
|--- src/gallium/winsys/svga/drm/vmw_screen_ioctl.c.orig	2015-04-24 21:09:35.000000000 +0000
|+++ src/gallium/winsys/svga/drm/vmw_screen_ioctl.c
--------------------------
Patching file src/gallium/winsys/svga/drm/vmw_screen_ioctl.c using Plan A...
Hunk #1 succeeded at 48.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gbm_main_gbm.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_gbm_main_gbm.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gbm_main_gbm.c,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Solaris needs sys/mkdev.h for major(2).
|
|--- src/gbm/main/gbm.c.orig	2015-03-21 00:51:18.000000000 +0000
|+++ src/gbm/main/gbm.c
--------------------------
Patching file src/gbm/main/gbm.c using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_glsl_ralloc.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_glsl_ralloc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_glsl_ralloc.c,v 1.4 2016/02/23 11:16:55 jperkin Exp $
|
|* Fix exit time segfault of qt5 application with modular xorg
|* Provide compat strnlen for older Darwin.
|
|--- src/util/ralloc.c.orig	2016-01-29 12:21:30.000000000 +0000
|+++ src/util/ralloc.c
--------------------------
Patching file src/util/ralloc.c using Plan A...
Hunk #1 succeeded at 312.
Hunk #2 succeeded at 323.
Hunk #3 succeeded at 359.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_glx_apple_apple__glapi.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_glx_apple_apple__glapi.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_glx_apple_apple__glapi.c,v 1.1 2015/09/27 21:58:03 tnn Exp $
|
|https://bugs.freedesktop.org/show_bug.cgi?id=90311
|See also hacks.mk.
|
|--- src/glx/apple/apple_glapi.c.orig	2015-08-07 17:36:03.000000000 +0000
|+++ src/glx/apple/apple_glapi.c
--------------------------
Patching file src/glx/apple/apple_glapi.c using Plan A...
Hunk #1 succeeded at 39.
Hunk #2 succeeded at 55.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_glx_glxclient.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_glx_glxclient.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_glx_glxclient.h,v 1.1 2015/09/11 16:27:30 tnn Exp $
|
|NetBSD only supports zero-initialized initial-exec tls variables in conjuction
|with dlopen(3) at the moment.
|
|--- src/glx/glxclient.h.orig	2015-09-02 17:06:23.000000000 +0000
|+++ src/glx/glxclient.h
--------------------------
Patching file src/glx/glxclient.h using Plan A...
Hunk #1 succeeded at 635.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_glx_glxcurrent.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_glx_glxcurrent.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_glx_glxcurrent.c,v 1.2 2015/09/26 08:45:02 tnn Exp $
|
|Interim fix for toolchain/50277.
|
|NetBSD only supports zero-initialized initial-exec tls variables in conjuction
|with dlopen(3) at the moment.
|
|--- src/glx/glxcurrent.c.orig	2015-09-02 17:06:23.000000000 +0000
|+++ src/glx/glxcurrent.c
--------------------------
Patching file src/glx/glxcurrent.c using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 89.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_loader_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_loader_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_loader_Makefile.in,v 1.4 2016/01/27 07:39:54 wiz Exp $
|
|FreeBSD & DragonFly support for libdevq.
|
|--- src/loader/Makefile.in.orig	2016-01-13 10:48:30.000000000 +0000
|+++ src/loader/Makefile.in
--------------------------
Patching file src/loader/Makefile.in using Plan A...
Hunk #1 succeeded at 320.
Hunk #2 succeeded at 533 (offset -1 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_loader_loader.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_loader_loader.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_loader_loader.c,v 1.2 2015/09/26 08:45:02 tnn Exp $
|
|FreeBSD & DragonFly support for libdevq. From FreeBSD ports(?)
|
|--- src/loader/loader.c.orig	2015-09-10 18:07:21.000000000 +0000
|+++ src/loader/loader.c
--------------------------
Patching file src/loader/loader.c using Plan A...
Hunk #1 succeeded at 70.
Hunk #2 succeeded at 505.
Hunk #3 succeeded at 635.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_entry__x86-64__tls.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_entry__x86-64__tls.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mapi_entry__x86-64__tls.h,v 1.2 2015/09/26 08:45:02 tnn Exp $
|
|NetBSD only supports zero-initialized initial-exec tls variables in conjuction
|with dlopen(3) at the moment.
|
|Fix --enable-glx-tls with clang. From FreeBSD.
|
|--- src/mapi/entry_x86-64_tls.h.orig	2015-09-11 17:41:47.000000000 +0000
|+++ src/mapi/entry_x86-64_tls.h
--------------------------
Patching file src/mapi/entry_x86-64_tls.h using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 63 (offset -7 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_entry__x86__tls.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_entry__x86__tls.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mapi_entry__x86__tls.h,v 1.2 2015/09/26 08:45:02 tnn Exp $
|
|NetBSD only supports zero-initialized initial-exec tls variables in conjuction
|with dlopen(3) at the moment.
|
|Fix --enable-glx-tls with clang. From FreeBSD.
|
|--- src/mapi/entry_x86_tls.h.orig	2015-09-02 17:06:23.000000000 +0000
|+++ src/mapi/entry_x86_tls.h
--------------------------
Patching file src/mapi/entry_x86_tls.h using Plan A...
Hunk #1 succeeded at 50.
Hunk #2 succeeded at 88.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_entry__x86__tsd.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_entry__x86__tsd.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mapi_entry__x86__tsd.h,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Fix --enable-glx-tls with clang. From FreeBSD.
|
|--- src/mapi/entry_x86_tsd.h.orig	2015-03-28 18:20:39.000000000 +0000
|+++ src/mapi/entry_x86_tsd.h
--------------------------
Patching file src/mapi/entry_x86_tsd.h using Plan A...
Hunk #1 succeeded at 58 (offset -1 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_glapi_gen_gl__gentable.py
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_glapi_gen_gl__gentable.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mapi_glapi_gen_gl__gentable.py,v 1.1 2015/09/11 00:03:36 tnn Exp $
|
|FreeBSD support.
|
|--- src/mapi/glapi/gen/gl_gentable.py.orig	2015-07-29 21:28:50.156039000 +0000
|+++ src/mapi/glapi/gen/gl_gentable.py
--------------------------
Patching file src/mapi/glapi/gen/gl_gentable.py using Plan A...
Hunk #1 succeeded at 44 (offset 2 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_u__current.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_u__current.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mapi_u__current.c,v 1.1 2015/09/11 16:27:30 tnn Exp $
|
|NetBSD only supports zero-initialized initial-exec tls variables in conjuction
|with dlopen(3) at the moment.
|
|--- src/mapi/u_current.c.orig	2015-09-02 17:06:23.000000000 +0000
|+++ src/mapi/u_current.c
--------------------------
Patching file src/mapi/u_current.c using Plan A...
Hunk #1 succeeded at 101.
Hunk #2 succeeded at 287.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_u__current.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mapi_u__current.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mapi_u__current.h,v 1.1 2015/09/11 16:27:30 tnn Exp $
|
|NetBSD only supports zero-initialized initial-exec tls variables in conjuction
|with dlopen(3) at the moment.
|
|--- src/mapi/u_current.h.orig	2015-09-02 17:06:23.000000000 +0000
|+++ src/mapi/u_current.h
--------------------------
Patching file src/mapi/u_current.h using Plan A...
Hunk #1 succeeded at 68.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_drivers_dri_Makefile.in,v 1.2 2015/09/11 00:03:36 tnn Exp $
|
|DRI drivers need explicit linkage to glapi. FDO bug 57702. We only need to do
|this for the "mega" drivers since that's where final linking takes place.
|
|--- src/mesa/drivers/dri/Makefile.in.orig	2015-07-04 11:11:08.000000000 +0000
|+++ src/mesa/drivers/dri/Makefile.in
--------------------------
Patching file src/mesa/drivers/dri/Makefile.in using Plan A...
Hunk #1 succeeded at 597 (offset 14 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_common_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_common_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_drivers_dri_common_Makefile.in,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Don't install the sysconf directory for now.
|
|--- src/mesa/drivers/dri/common/Makefile.in.orig	2015-02-28 00:06:10.000000000 +0000
|+++ src/mesa/drivers/dri/common/Makefile.in
--------------------------
Patching file src/mesa/drivers/dri/common/Makefile.in using Plan A...
Hunk #1 succeeded at 751 (offset 41 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_common_xmlconfig.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_common_xmlconfig.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_drivers_dri_common_xmlconfig.c,v 1.3 2016/02/23 11:16:55 jperkin Exp $
|
|PR pkg/50202.
|Provide compat strndup for older Darwin.
|
|--- src/mesa/drivers/dri/common/xmlconfig.c.orig	2016-01-29 12:21:30.000000000 +0000
|+++ src/mesa/drivers/dri/common/xmlconfig.c
--------------------------
Patching file src/mesa/drivers/dri/common/xmlconfig.c using Plan A...
Hunk #1 succeeded at 50.
Hunk #2 succeeded at 116.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_i915_intel__screen.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_i915_intel__screen.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_drivers_dri_i915_intel__screen.c,v 1.2 2015/06/07 15:48:12 tnn Exp $
|
|Fix build on older NetBSD w/o _SC_PHYS_PAGES.
|
|--- src/mesa/drivers/dri/i915/intel_screen.c.orig	2015-06-07 10:06:53.000000000 +0000
|+++ src/mesa/drivers/dri/i915/intel_screen.c
--------------------------
Patching file src/mesa/drivers/dri/i915/intel_screen.c using Plan A...
Hunk #1 succeeded at 41.
Hunk #2 succeeded at 736.
Hunk #3 succeeded at 751.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_i965_intel__screen.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_i965_intel__screen.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_drivers_dri_i965_intel__screen.c,v 1.2 2015/06/07 15:48:12 tnn Exp $
|
|Fix build on older NetBSD w/o _SC_PHYS_PAGES.
|
|--- src/mesa/drivers/dri/i965/intel_screen.c.orig	2015-06-07 10:06:53.000000000 +0000
|+++ src/mesa/drivers/dri/i965/intel_screen.c
--------------------------
Patching file src/mesa/drivers/dri/i965/intel_screen.c using Plan A...
Hunk #1 succeeded at 41 (offset -1 lines).
Hunk #2 succeeded at 860 (offset 27 lines).
Hunk #3 succeeded at 847 (offset -1 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_swrast_swrast.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_drivers_dri_swrast_swrast.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_drivers_dri_swrast_swrast.c,v 1.2 2015/06/07 15:48:12 tnn Exp $
|
|Fix build on older NetBSD w/o _SC_PHYS_PAGES.
|
|--- src/mesa/drivers/dri/swrast/swrast.c.orig	2015-06-07 10:06:53.000000000 +0000
|+++ src/mesa/drivers/dri/swrast/swrast.c
--------------------------
Patching file src/mesa/drivers/dri/swrast/swrast.c using Plan A...
Hunk #1 succeeded at 151 (offset 1 line).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_main_context.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_main_context.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_main_context.c,v 1.3 2015/09/26 08:45:02 tnn Exp $
|
|* Fix exit time segfault of qt5 application with modular xorg
|
|--- src/mesa/main/context.c.orig	2015-09-11 17:41:47.000000000 +0000
|+++ src/mesa/main/context.c
--------------------------
Patching file src/mesa/main/context.c using Plan A...
Hunk #1 succeeded at 351 (offset 1 line).
Hunk #2 succeeded at 373 (offset 1 line).
Hunk #3 succeeded at 397 (offset 1 line).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_main_extensions.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_main_extensions.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_main_extensions.c,v 1.1 2016/01/27 07:39:54 wiz Exp $
|
|atexit() is not a good idea in shared libraries.
|
|--- src/mesa/main/extensions.c.orig	2016-01-07 16:17:53.000000000 +0000
|+++ src/mesa/main/extensions.c
--------------------------
Patching file src/mesa/main/extensions.c using Plan A...
Hunk #1 succeeded at 256.
Hunk #2 succeeded at 277.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_main_macros.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_main_macros.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_main_macros.h,v 1.1 2016/01/05 13:02:57 tnn Exp $
|
|ALIGN is also defined in sys/param.h on NetBSD.
|
|--- src/mesa/main/macros.h.orig	2015-12-09 16:10:13.000000000 +0000
|+++ src/mesa/main/macros.h
--------------------------
Patching file src/mesa/main/macros.h using Plan A...
Hunk #1 succeeded at 690.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_main_shader__query.cpp
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_main_shader__query.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_main_shader__query.cpp,v 1.1 2015/05/16 16:39:52 tnn Exp $
|
|https://bugs.freedesktop.org/show_bug.cgi?id=66346
|
|From c4a1fec68d2508ff0c4fc2831465aca8c4ca783a Mon Sep 17 00:00:00 2001
|From: Julien Isorce <j.isorce@samsung.com>
|Date: Wed, 22 Apr 2015 23:04:42 +0100
|Subject: [PATCH 1/2] shader_query: convert GLhandleARB to uintptr_t before
| troncating to GLuint
|
|Fixes compiler error on OSX as GLhandleARB is defined as void* if __APPLE__.
|
|https://bugs.freedesktop.org/show_bug.cgi?id=66346
|---
| src/mesa/main/shader_query.cpp | 6 +++---
| 1 file changed, 3 insertions(+), 3 deletions(-)
|
|diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
|index bc6fec5..22d9e0f 100644
|--- src/mesa/main/shader_query.cpp
|+++ src/mesa/main/shader_query.cpp
--------------------------
Patching file src/mesa/main/shader_query.cpp using Plan A...
Hunk #1 succeeded at 70 (offset 2 lines).
Hunk #2 succeeded at 138 (offset 2 lines).
Hunk #3 succeeded at 193 (offset -57 lines).
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_tnl_t__pipeline.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_tnl_t__pipeline.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_tnl_t__pipeline.c,v 1.1 2015/09/11 00:03:36 tnn Exp $
|
|i386 FPU control word defaults.
|
|--- src/mesa/tnl/t_pipeline.c.orig	2015-09-09 17:55:36.000000000 +0000
|+++ src/mesa/tnl/t_pipeline.c
--------------------------
Patching file src/mesa/tnl/t_pipeline.c using Plan A...
Hunk #1 succeeded at 132.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_x86_common__x86.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_mesa_x86_common__x86.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_mesa_x86_common__x86.c,v 1.2 2015/09/11 00:03:36 tnn Exp $
|
|DragonFly support.
|
|--- src/mesa/x86/common_x86.c.orig	2015-07-14 18:10:47.000000000 +0000
|+++ src/mesa/x86/common_x86.c
--------------------------
Patching file src/mesa/x86/common_x86.c using Plan A...
Hunk #1 succeeded at 38.
Hunk #2 succeeded at 128.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_util_strndup.c
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_util_strndup.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_util_strndup.c,v 1.1 2016/02/23 11:16:55 jperkin Exp $
|
|Provide compat strndup for older Darwin.
|
|--- src/util/strndup.c.orig	2016-01-22 15:44:31.000000000 +0000
|+++ src/util/strndup.c
--------------------------
Patching file src/util/strndup.c using Plan A...
Hunk #1 succeeded at 21.
Hunk #2 succeeded at 35.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_util_strndup.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_util_strndup.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_util_strndup.h,v 1.1 2016/02/23 11:16:55 jperkin Exp $
|
|Provide compat strndup for older Darwin.
|
|--- src/util/strndup.h.orig	2016-01-22 15:44:31.000000000 +0000
|+++ src/util/strndup.h
--------------------------
Patching file src/util/strndup.h using Plan A...
Hunk #1 succeeded at 25.
done
=> Verifying /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_util_u__atomic.h
=> Applying pkgsrc patch /data/pkgsrc-current/graphics/MesaLib/patches/patch-src_util_u__atomic.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_util_u__atomic.h,v 1.1 2015/04/25 11:19:18 tnn Exp $
|
|Fix SunOS atomic macros.
|
|--- src/util/u_atomic.h.orig	2015-03-28 18:20:39.000000000 +0000
|+++ src/util/u_atomic.h
--------------------------
Patching file src/util/u_atomic.h using Plan A...
Hunk #1 succeeded at 156 (offset -19 lines).
Hunk #2 succeeded at 165 (offset -19 lines).
done
===> Creating toolchain wrappers for MesaLib-11.2.2nb5
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/graphics/MesaLib/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/graphics/MesaLib/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for MesaLib-11.2.2nb5
=> Renaming glapi-shared/libglapi in Makefiles
INFO: [subst.mk:wrapper-bug] Nothing changed in ./src/gbm/Makefile.in.
=> Fixing hardcoded /etc/drirc references
INFO: [subst.mk:drirc] Nothing changed in ./src/mesa/drivers/dri/common/xmlconfig.c.
=> Generating pkg-config file for builtin expat package.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Nothing changed in ./src/gallium/targets/d3dadapter9/d3d.pc.in.
INFO: [subst.mk:_pkgconfig] Nothing changed in ./src/mesa/drivers/dri/dri.pc.in.
=> Checking for portability problems in extracted files
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... bin/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... plaintar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for x86_64--netbsd-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for x86_64--netbsd-ar... no
checking for x86_64--netbsd-lib... no
checking for x86_64--netbsd-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... gcc -E
checking for x86_64--netbsd-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking dependency style of gcc... gcc3
checking for GNU make... make
checking for python2.7... (cached) /usr/pkg/bin/python2.7
checking for a sed that does not truncate output... /usr/bin/sed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /data/scratch/graphics/MesaLib/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/graphics/MesaLib/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /data/scratch/graphics/MesaLib/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/data/scratch/graphics/MesaLib/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /data/scratch/graphics/MesaLib/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/graphics/MesaLib/work/.cwrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/data/scratch/graphics/MesaLib/work/.cwrapper/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/data/scratch/graphics/MesaLib/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for rm... /bin/rm
checking for bison... /usr/pkg/bin/bison -y
checking if bison is the parser generator... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking if flex is the lexer generator... yes
checking for indent... indent
indent: Command line: unknown parameter "--version"
checking if module mako in python is installed... yes
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking whether __SUNPRO_C is declared... no
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_clzll... yes
checking for __builtin_ctz... yes
checking for __builtin_expect... yes
checking for __builtin_ffs... yes
checking for __builtin_ffsll... yes
checking for __builtin_popcount... yes
checking for __builtin_popcountll... yes
checking for __builtin_unreachable... yes
checking for __attribute__((const))... yes
checking for __attribute__((flatten))... yes
checking for __attribute__((format))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((packed))... yes
checking for __attribute__((pure))... yes
checking for __attribute__((unused))... yes
checking for __attribute__((warn_unused_result))... yes
checking pkg-config is at least version 0.9.0... yes
checking whether gcc supports -Werror=missing-prototypes... yes
checking whether gcc supports -fvisibility=hidden... yes
checking whether gcc supports -Werror=vla... yes
checking whether c++ supports -fvisibility=hidden... yes
checking whether byte ordering is bigendian... no
checking whether gcc supports -mpower8-vector... no
checking if ld supports -Bsymbolic... yes
checking whether ld supports --gc-sections... yes
checking if the linker supports version-scripts... yes
checking if the linker supports --dynamic-list... yes
checking whether to enable assembly... yes, x86_64
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking for strtof... yes
checking for mkostemp... yes
checking for dlopen... yes
checking for dladdr... yes
checking for clock_gettime... yes
checking for posix_memalign... yes
checking for pthread_join in LIBS= with CFLAGS= -pthread ... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
checking for LIBDRM... no
checking for SHA1Init... yes
checking for CC_SHA1_Init... no
checking for wincrypt.h... no
checking for SHA1Init in -lmd... no
checking for LIBSHA1... no
checking for nettle_sha1_init in -lnettle... no
checking for gcry_md_open in -lgcrypt... no
checking for SHA1_Init in -lcrypto... yes
checking for OPENSSL... no
checking for SHA1 implementation... libc
checking for LIBUDEV... no
checking for LIBDEVQ... no
Please specify at least one package name on the command line.
--print-errors: not found
checking for GLPROTO... yes
configure: error: Direct rendering requires libdrm >= 2.4.60
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc-current/graphics/MesaLib
*** Error code 1

Stop.
make: stopped in /data/pkgsrc-current/graphics/MesaLib