pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48989: x11/modular-xorg-server PKG_OPTIONS.freetype2 = png needed for X11_TYPE=modular



The following reply was made to PR pkg/48989; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/48989: x11/modular-xorg-server PKG_OPTIONS.freetype2 = png
 needed for X11_TYPE=modular
Date: Sun, 13 Jul 2014 14:27:34 +0200

 On Sat, Jul 12, 2014 at 06:55:00PM +0000, davshao%gmail.com@localhost wrote:
 > For both NetBSD 6.99.47 amd64 and DragonFly 3.9-DEVELOPMENT x86_64, systems 
 > running pkgsrc with X11_TYPE=modular and without in mk.conf
 > 
 > PKG_OPTIONS.freetype2 = png
 > 
 > have packages such as x11/modular-xorg-server fail to build with error 
 > messages such as:
 > 
 > sdksyms.c:1681:5: warning: cast discards '__attribute__((noreturn))' 
 > qualifier from pointer target type [-Wcast-qual]
 >   CCLD     Xorg
 > /usr/libexec/binutils224/elf/ld.bfd: cannot find -lpng16
 
 
 There must be more to it, because I don't see this while regularly
 building on NetBSD-current with X11_TYPE=modular and the following
 options for freetype2 (none):
 
 # make show-options
 Any of the following general options may be selected:
         png      Enable PNG support.
         subpixel
 
 These options are enabled by default:
 
 These options are currently enabled:
 
 You can select which build options to use by setting PKG_DEFAULT_OPTIONS
 or PKG_OPTIONS.freetype2.
 #
 
  Thomas
 


Home | Main Index | Thread Index | Old Index