[Fontconfig-bugs] [Bug 48020] New: Fix for src/makealias on Solaris 10
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 28 22:26:11 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=48020
Bug #: 48020
Summary: Fix for src/makealias on Solaris 10
Classification: Unclassified
Product: fontconfig
Version: 2.8
Platform: SPARC
OS/Version: Solaris
Status: NEW
Severity: blocker
Priority: medium
Component: conf
AssignedTo: fontconfig-bugs at lists.freedesktop.org
ReportedBy: mark at ibiblio.org
QAContact: freedesktop at behdad.org
SunOS host 5.10 Generic_142901-13 i86pc i386 i86pc
SunOS host2 5.10 Generic_142909-17 sun4v sparc SUNW,T5240
Version:
fontconfig 2.9.0 (this version is not an option in the bug submitter)
Overview:
The shell code syntax used in src/makealias bombs on Solaris 10. (Works on
Solaris 11 however). The $(....) syntax can be replaced by `....` and things
are happy.
Error:
Making all in src
gmake[2]: Entering directory `/var/tmp/fontconfig-2.9.0/src'
sh ../src/makealias "../src" fcalias.h fcaliastail.h ../fontconfig/fontconfig.h
../src/fcdeprecate.h ../fontconfig/fcprivate.h
../src/makealias: syntax error at line 20: `ifdef=$' unexpected
Bad line:
ifdef=$(grep -l '^'$name'[ (]' "$SRCDIR"/*.c | sed -n 1p | sed -e
's/^.*\/\([^.]*\)\.c/__\1__/')
Fix:
/bin/perl -pe 's/\$\(/\`/ && s/\)$/`/' -i src/makealias
Good line:
ifdef=`grep -l '^'$name'[ (]' "$SRCDIR"/*.c | sed -n 1p | sed -e
's/^.*\/\([^.]*\)\.c/__\1__/'`
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Fontconfig-bugs
mailing list