Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2019 15:51:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241200] x11/xlockmore compilation failure when MESAGL selected
Message-ID:  <bug-241200-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241200

            Bug ID: 241200
           Summary: x11/xlockmore compilation failure when MESAGL selected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jgh@FreeBSD.org
          Reporter: russo@bogodyn.org
          Assignee: jgh@FreeBSD.org
             Flags: maintainer-feedback?(jgh@FreeBSD.org)

Created attachment 208249
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208249&action=
=3Dedit
Patch to add freetype2 include directory to CFLAGS

After the last update to xlockmore 5.59 (svn r513774), I am no longer able =
to
compile with MESAGL turned on.  The result is a compilation error failing to
find ft2build.h (which is included by ftgl.h):

--- ./text3d2.o ---
In file included from ./text3d2.cc:79:
/usr/local/include/FTGL/FTGLExtrdFont.h:29:5: warning: This header is
deprecated. Please use <FTGL/ftgl.h> from now. [-W#warnings]
#   warning This header is deprecated. Please use <FTGL/ftgl.h> from now.
    ^
In file included from ./text3d2.cc:79:
In file included from /usr/local/include/FTGL/FTGLExtrdFont.h:30:
/usr/local/include/FTGL/ftgl.h:32:10: fatal error: 'ft2build.h' file not fo=
und
#include <ft2build.h>
         ^~~~~~~~~~~~


The reason for this is that there is no -I flag in CFLAGS to add the freety=
pe2
directory to the include path, which is necessary to find ft2build.h.

The attached patch to the xlockmore Makefile is sufficient to get the thing
built for me.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241200-7788>