Age | Commit message (Collapse) | Author |
|
Oracle no longer includes this term in our copyright & license notices.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
While font files should never be more than 2gb in size,
they may be stored on filesystems with large inodes.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
ident.c:220:22: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
|
|
This allows systems that don't have zlib.pc (eg: darwin) to build
by specifying ZLIB_CFLAGS and ZLIB_LIBS in the build environment
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
|
|
Fixes: #6
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Used by freefonts.
Signed-off-by: Maya Rashish <maya@NetBSD.org>
|
|
Signed-off-by: Maya Rashish <maya@NetBSD.org>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
This reverts commit 1f9d14bec07092d62da29a5a233cefbf84d47289.
It caused https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues/5
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
different locations or bindir contains a space
https://bugs.freedesktop.org/show_bug.cgi?id=24465
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
Fix commit ad5fefcc7a0a0beb1c02270d9f28c8b28da61199 for non-srcdir builds
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Solaris make won't substitute $< in explicit rules, only implicit ones
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Use the Autoconf recommended way of substituting bindir, see
http://www.gnu.org/software/autoconf/manual/autoconf.html
Use # sign for comment in script.
Only sed is used, drop the cpp terminology.
Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Use services provided by XORG_MANPAGE_SECTIONS.
Use standard Makefile for man pages.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Using s/[ \t]*$//
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
AC_PROG_SED & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
|
|
|
|
|
|
Also convert (1) to (__appmansuffix__)
|
|
|
|
the one in the path could be from an old install that doesn't support all the needed flags.
|
|
|
|
|
|
|
|
2004
|
|
|
|
|
|
PST 2004
|
|
|
|
|
|
|
|
ident.c:84:13: warning: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Wshorten-64-to-32]
int n = strlen(filename);
~ ^~~~~~~~~~~~~~~~
ident.c:130:9: warning: implicit conversion loses integer precision:
'off64_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return gzseek(ff->f.gz, offset, whence);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ident.c:140:17: warning: implicit conversion loses integer precision:
'long' to 'int' [-Wshorten-64-to-32]
n = offset - ff->pos;
~ ~~~~~~~^~~~~~~~~
ident.c:143:10: warning: implicit conversion loses integer precision:
'off_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
n = offset;
~ ^~~~~~
ident.c:156:12: warning: implicit conversion loses integer precision:
'off_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32]
ff->pos = offset;
~ ^~~~~~
ident.c:157:9: warning: implicit conversion loses integer precision:
'off_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return offset;
~~~~~~ ^~~~~~
mkfontscale.c:704:13: warning: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Wshorten-64-to-32]
int n = strlen(dirname);
~ ^~~~~~~~~~~~~~~
mkfontscale.c:748:13: warning: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Wshorten-64-to-32]
int n = strlen(filename);
~ ^~~~~~~~~~~~~~~~
mkfontscale.c:794:14: warning: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Wshorten-64-to-32]
xl = strlen (exclusionSuffix);
~ ^~~~~~~~~~~~~~~~~~~~~~~~
mkfontscale.c:796:9: warning: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Wshorten-64-to-32]
i = strlen(dirname_given);
~ ^~~~~~~~~~~~~~~~~~~~~
mkfontscale.c:858:15: warning: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Wshorten-64-to-32]
int dl = strlen (entry->d_name);
~~ ^~~~~~~~~~~~~~~~~~~~~~
mkfontscale.c:930:21: warning: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Wshorten-64-to-32]
int l = strlen(xlfd_name);
~ ^~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
mkfontscale.c: In function ‘getName’:
mkfontscale.c:336:22: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
for(i = 0; i < name.string_len / 2; i++) {
^
mkfontscale.c: In function ‘nameWidth’:
mkfontscale.c:427:18: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
for(i = 0; i < NUMWIDTHS; i++)
^
mkfontscale.c: In function ‘notice_foundry’:
mkfontscale.c:1261:18: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
for(i = 0; i < countof(notice_foundries); i++)
^
mkfontscale.c: In function ‘vendor_foundry’:
mkfontscale.c:1285:18: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
for(i = 0; i < countof(vendor_foundries); i++)
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Gets rid of lots of const warnings.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
mkfontscale.c: In function ‘checkExtraEncoding’:
mkfontscale.c:1220:17: warning: declaration of ‘found’ shadows a parameter [-Wshadow]
int found = 0;
^~~~~
mkfontscale.c:1214:59: note: shadowed declaration is here
checkExtraEncoding(FT_Face face, char *encoding_name, int found)
^~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
mkfontscale.c: In function ‘doDirectory’:
mkfontscale.c:928:17: warning: declaration of ‘n’ shadows a previous local [-Wshadow]
int n = strlen(xlfd_name);
^
mkfontscale.c:788:12: note: shadowed declaration is here
int i, n, dirn, diri, found, rc;
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|