Created attachment 152108 [details] files/patch-fontforge_splinefont.h Build on 8.4-RELEASE fails due to lack of base r235785 leading to: In file included from fontforge.h:37, from fontforgevw.h:30, from fontforgeui.h:32, from activeinui.c:28: splinefont.h:3561: error: expected ')' before '*' token splinefont.h:3576: error: expected ')' before '*' token splinefont.h:3590: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newlocale_hack' splinefont.h:3599: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uselocale_hack' splinefont.h:3607: error: expected ')' before 'dataset' http://beefy1.isc.freebsd.org/bulk/84i386-default/latest/logs/errors/fontforge-20141126_1.log http://beefy2.isc.freebsd.org/bulk/84amd64-default/latest/logs/errors/fontforge-20141126_1.log In case the hack isn't acceptable let's put: .if ${OSVERSION} < 900506 BROKEN= No locale_t support .endif
Maintainer CC'd
Created attachment 152109 [details] |poudriere testport| log for 8.4R amd64 Added the following line in the patch, so the hack reflects in logs: #warning "locale_t support not found, using a hack"
Runtime on 8.4R seems to work fine unless the following isn't enough. $ fontforge /usr/local/lib/X11/fonts/dejavu/DejaVuSans.ttf Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE. Based on sources from 22:14 UTC 24-Jan-2015-ML-NoPython-D. Based on source from git with hash: no xdefs_filename! TESTING: getPixmapDir:/usr/local/share/fontforge/pixmaps TESTING: getShareDir:/usr/local/share/fontforge TESTING: GResourceProgramDir:/usr/local/bin trying default theme:/usr/local/share/fontforge/pixmaps/resources else argv[i]:/usr/local/lib/X11/fonts/dejavu/DejaVuSans.ttf SplineFontPieceMeal() going unhinted...
Created attachment 152110 [details] |poudriere testport| log for 10.0R amd64
https://reviews.freebsd.org/D1662
Oops, patch-ready may not be set without maintainer-approval.
The hack looks fine to me, I'll approve of the patch as well.
A commit references this bug: Author: jbeich Date: Sun Jan 25 08:22:30 UTC 2015 New revision: 377865 URL: https://svnweb.freebsd.org/changeset/ports/377865 Log: Unbreak build on 8.x PR: 197056 Differential Revision: https://reviews.freebsd.org/D1662 Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) Approved by: bapt (mentor) Changes: head/print/fontforge/files/patch-fontforge_splinefont.h