From nobody@FreeBSD.org  Wed Jan 16 16:24:32 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 2C14B8E6
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jan 2013 16:24:32 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1CB667FD
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jan 2013 16:24:32 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0GGOVME023034
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jan 2013 16:24:31 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r0GGOVao023033;
	Wed, 16 Jan 2013 16:24:31 GMT
	(envelope-from nobody)
Message-Id: <201301161624.r0GGOVao023033@red.freebsd.org>
Date: Wed, 16 Jan 2013 16:24:31 GMT
From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/libosmesa: NameError: name 'ws_dri' is not defined:
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175356
>Category:       ports
>Synopsis:       graphics/libosmesa: NameError: name 'ws_dri' is not defined:
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gahr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 16 16:30:00 UTC 2013
>Closed-Date:    Mon Jan 28 08:14:17 UTC 2013
>Last-Modified:  Mon Jan 28 08:20:00 UTC 2013
>Originator:     O. Hartmann
>Release:        FreeBSD 10-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
FreeBSD 10.0-CURRENT #0 r245498: Wed Jan 16 10:06:48 CET 2013
>Description:
The update of port graphics/libosmesa on freeBSD 10.0-CURRENT fails with the below shown error message.

The system uses in /etc/make.conf the following X11 related flags to build new X11-software in favour of the old versions:

# New Xorg and Mesa
WITH_NEW_XORG=          YES
WITH_KMS=               YES


The build fails at the initial phase with the following error:

[...]
Mkdir("build/freebsd")
warning: gcc 4.2.x optimizer is broken -- disabling optimizations
Checking for X11 (x11 xext xdamage xfixes)... yes
Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... no
Checking for XF86VIDMODE (xxf86vm)... yes
Checking for DRM (libdrm >= 2.4.24)... yes
Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... yes
Checking for DRM_RADEON (libdrm_radeon >= 2.4.31)... yes
Checking for XORG (xorg-server >= 1.6.0)... yes
Checking for KMS (libkms >= 2.4.24)... no
Checking for UDEV (libudev > 150)... no
fatal: Not a git repository (or any parent up to mount point /usr/ports)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Checking for C header file X11/extensions/dpmsconst.h... yes
NameError: name 'ws_dri' is not defined:
  File "/usr/ports/graphics/libosmesa/work/Mesa-9.0.1/SConstruct", line 144:
    duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 614:
    return method(*args, **kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "/usr/ports/graphics/libosmesa/work/Mesa-9.0.1/src/SConscript", line 34:
    SConscript('gallium/SConscript')
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 614:
    return method(*args, **kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "/usr/ports/graphics/libosmesa/work/Mesa-9.0.1/src/gallium/SConscript", line 148:
    'targets/dri-vmwgfx/SConscript',
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 614:
    return method(*args, **kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 551:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "/usr/ports/graphics/libosmesa/work/Mesa-9.0.1/src/gallium/targets/dri-swrast/SConscript", line 11:
    ws_dri,
*** [do-build] Error code 2

Stop in /usr/ports/graphics/libosmesa.

===>>> make failed for graphics/libosmesa
===>>> Aborting update

>How-To-Repeat:
Update port graphics/libosmesa. The update fails on systems FreeBSD 10 and FreeBSD 9.1-STABLE with new Xorg set (having those flags NOT set is not tested since we do not have such systems anymore).
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gahr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jan 16 16:30:09 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175356 

From: Pietro Cerutti <gahr@FreeBSD.org>
To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de
Cc:  
Subject: Re: ports/175356: graphics/libosmesa: NameError: name 'ws_dri' is
 not defined:
Date: Thu, 24 Jan 2013 13:33:07 +0100

 --81JctsDUVPekGcy+
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I just committed an update to libosmesa 9.0.2. Would you please check
 whether it solves the problem?
 
 --=20
 Pietro Cerutti
 The FreeBSD Project
 gahr@FreeBSD.org
 
 PGP Public Key:
 http://gahr.ch/pgp
 
 --81JctsDUVPekGcy+
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (FreeBSD)
 
 iEYEARECAAYFAlEBKgIACgkQwMJqmJVx947epgCfdEiERRbbOLov3yePBeK5Othw
 Z98An1oeRDaMMYHPjbL1s4/6cYJLX4Z7
 =7Yh/
 -----END PGP SIGNATURE-----
 
 --81JctsDUVPekGcy+--
State-Changed-From-To: open->feedback 
State-Changed-By: gahr 
State-Changed-When: Thu Jan 24 12:46:40 UTC 2013 
State-Changed-Why:  
Ask for submitter approval. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175356 

From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: gahr@FreeBSD.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/175356: graphics/libosmesa: NameError: name 'ws_dri' is
 not defined:
Date: Thu, 24 Jan 2013 14:26:46 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig99360796AF9D91BD41E327CC
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 On 01/24/13 13:33, Pietro Cerutti wrote:
 > I just committed an update to libosmesa 9.0.2. Would you please check
 > whether it solves the problem?
 >=20
 
 
 Hello.
 
 Sorry, no, it doesn't work (on my FreeBSD 10.0-CURRENT/amd64 boxes).
 
 On one system, fresh install, I tried this also (make buildworld on all
 system as of today ( FreeBSD 10.0-CURRENT #0 r245876: Thu Jan 24
 11:54:54 CET 2013), the ports are also up to date and I recompiled xorg
 and siblings via portmaster -f xorg these days.
 
 The error that occurs on that machines is as follows and quite similar
 to the reported one.
 
 
 By the way, as reported, I see the same misbehaviour of a recent FreeBSD
 9.1-STABLE box which has CLANG 3.2 compiled buildworld.
 
 The problem also remains when trying to compile the port with USE_GCC=3D4=
 =2E6+.
 
 Regards,
 Oliver
 
 [...]
 Checking for KMS (libkms >=3D 2.4.24)... no
 Checking for UDEV (libudev > 150)... no
 warning: LLVM disabled: not building llvmpipe
 Checking for C header file X11/extensions/dpmsconst.h... yes
 NameError: name 'ws_dri' is not defined:
   File "/usr/ports/graphics/libosmesa/work/Mesa-9.0.2/SConstruct", line 1=
 44:
     duplicate =3D 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261=
 =2Ehtml
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 614:=
 
     return method(*args, **kw)
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 551:=
 
     return _SConscript(self.fs, *files, **subst_kw)
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 260:=
 
     exec _file_ in call_stack[-1].globals
   File "/usr/ports/graphics/libosmesa/work/Mesa-9.0.2/src/SConscript",
 line 34:
     SConscript('gallium/SConscript')
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 614:=
 
     return method(*args, **kw)
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 551:=
 
     return _SConscript(self.fs, *files, **subst_kw)
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 260:=
 
     exec _file_ in call_stack[-1].globals
   File
 "/usr/ports/graphics/libosmesa/work/Mesa-9.0.2/src/gallium/SConscript",
 line 148:
     'targets/dri-vmwgfx/SConscript',
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 614:=
 
     return method(*args, **kw)
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 551:=
 
     return _SConscript(self.fs, *files, **subst_kw)
   File "/usr/local/lib/scons-2.1.0/SCons/Script/SConscript.py", line 260:=
 
     exec _file_ in call_stack[-1].globals
   File
 "/usr/ports/graphics/libosmesa/work/Mesa-9.0.2/src/gallium/targets/dri-sw=
 rast/SConscript",
 line 11:
     ws_dri,
 *** [do-build] Error code 2
 
 Stop in /usr/ports/graphics/libosmesa.
 
 
 
 --------------enig99360796AF9D91BD41E327CC
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (FreeBSD)
 
 iQEcBAEBAgAGBQJRATagAAoJEOgBcD7A/5N8hS0H/2tU5JUicp4+VJaDz5CXVEt6
 iR1zHDmLDsSGqVJlSOSKuN/KaCmuLmhxMmzzAHMOTTjnxhGdXFE03KBigO92rJKM
 z4pIoixYZE+yADnMvPpl1VLGEN7jyg3Pqz08DNXZnNKxSnPc/vTAIDt8gkf8PNzp
 dSTzshzyry2gyamMwGTpu00qAw5rYRekeJQa7j2d0whwpQm5Vj5EupqJMicsiJpQ
 HW8UAy78gZ8AJVmmGXvk0ga0lESwL2zPMmQMjN9Y+/PzrIcGD6WV0MmTfsJ8Pyx9
 VshErVdKwffy+cIroZzL9aVst0+Pmh4I02nqTpWEylMGOBtGS2lv9l9Zj6DwuNo=
 =BHwI
 -----END PGP SIGNATURE-----
 
 --------------enig99360796AF9D91BD41E327CC--

From: Pietro Cerutti <gahr@FreeBSD.org>
To: "O. Hartmann" <ohartman@zedat.fu-berlin.de>, bugs-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175356: graphics/libosmesa: NameError: name 'ws_dri' is
 not defined:
Date: Thu, 24 Jan 2013 14:47:59 +0100

 --3MMMIZFJzhAsRj/+
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I see.. the problem seems to be due to using NEW_XORG. Unfortunately I
 don't have a machine to build the new xorg on at the moment.
 
 Would you be willing to grant me ssh access to that box?
 
 --=20
 Pietro Cerutti
 The FreeBSD Project
 gahr@FreeBSD.org
 
 PGP Public Key:
 http://gahr.ch/pgp
 
 --3MMMIZFJzhAsRj/+
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (FreeBSD)
 
 iEYEARECAAYFAlEBO44ACgkQwMJqmJVx947XhQCfR+iupNKqJkzdc6IVEjyaCDK7
 gcoAoMFHxLkmlNQc+mxqJMd+X2M5W+In
 =oReJ
 -----END PGP SIGNATURE-----
 
 --3MMMIZFJzhAsRj/+--

From: Pietro Cerutti <gahr@FreeBSD.org>
To: "O. Hartmann" <ohartman@zedat.fu-berlin.de>, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175356: graphics/libosmesa: NameError: name 'ws_dri' is
 not defined:
Date: Fri, 25 Jan 2013 10:37:17 +0100

 --iUV/lbBrmPtUT9dM
 Content-Type: multipart/mixed; boundary="zH41lVBEV8cLJnCl"
 Content-Disposition: inline
 
 
 --zH41lVBEV8cLJnCl
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hello Oliver,
 
 would you mind trying to apply this patch?
 
 --=20
 Pietro Cerutti
 The FreeBSD Project
 gahr@FreeBSD.org
 
 PGP Public Key:
 http://gahr.ch/pgp
 
 --zH41lVBEV8cLJnCl
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: attachment; filename="patch-ws_dri.txt"
 Content-Transfer-Encoding: quoted-printable
 
 Index: src/gallium/winsys/sw/dri/SConscript
 @@ -4,7 +4,7 @@
 =20
  Import('*')
 =20
 -if env['platform'] in ('linux', 'sunos'):
 +if env['platform'] in ('freebsd', 'linux', 'sunos'):
 =20
      env =3D env.Clone()
 =20
 
 --zH41lVBEV8cLJnCl--
 
 --iUV/lbBrmPtUT9dM
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (FreeBSD)
 
 iEYEARECAAYFAlECUkwACgkQwMJqmJVx9454GQCfdaKPIsLaE2KFgPBAacNj4Y7Z
 v08An27IcfZvoH/oBur+Yt8yLeGTHkde
 =bKHq
 -----END PGP SIGNATURE-----
 
 --iUV/lbBrmPtUT9dM--

From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: gahr@FreeBSD.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/175356: graphics/libosmesa: NameError: name 'ws_dri' is
 not defined:
Date: Fri, 25 Jan 2013 10:53:21 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig83A3FEB8E64BB27B85BB6714
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 On 01/25/13 10:37, Pietro Cerutti wrote:
 > Hello Oliver,
 >=20
 > would you mind trying to apply this patch?
 >=20
 
 
 Patch applied and it seems the boxes can build the port. But I realize
 another issue.
 While on FreeBSD 10.0-CURRENT CLANG is now the deafult compiler and the
 C++ compiler is referenced as g++ - the port uses g++ compiler
 correctly, but then it seems to use hardcoded gcc in portions of the
 sources, where the C compiler is involved, below a portion of the
 console output.
 
 gcc is on FreeBSD 10.0-CURRENT boxes the legacy GNU GCC C compiler, as
 far as I know and this is not desired I guess.
 
 
 [...]
 g++ -o build/freebsd/glsl/builtin_compiler
 build/freebsd/glsl/standalone_scaffolding.o build/freebsd/glsl/main.o
 build/freebsd/glsl/hash_table.o build/freebsd/glsl/symbol_table.o
 build/freebsd/glsl/glcpp/glcpp-lex.o
 build/freebsd/glsl/glcpp/glcpp-parse.o build/freebsd/glsl/glsl_lexer.o
 build/freebsd/glsl/glsl_parser.o build/freebsd/glsl/glcpp/pp.o
 build/freebsd/glsl/strtod.o build/freebsd/glsl/ralloc.o
 build/freebsd/glsl/ast_expr.o build/freebsd/glsl/ast_function.o
 build/freebsd/glsl/ast_to_hir.o build/freebsd/glsl/ast_type.o
 build/freebsd/glsl/builtin_variables.o
 build/freebsd/glsl/glsl_parser_extras.o build/freebsd/glsl/glsl_types.o
 build/freebsd/glsl/glsl_symbol_table.o
 build/freebsd/glsl/hir_field_selection.o
 build/freebsd/glsl/ir_basic_block.o build/freebsd/glsl/ir_builder.o
 build/freebsd/glsl/ir_clone.o
 build/freebsd/glsl/ir_constant_expression.o build/freebsd/glsl/ir.o
 build/freebsd/glsl/ir_expression_flattening.o
 build/freebsd/glsl/ir_function_can_inline.o
 build/freebsd/glsl/ir_function_detect_recursion.o
 build/freebsd/glsl/ir_function.o
 build/freebsd/glsl/ir_hierarchical_visitor.o
 build/freebsd/glsl/ir_hv_accept.o
 build/freebsd/glsl/ir_import_prototypes.o
 build/freebsd/glsl/ir_print_visitor.o build/freebsd/glsl/ir_reader.o
 build/freebsd/glsl/ir_rvalue_visitor.o
 build/freebsd/glsl/ir_set_program_inouts.o
 build/freebsd/glsl/ir_validate.o
 build/freebsd/glsl/ir_variable_refcount.o build/freebsd/glsl/linker.o
 build/freebsd/glsl/link_functions.o build/freebsd/glsl/link_uniforms.o
 build/freebsd/glsl/link_uniform_initializers.o
 build/freebsd/glsl/loop_analysis.o build/freebsd/glsl/loop_controls.o
 build/freebsd/glsl/loop_unroll.o
 build/freebsd/glsl/lower_clip_distance.o
 build/freebsd/glsl/lower_discard.o
 build/freebsd/glsl/lower_discard_flow.o
 build/freebsd/glsl/lower_if_to_cond_assign.o
 build/freebsd/glsl/lower_instructions.o build/freebsd/glsl/lower_jumps.o
 build/freebsd/glsl/lower_mat_op_to_vec.o
 build/freebsd/glsl/lower_noise.o
 build/freebsd/glsl/lower_texture_projection.o
 build/freebsd/glsl/lower_variable_index_to_cond_assign.o
 build/freebsd/glsl/lower_vec_index_to_cond_assign.o
 build/freebsd/glsl/lower_vec_index_to_swizzle.o
 build/freebsd/glsl/lower_vector.o
 build/freebsd/glsl/lower_output_reads.o
 build/freebsd/glsl/lower_ubo_reference.o
 build/freebsd/glsl/opt_algebraic.o
 build/freebsd/glsl/opt_array_splitting.o
 build/freebsd/glsl/opt_constant_folding.o
 build/freebsd/glsl/opt_constant_propagation.o
 build/freebsd/glsl/opt_constant_variable.o
 build/freebsd/glsl/opt_copy_propagation.o
 build/freebsd/glsl/opt_copy_propagation_elements.o
 build/freebsd/glsl/opt_dead_code.o
 build/freebsd/glsl/opt_dead_code_local.o
 build/freebsd/glsl/opt_dead_functions.o
 build/freebsd/glsl/opt_function_inlining.o
 build/freebsd/glsl/opt_if_simplification.o
 build/freebsd/glsl/opt_noop_swizzle.o
 build/freebsd/glsl/opt_redundant_jumps.o
 build/freebsd/glsl/opt_structure_splitting.o
 build/freebsd/glsl/opt_swizzle_swizzle.o
 build/freebsd/glsl/opt_tree_grafting.o build/freebsd/glsl/s_expression.o
 build/freebsd/glsl/builtin_stubs.o -Wl,--start-group -lm -lpthread
 -Wl,--end-group
 ld/freebsd-x86_64/mesa -Ibuild/freebsd-x86_64/mesa/main -Isrc/mesa/main
 src/mesa/vbo/vbo_save.c
 gcc -o build/freebsd-x86_64/mesa/math/m_xform.os -c -Wmissing-prototypes
 -std=3Dgnu99 -Wdeclaration-after-statement -O0 -fno-builtin-memcmp
 -fno-strict-aliasing -g -m64 -fvisibility=3Dhidden -Wall -Wno-long-long
 -fmessage-length=3D0 -Wpointer-arith -fPIC -DNDEBUG -DHAVE_PTHREAD
 -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
 -DHAVE_ALIAS -DFEATURE_GL=3D1 -DIN_DRI_DRIVER -DHAVE_DLOPEN=3D1
 -DUSE_X86_64_ASM -Iinclude -Isrc/gallium/include -Isrc/gallium/auxiliary
 -Isrc/gallium/drivers -Isrc/gallium/winsys -Isrc/mapi -Isrc/glsl
 -Isrc/mesa -Ibuild/freebsd-x86_64/mesa -Isrc/mesa
 -Ibuild/freebsd-x86_64/mesa -Ibuild/freebsd-x86_64/mesa/main
 -Isrc/mesa/main src/mesa/math/m_xform.c
 gcc -o build/freebsd-x86_64/mesa/tnl/t_vertex_sse.os -c
 -Wmissing-prototypes -std=3Dgnu99 -Wdeclaration-after-statement -O0
 -fno-builtin-memcmp -fno-strict-aliasing -g -m64 -fvisibility=3Dhidden
 -Wall -Wno-long-long -fmessage-length=3D0 -Wpointer-arith -fPIC -DNDEBUG
 -DHAVE_PTHREAD -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING
 -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DFEATURE_GL=3D1 -DIN_DRI_DRIVER
 -DHAVE_DLOPEN=3D1 -DUSE_X86_64_ASM -Iinclude -Isrc/gallium/include
 -Isrc/gallium/auxiliary -Isrc/gallium/drivers -Isrc/gallium/winsys
 -Isrc/mapi -Isrc/glsl -Isrc/mesa -Ibuild/freebsd-x86_64/mesa -Isrc/mesa
 -Ibuild/freebsd-x86_64/mesa -Ibuild/freebsd-x86_64/mesa/main
 -Isrc/mesa/main src/mesa/tnl/t_vertex_sse.c
 gcc -o build/freebsd-x86_64/mesa/program/prog_print.os -c
 -Wmissing-prototypes -std=3Dgnu99 -Wdeclaration-after-statement -O0
 -fno-builtin-memcmp -fno-strict-aliasing -g -m64 -fvisibility=3Dhidden
 -Wall -Wno-long-long -fmessage-length=3D0 -Wpointer-arith -fPIC -DNDEBUG
 -DHAVE_PTHREAD -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING
 -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DFEATURE_GL=3D1 -DIN_DRI_DRIVER
 -DHAVE_DLOPEN=3D1 -DUSE_X86_64_ASM -Iinclude -Isrc/gallium/include
 -Isrc/gallium/auxiliary -Isrc/gallium/drivers -Isrc/gallium/winsys
 -Isrc/mapi -Isrc/glsl -Isrc/mesa -Ibuild/freebsd-x86_64/mesa -Isrc/mesa
 -Ibuild/freebsd-x86_64/mesa -Ibuild/freebsd-x86_64/mesa/main
 -Isrc/mesa/main src/mesa/program/prog_print.c
 g++ -o build/freebsd/glsl/builtin_function.os -c -O0 -fno-builtin-memcmp
 -fno-strict-aliasing -g -m64 -fvisibility=3Dhidden -Wall -Wno-long-long
 -fmessage-length=3D0 -Wpointer-arith -fPIC -DNDEBUG -DHAVE_PTHREAD
 -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
 -DHAVE_ALIAS -Iinclude -Isrc/mapi -Isrc/mesa -Isrc/glsl -Isrc/glsl/glcpp
 -Iinclude -Isrc/groot@telesto: [Mesa-9.0.2] allium/include
 -Isrc/gallium/auxiliary -Isrc/gallium/drivers -Isrc/gallium/winsys
 -Ibuild/freebsd-x86_64/glsl -Isrc/glsl -Ibuild/usr/local/bin/python
 src/glsl/builtins/tools/generate_builtins.py
 build/freebsd/glsl/builtin_compiler >
 build/freebsd/glsl/builtin_function.cpp
 root@telesto: [Mesa-9.0.2] /freebsd-x86_64/glsl/glcpp -Isrc/glsl/glcpp
 build/freebsd/glsl/builtin_function.cppgcc -o
 build/freebsd-x86_64/mesa/main/atifragshader.os -c -Wmissing-prototypes
 -std=3Dgnu99 -Wdeclaration-after-statement -O0 -fno-builtin-memcmp
 -fno-strict-aliasing -g -m64 -fvisibility=3Dhidden -Wall -Wno-long-long
 -fmessage-length=3D0 -Wpointer-arith -fPIC -DNDEBUG -DHAVE_PTHREAD
 -DHAVE_POSIX_MEMALIGN -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING
 -DHAVE_ALIAS -DFEATURE_GL=3D1 -DIN_DRI_DRIVER -DHAVE_DLOPEN=3D1
 -DUSE_X86_64_ASM -Iinclude -Isrc/gallium/include -Isrc/gallium/auxiliary
 -Isrc/gallium/drivers -Isrc/gallium/winsys -Isrc/mapi -Isrc/glsl
 -Isrc/mesa -Ibuild/freebsd-x86_64/mesa -Isrc/mesa
 -Ibuild/freebsd-x86_64/mesa -Ibuild/freebsd-x86_64/mesa/main
 -Isrc/mesa/main src/mesa/main/atifragshader.c
 [...]
 
 Regards,
 Oliver
 
 
 --------------enig83A3FEB8E64BB27B85BB6714
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (FreeBSD)
 
 iQEcBAEBAgAGBQJRAlYYAAoJEOgBcD7A/5N8jpwH/RYyqdo1XzpLeXVhioc4vbL8
 8xvzwkVtYdWiEXD1P6WFXyd9G4zK1UofW2Ja+nvmxhLX9cSIOmgkv8Htz2H6oa+q
 jW/f4JyNbNbdJAXikYLdkazNCOct0SKFTcdD9sgQgdkd+vv/1PTol1YTln7bwNIC
 IpNGOOp6UL+WMD8sXDPdOTKVbo5SXTUYsN3SuWnV9q0zeXhwespcYCMjxyygRyYW
 6UOfCgPLWr1DN1eB0Whlxzxigvutf5rCnEAyZDVRAXkRhDNu0DgmGfX9jB+Ze1OX
 YarfeT/4n+s6UtmjDWlZ+XMdmj+FWe0+D8WvwLIiAW484uX72WBNpuu2+XUotAQ=
 =377U
 -----END PGP SIGNATURE-----
 
 --------------enig83A3FEB8E64BB27B85BB6714--
State-Changed-From-To: feedback->closed 
State-Changed-By: gahr 
State-Changed-When: Mon Jan 28 08:14:16 UTC 2013 
State-Changed-Why:  
The patch has been committed. I'll take care of respecting CC / CXX 
separately. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175356 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175356: commit references a PR
Date: Mon, 28 Jan 2013 08:13:30 +0000 (UTC)

 Author: gahr
 Date: Mon Jan 28 08:13:22 2013
 New Revision: 311101
 URL: http://svnweb.freebsd.org/changeset/ports/311101
 
 Log:
   - Fix build with NEW_XORG
   
   PR:		175356
   Submitted by:	"O. Hartmann" <ohartman@zedat.fu-berlin.de>
   Patch by:	ak
 
 Added:
   head/graphics/libosmesa/files/patch-ws_dri.txt   (contents, props changed)
 
 Added: head/graphics/libosmesa/files/patch-ws_dri.txt
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/libosmesa/files/patch-ws_dri.txt	Mon Jan 28 08:13:22 2013	(r311101)
 @@ -0,0 +1,10 @@
 +Index: src/gallium/winsys/sw/dri/SConscript
 +@@ -4,7 +4,7 @@
 + 
 + Import('*')
 + 
 +-if env['platform'] in ('linux', 'sunos'):
 ++if env['platform'] in ('freebsd', 'linux', 'sunos'):
 + 
 +     env = env.Clone()
 + 
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
