mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Issue #80 - de-unify and fix up gfx/graphite2
With de-unified building we have to re-apply the fix-up for <cstdio>, and additionally the same for <cstring> to prevent the compiler picking the wrong versions of standard functions.
This commit is contained in:
parent
21dcaa3b59
commit
3bd4d91630
21 changed files with 28 additions and 32 deletions
|
|
@ -33,9 +33,10 @@ echo "$TARBALL" >> gfx/graphite2/README.mozilla
|
|||
echo ""
|
||||
echo "See" $0 "for update procedure." >> gfx/graphite2/README.mozilla
|
||||
|
||||
# fix up includes because of bug 721839 (cstdio) and bug 803066 (Windows.h)
|
||||
#find gfx/graphite2/ -name "*.cpp" -exec perl -p -i -e "s/<cstdio>/<stdio.h>/;s/Windows.h/windows.h/;" {} \;
|
||||
#find gfx/graphite2/ -name "*.h" -exec perl -p -i -e "s/<cstdio>/<stdio.h>/;s/Windows.h/windows.h/;" {} \;
|
||||
# fix up includes because of BZ bug 721839 (cstdio) and BZ bug 803066 (Windows.h)
|
||||
# Additional issue with inclusion of <cstring> in non-unified mode (Issue #80)
|
||||
find gfx/graphite2/ -name "*.cpp" -exec perl -p -i -e "s/<cstdio>/<stdio.h>/;s/<cstring>/<string.h>/;s/Windows.h/windows.h/;" {} \;
|
||||
find gfx/graphite2/ -name "*.h" -exec perl -p -i -e "s/<cstdio>/<stdio.h>/;s/<cstring>/<string.h>/;s/Windows.h/windows.h/;" {} \;
|
||||
|
||||
# summarize what's been touched
|
||||
echo Updated to $RELEASE.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue