[kde-freebsd] build kde-workspace-4.11.2 with clang

Rianav Antares kerenskyy at myopera.com
Thu Oct 24 04:10:30 UTC 2013


On Thu, 24 Oct 2013, at 01:48 AM, Schaich Alonso wrote:
> On Wed, 23 Oct 2013 23:35:34 +0000
> Rianav Antares <kerenskyy at myopera.com> wrote:
> 
> > Greetings all,
> > 
> > I would like to ask, is it possible to build  x11/kde4-workspace from
> > area51 with clang? Or does it only build using gcc?
> > 
> > Thank you.
> > 
> > RA
> 
> Other than science/step, all ports in area51 can be built using clang at
> this
> time.


Thank you for your reply.

Reason I ask is the kde4-workspace failed to build with the following:

[ 96%] Building CXX object
kwin/CMakeFiles/kdeinit_kwin.dir/glxbackend.cpp.o
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:309:10:
error: use of undeclared identifier
      'GL_GUILTY_CONTEXT_RESET_ARB'
    case GL_GUILTY_CONTEXT_RESET_KWIN:
         ^
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:297:43:
note: expanded from macro 'GL_GUILTY_CONTEXT_RESET_KWIN'
#  define GL_GUILTY_CONTEXT_RESET_KWIN    GL_GUILTY_CONTEXT_RESET_ARB
                                          ^
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:313:10:
error: use of undeclared identifier
      'GL_INNOCENT_CONTEXT_RESET_ARB'
    case GL_INNOCENT_CONTEXT_RESET_KWIN:

complete output: http://pastebin.com/pkU1D3JH

Is there any work-around for this?

Thanks.


More information about the kde-freebsd mailing list