aboutsummaryrefslogtreecommitdiff
path: root/fontconfig
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-03-12 08:32:17 +0100
committermarha <marha@users.sourceforge.net>2012-03-12 08:32:17 +0100
commit285bce5f59c5466a6fd1e3af601daa7cce066ea4 (patch)
treee1a9205dd5acd2c0ef7dc8a20ec3fac3a3aecf7f /fontconfig
parentf7eb7329c8efe023b304d5e66b08d1a998973220 (diff)
parentb91444584a64f4f7b3eaeee05ef36ac53691fb24 (diff)
downloadvcxsrv-285bce5f59c5466a6fd1e3af601daa7cce066ea4.tar.gz
vcxsrv-285bce5f59c5466a6fd1e3af601daa7cce066ea4.tar.bz2
vcxsrv-285bce5f59c5466a6fd1e3af601daa7cce066ea4.zip
Merge remote-tracking branch 'origin/released'
Conflicts: libX11/src/OpenDis.c libX11/src/xcb_io.c xorg-server/xkeyboard-config/keymap/sun_vndr/all.in xorg-server/xkeyboard-config/semantics/default.in
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/Makefile.am4
-rw-r--r--fontconfig/README129
-rw-r--r--fontconfig/configure.in8
-rw-r--r--fontconfig/doc/Makefile.am37
-rw-r--r--fontconfig/fc-cache/Makefile.am10
-rw-r--r--fontconfig/fc-case/Makefile.am10
-rw-r--r--fontconfig/fc-cat/Makefile.am6
-rw-r--r--fontconfig/fc-glyphname/Makefile.am4
-rw-r--r--fontconfig/fc-lang/Makefile.am4
-rw-r--r--fontconfig/fc-list/Makefile.am8
-rw-r--r--fontconfig/fc-match/Makefile.am8
-rw-r--r--fontconfig/fc-pattern/Makefile.am6
-rw-r--r--fontconfig/fc-query/Makefile.am8
-rw-r--r--fontconfig/fc-scan/Makefile.am8
-rw-r--r--fontconfig/fontconfig/fontconfig.h2
-rw-r--r--fontconfig/new-version.sh2
-rw-r--r--fontconfig/src/Makefile.am2
17 files changed, 189 insertions, 67 deletions
diff --git a/fontconfig/Makefile.am b/fontconfig/Makefile.am
index 7931717a2..ed3065030 100644
--- a/fontconfig/Makefile.am
+++ b/fontconfig/Makefile.am
@@ -71,7 +71,7 @@ $(srcdir)/ChangeLog:
if test -d "$(srcdir)/.git"; then \
(GIT_DIR=$(top_srcdir)/.git ./missing --run git log --stat) | fmt --split-only > $@.tmp \
&& mv -f $@.tmp $@ \
- || ($(RM) $@.tmp; \
+ || (rm -f $@.tmp; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> $@)); \
else \
@@ -89,7 +89,7 @@ fonts.conf: fonts.conf.in Makefile
-e 's,@FC_FONTPATH\@,$(FC_FONTPATH),g' \
-e 's,@PACKAGE\@,$(PACKAGE),g' \
-e 's,@VERSION\@,$(VERSION),g' \
- $< > $@.tmp && \
+ $(srcdir)/$@.in > $@.tmp && \
mv $@.tmp $@
install-data-local: fonts.conf
diff --git a/fontconfig/README b/fontconfig/README
index adbaf3679..07558b596 100644
--- a/fontconfig/README
+++ b/fontconfig/README
@@ -1,12 +1,137 @@
Fontconfig
Font configuration and customization library
- Version 2.8
- 2009-11-18
+ Version 2.9
+ 2012-03-11
Check INSTALL for compilation and installation instructions.
Report bugs to https://bugs.freedesktop.org in the fontconfig module.
+2.9
+
+Akira TAGOH (28):
+ Add charset editing feature.
+ add some document for range and charset.
+ Add the range support in blank element
+ Add editing langset feature.
+ add some documents
+ Bug 24744 - No n'ko orthography
+ Remove the unnecessary comment in ks.orth
+ Bug 32965 - Asturian (ast-ES) language matching missing ḷḷḥ
+ Add a missing file
+ Bug 35517 - Remove Apple Roman cmap support
+ Bug 40452 - Running 'fc-match --all' core dumps when no fonts are installed
+ Get rid of the unexpected family name
+ Bug 44826 - <alias> must contain only a single <family>
+ Bug 46169 - Pointer error in FcConfigGlobMatch
+ Do not update stream->pos when seeking is failed.
+ Bug 27385 - lcdfilter settings for freetype-2.3.12 not available in fontconfig-2.8.0
+ Add brx.orth and sat.orth
+ Bug 41694 - FcCache functions have random-number-generator side effects
+ Bug 23336 - unable to display bitmap-only (SFNT) TrueType or OpenType
+ Check null value for given object to avoid possibly segfaulting
+ Bug 19128 - Handling whitespace in aliases
+ Fix distcheck error
+ Update the version info
+ Update to detect the uncommited changes properly
+ Fix a build issue
+ Fix a build fail on some environment
+ Fix a build fail on some environment.
+ Get rid of $< from Makefile.am
+
+Alan Coopersmith (1):
+ Fix compiler warnings
+
+Behdad Esfahbod (54):
+ [fc-cache] Document -r argument in man page
+ [doc] Fix typo
+ Bug 25508 configure assumes bash > 2.0 is on system
+ Update INSTALL
+ Add note about autogen.sh to INSTALL
+ Fix doc typo
+ More doc typo fixes
+ Bug 18886 installation crashes if fontconfig already installed
+ Bug 26157 Solaris/Sun C 5.8: compilation of 2.8.0 and 2.7.3 fails
+ Bug 25152 Don't sleep(2) if all caches were uptodate
+ Don't include unistd.h in fontconfig.h
+ Accept TT_PLATFORM_MICROSOFT, TT_MS_ID_SYMBOL_CS from name table
+ Whitespace
+ More whitespace
+ Remove all training whitespaces
+ Fix comment
+ Add fc-pattern cmdline tool
+ Bug 29338 - fc-pattern.sgml, open para tag
+ Add comments
+ Bug 29995 - fc-cat does not invoke FcFini()
+ Add new public API: FcCharSetDelChar()
+ [fc-lang] Support excluding characters
+ Bug 24729 - [ne_NP] Fix ortho file
+ Add more copyright owners
+ Cleanup copyright notices to replace "Keith Packard" with "the author(s)"
+ Fix returned value
+ Bug 28958 - lang=en matches other langs
+ Make most generated-files cross-compiling-safe
+ Make fc-arch stuff cross-compiling-safe
+ Bump version
+ Allow editing charset and lang in target="scan"
+ Add <range> support for <blank> into the DTD
+ Skip <range> elements with begin > end
+ Doc nit
+ Fix assertion failure on le32d4
+ Remove AM_MAINTAINER_MODE
+ Update CaseFolding.txt to Unicode 6.0
+ Remove --enable-maintainer-mode from autogen.sh
+ Bug 20113 - Uighur (ug) orthography incomplete
+ Bug 30566 - fcformat.c:interpret_enumerate() passes uninitialized idx to FcPatternGetLangSet()
+ Mark constant strings as constant
+ More doc typo fixes
+ Always define FcStat as a function
+ Fix warning
+ Bug 35587 - Add padding to make valgrind and glibc not hate each other
+ [.gitignore] Update
+ Bug 36577 - Updating cache with no-bitmaps disables bitmap fonts...
+ Bug 26718 - "fc-match sans file" doesn't work
+ Switch fc-match to use FcPatternFormat()
+ Switch fc-cat to use FcPatternFormat()
+ Fix stupid bug in FcFontSort()
+ Bug 41171 - Invalid use of memset
+ Fix parallel build
+ Add FcPublic to FcLangSetUnion and FcLangSetSubtract
+
+Brad Hards (1):
+ Documentation fixes
+
+Jeremy Huddleston (2):
+ fontconfig.pc: Add variables for confdir and cachedir
+ fontconfig.pc.in: Add sysconfdir, localstatedir, and PACKAGE
+
+Jinkyu Yi (1):
+ Bug 42423 - make default Korean font from Un to Nanum
+
+MINAMI Hirokazu (1):
+ Bug 43406 - typo of Japanese font name in conf.d/65-nonlatin.conf
+
+Mike Frysinger (9):
+ FcStrPlus: optimize a little
+ delete unused variables
+ FcStat: change to FcChar8 for first arg
+ fc-cat: fix pointer warning
+ FcName{,Get}Constant: constify string input
+ fc-{list,match}: constify format string
+ fix build warnings when using --with-arch
+ FcObjectValidType: tweak -1 checking
+ makealias: handle missing funcs better
+
+Parag Nemade (2):
+ Bug 25651 - Add ortho file for locale brx_IN
+ Bug 25650 - Add ortho file for locale sat_IN
+
+Pravin Satpute (4):
+ Bug 27195 - need updates to ks.orth file
+ Bug 43321 - Required corrections in urdu.orth file
+ Bug 25653 - Add ortho file for locale doi_IN
+ Bug 25652 - Add ortho file for locale mni_IN
+
2.8
Behdad Esfahbod (24):
diff --git a/fontconfig/configure.in b/fontconfig/configure.in
index 06851a5e4..da6ef9532 100644
--- a/fontconfig/configure.in
+++ b/fontconfig/configure.in
@@ -33,7 +33,7 @@ dnl This is the package version number, not the shared library
dnl version. This same version number must appear in fontconfig/fontconfig.h
dnl Yes, it is a pain to synchronize version numbers. Unfortunately, it's
dnl not possible to extract the version number here from fontconfig.h
-AM_INIT_AUTOMAKE(fontconfig, 2.8.90)
+AM_INIT_AUTOMAKE(fontconfig, 2.9.0)
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
dnl libtool versioning
@@ -41,11 +41,11 @@ dnl libtool versioning
dnl bump revision when fixing bugs
dnl bump current and age, reset revision to zero when adding APIs
dnl bump current, leave age, reset revision to zero when changing/removing APIS
-LIBT_CURRENT=5
-LIBT_REVISION=4
+LIBT_CURRENT=6
+LIBT_REVISION=0
AC_SUBST(LIBT_CURRENT)
AC_SUBST(LIBT_REVISION)
-LIBT_AGE=4
+LIBT_AGE=5
LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
AC_SUBST(LIBT_VERSION_INFO)
diff --git a/fontconfig/doc/Makefile.am b/fontconfig/doc/Makefile.am
index 06ec5e9ea..f483bc757 100644
--- a/fontconfig/doc/Makefile.am
+++ b/fontconfig/doc/Makefile.am
@@ -143,7 +143,6 @@ htmldoc_DATA = \
if USEDOCBOOK
BUILT_SOURCES += \
$(LOCAL_SGML_FILES) \
- func.refs \
$(NULL)
noinst_PROGRAMS += \
edit-sgml \
@@ -156,48 +155,48 @@ if CROSS_COMPILING
@echo Warning: cannot rebuild $@ when cross-compiling
else
.fncs.sgml: edit-sgml$(EXEEXT) $(srcdir)/func.sgml
- -rm $@
- $(AM_V_GEN) $(builddir)/edit-sgml$(EXEEXT) $(srcdir)/func.sgml < '$<' > $*.sgml
+ -@rm $@
+ $(AM_V_GEN) $(builddir)/edit-sgml$(EXEEXT) $(srcdir)/func.sgml < '$*.fncs' > $*.sgml
endif
.sgml.txt: $(DOCS_DEPS)
- -rm $@
- $(AM_V_GEN) $(DOC2TXT) $<
+ -@rm $@
+ $(AM_V_GEN) $(DOC2TXT) $*.sgml
.sgml.pdf: $(DOCS_DEPS)
- -rm $@
- $(AM_V_GEN) $(DOC2PDF) $<
+ -@rm $@
+ $(AM_V_GEN) $(DOC2PDF) $*.sgml
.sgml.html: $(DOCS_DEPS)
- -rm $@
- $(AM_V_GEN) $(DOC2HTML) -u $< > $@
+ -@rm $@
+ $(AM_V_GEN) $(DOC2HTML) -u $*.sgml > $@
##
fonts-conf.5: local-fontconfig-user.sgml version.sgml confdir.sgml
- -rm $@
- $(AM_V_GEN) $(DOC2MAN) $< && \
- $(RM) manpage.*
+ -@rm $@
+ $(AM_V_GEN) $(DOC2MAN) local-fontconfig-user.sgml && \
+ rm manpage.*
##
$(man3_MANS): func.refs
func.refs: local-fontconfig-devel.sgml $(DOCS_DEPS)
- -rm $@
+ -@rm $@
[ "x$(builddir)" != "x$(srcdir)" ] && \
for f in $(DOC_FUNCS_SGML); do \
- $(RM) $(builddir)/$$f || :; \
+ rm -f $(builddir)/$$f || :; \
$(LN_S) $(srcdir)/$$f $(builddir)/$$f; \
done || :
$(AM_V_GEN) $(DOC2MAN) -o devel-man local-fontconfig-devel.sgml && \
mv devel-man/manpage.refs func.refs && \
mv devel-man/*.3 . && \
- $(RM) devel-man/manpage.* && \
+ rm devel-man/manpage.* && \
rmdir devel-man
confdir.sgml: $(srcdir)/confdir.sgml.in
- $(AM_V_GEN) sed -e 's,@CONFDIR\@,${CONFDIR},' $< | awk '{if (NR > 1) printf("\n"); printf("%s", $$0);}' > $@
+ $(AM_V_GEN) sed -e 's,@CONFDIR\@,${CONFDIR},' $(srcdir)/$@.in | awk '{if (NR > 1) printf("\n"); printf("%s", $$0);}' > $@
##
$(HTML_DIR)/*: $(HTML_DIR)
$(HTML_DIR): local-fontconfig-devel.sgml $(DOCS_DEPS)
- -rm -r $@
+ -@rm -r $@
$(AM_V_GEN) $(DOC2HTML) -V '%use-id-as-filename%' -o $@ local-fontconfig-devel.sgml
local-fontconfig-user.sgml: $(srcdir)/fontconfig-user.sgml
- $(AM_V_GEN) $(LN_S) $< $@
+ $(AM_V_GEN) $(LN_S) $(srcdir)/fontconfig-user.sgml $@
local-fontconfig-devel.sgml: $(srcdir)/fontconfig-devel.sgml
- $(AM_V_GEN) $(LN_S) $< $@
+ $(AM_V_GEN) $(LN_S) $(srcdir)/fontconfig-devel.sgml $@
#
all-local: $(BUILT_DOCS) $(HTML_DIR)/*
clean-local:
diff --git a/fontconfig/fc-cache/Makefile.am b/fontconfig/fc-cache/Makefile.am
index 300c96697..b647c3f4b 100644
--- a/fontconfig/fc-cache/Makefile.am
+++ b/fontconfig/fc-cache/Makefile.am
@@ -33,7 +33,7 @@ install-data-local:
-$(mkinstalldirs) "$(DESTDIR)$(fc_cachedir)"
uninstall-local:
- -$(RM) -rf "$(DESTDIR)$(fc_cachedir)"
+ -rm -rf "$(DESTDIR)$(fc_cachedir)"
endif
INCLUDES=-I${top_srcdir} -I${top_srcdir}/src $(WARN_CFLAGS)
@@ -53,14 +53,14 @@ fc_cache_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
${man_MANS}: ${SGML}
- $(RM) $@
- $(DOC2MAN) ${SGML}
- $(RM) manpage.*
+ -@rm $@
+ $(AM_V_GEN) $(DOC2MAN) ${SGML}
+ @rm -f manpage.*
all-local: $(man_MANS)
clean-local:
- $(RM) $(man_MANS)
+ -rm $(man_MANS)
else
all-local:
diff --git a/fontconfig/fc-case/Makefile.am b/fontconfig/fc-case/Makefile.am
index de657afa8..1855d47b8 100644
--- a/fontconfig/fc-case/Makefile.am
+++ b/fontconfig/fc-case/Makefile.am
@@ -33,10 +33,8 @@ noinst_PROGRAMS=fc-case
noinst_HEADERS=$(TARG)
-fc_case_SRCS= \
- fc-case.c \
- fccaseint.h \
- fccaseread.c
+fc_case_SOURCES= \
+ fc-case.c
CASEFOLDING=CaseFolding.txt
SCASEFOLDING=${top_srcdir}/fc-case/CaseFolding.txt
@@ -48,8 +46,8 @@ $(TARG): $(STMPL) fc-case.c $(SCASEFOLDING)
@echo Warning: cannot rebuild $(TARG) when cross-compiling
else
$(TARG): $(STMPL) fc-case$(EXEEXT) $(SCASEFOLDING)
- $(AM_V_GEN) $(RM) $(TARG); \
- ./fc-case$(EXEEXT) $(SCASEFOLDING) < $(STMPL) > $(TARG).tmp && \
+ -@rm $(TARG)
+ $(AM_V_GEN) $(builddir)/fc-case$(EXEEXT) $(SCASEFOLDING) < $(STMPL) > $(TARG).tmp && \
mv $(TARG).tmp $(TARG)
endif
diff --git a/fontconfig/fc-cat/Makefile.am b/fontconfig/fc-cat/Makefile.am
index 587459591..6bc616848 100644
--- a/fontconfig/fc-cat/Makefile.am
+++ b/fontconfig/fc-cat/Makefile.am
@@ -44,14 +44,14 @@ fc_cat_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
${man_MANS}: ${SGML}
- $(RM) $@
+ -@rm $@
$(DOC2MAN) ${SGML}
- $(RM) manpage.*
+ @rm -f manpage.*
all-local: $(man_MANS)
clean-local:
- $(RM) $(man_MANS)
+ -rm $(man_MANS)
else
all-local:
diff --git a/fontconfig/fc-glyphname/Makefile.am b/fontconfig/fc-glyphname/Makefile.am
index 697b5c3b9..837870737 100644
--- a/fontconfig/fc-glyphname/Makefile.am
+++ b/fontconfig/fc-glyphname/Makefile.am
@@ -41,8 +41,8 @@ $(TARG): $(STMPL) fc-glyphname.c $(SGLYPHNAME)
@echo Warning: cannot rebuild $(TARG) when cross-compiling
else
$(TARG): $(STMPL) fc-glyphname$(EXEEXT) $(SGLYPHNAME)
- $(AM_V_GEN) $(RM) $(TARG); \
- ./fc-glyphname$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG).tmp && \
+ -@rm $(TARG)
+ $(AM_V_GEN) $(builddir)/fc-glyphname$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG).tmp && \
mv $(TARG).tmp $(TARG)
endif
diff --git a/fontconfig/fc-lang/Makefile.am b/fontconfig/fc-lang/Makefile.am
index d2eca5ba8..54fde38c4 100644
--- a/fontconfig/fc-lang/Makefile.am
+++ b/fontconfig/fc-lang/Makefile.am
@@ -40,8 +40,8 @@ $(TARG):$(ORTH) fc-lang.c $(STMPL)
@echo Warning: cannot rebuild $(TARG) when cross-compiling
else
$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
- $(AM_V_GEN) $(RM) $(TARG); \
- ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
+ -@rm $(TARG)
+ $(AM_V_GEN) $(builddir)/fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
mv $(TARG).tmp $(TARG)
endif
diff --git a/fontconfig/fc-list/Makefile.am b/fontconfig/fc-list/Makefile.am
index d40700a4e..fb87b50b6 100644
--- a/fontconfig/fc-list/Makefile.am
+++ b/fontconfig/fc-list/Makefile.am
@@ -44,14 +44,14 @@ fc_list_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
${man_MANS}: ${SGML}
- $(RM) $@
- $(DOC2MAN) ${SGML}
- $(RM) manpage.*
+ -@rm $@
+ $(AM_V_GEN) $(DOC2MAN) ${SGML}
+ @rm manpage.*
all-local: $(man_MANS)
clean-local:
- $(RM) $(man_MANS)
+ -rm $(man_MANS)
else
all-local:
diff --git a/fontconfig/fc-match/Makefile.am b/fontconfig/fc-match/Makefile.am
index 94fc7d906..3bdff6d77 100644
--- a/fontconfig/fc-match/Makefile.am
+++ b/fontconfig/fc-match/Makefile.am
@@ -44,14 +44,14 @@ fc_match_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
${man_MANS}: ${SGML}
- $(RM) $@
- $(DOC2MAN) ${SGML}
- $(RM) manpage.*
+ -@rm $@
+ $(AM_V_GEN) $(DOC2MAN) ${SGML}
+ @rm manpage.*
all-local: $(man_MANS)
clean-local:
- $(RM) $(man_MANS)
+ -rm $(man_MANS)
else
all-local:
diff --git a/fontconfig/fc-pattern/Makefile.am b/fontconfig/fc-pattern/Makefile.am
index a7db2105e..085c1dade 100644
--- a/fontconfig/fc-pattern/Makefile.am
+++ b/fontconfig/fc-pattern/Makefile.am
@@ -44,14 +44,14 @@ fc_pattern_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
${man_MANS}: ${SGML}
- $(RM) $@
+ -@rm $@
$(DOC2MAN) ${SGML}
- $(RM) manpage.*
+ @rm manpage.*
all-local: $(man_MANS)
clean-local:
- $(RM) $(man_MANS)
+ -rm $(man_MANS)
else
all-local:
diff --git a/fontconfig/fc-query/Makefile.am b/fontconfig/fc-query/Makefile.am
index 132dd401c..31fced90c 100644
--- a/fontconfig/fc-query/Makefile.am
+++ b/fontconfig/fc-query/Makefile.am
@@ -44,14 +44,14 @@ fc_query_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
${man_MANS}: ${SGML}
- $(RM) $@
- $(DOC2MAN) ${SGML}
- $(RM) manpage.*
+ -@rm $@
+ $(AM_V_GEN) $(DOC2MAN) ${SGML}
+ @rm manpage.*
all-local: $(man_MANS)
clean-local:
- $(RM) $(man_MANS)
+ -rm $(man_MANS)
else
all-local:
diff --git a/fontconfig/fc-scan/Makefile.am b/fontconfig/fc-scan/Makefile.am
index c9d8904ae..f36e8f4e7 100644
--- a/fontconfig/fc-scan/Makefile.am
+++ b/fontconfig/fc-scan/Makefile.am
@@ -44,14 +44,14 @@ fc_scan_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
${man_MANS}: ${SGML}
- $(RM) $@
- $(DOC2MAN) ${SGML}
- $(RM) manpage.*
+ -@rm $@
+ $(AM_V_GEN) $(DOC2MAN) ${SGML}
+ @rm manpage.*
all-local: $(man_MANS)
clean-local:
- $(RM) $(man_MANS)
+ -rm $(man_MANS)
else
all-local:
diff --git a/fontconfig/fontconfig/fontconfig.h b/fontconfig/fontconfig/fontconfig.h
index 23ea222ca..8936d8337 100644
--- a/fontconfig/fontconfig/fontconfig.h
+++ b/fontconfig/fontconfig/fontconfig.h
@@ -51,7 +51,7 @@ typedef int FcBool;
*/
#define FC_MAJOR 2
-#define FC_MINOR 8
+#define FC_MINOR 9
#define FC_REVISION 0
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
diff --git a/fontconfig/new-version.sh b/fontconfig/new-version.sh
index 9ab64dd09..6cf609f29 100644
--- a/fontconfig/new-version.sh
+++ b/fontconfig/new-version.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-if git status -a > /dev/null; then
+if [ "x`git status -s -uno`" != "x" ]; then
echo 'Uncommited changes in repository' 1>&2
exit 1
fi
diff --git a/fontconfig/src/Makefile.am b/fontconfig/src/Makefile.am
index 090f9b1ab..a7bb73ce2 100644
--- a/fontconfig/src/Makefile.am
+++ b/fontconfig/src/Makefile.am
@@ -164,4 +164,4 @@ fontconfig.def: $(PUBLIC_FILES) $(PUBLIC_FT_FILES)
sort; \
echo LIBRARY libfontconfig-@LIBT_CURRENT_MINUS_AGE@.dll; \
echo VERSION @LIBT_CURRENT@.@LIBT_REVISION@) >$@
- @ ! grep -q FcERROR $@ || ($(RM) $@; false)
+ @ ! grep -q FcERROR $@ || (rm $@; false)