Age | Commit message (Collapse) | Author |
|
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
mkfontscale.c:110:32: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
static float bigEncodingFuzz = 0.02;
~~~~~~~~~~~~~~~ ^~~~
mkfontscale.c:262:52: warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
bigEncodingFuzz = atof(argv[argn + 1]) / 100.0;
~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
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>
|
|
ident.c: In function ‘getInt32’:
ident.c:228:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
228 | unsigned int u[4] = { c[0], c[1], c[2], c[3] };
| ^~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
mkfontscale.c: In function ‘doDirectory’:
mkfontscale.c:810:66: warning: declaration of ‘encodingsToDo’ shadows a global declaration [-Wshadow]
810 | doDirectory(const char *dirname_given, int numEncodings, ListPtr encodingsToDo)
| ~~~~~~~~^~~~~~~~~~~~~
mkfontscale.c:117:16: note: shadowed declaration is here
117 | static ListPtr encodingsToDo;
| ^~~~~~~~~~~~~
mkfontscale.c: In function ‘readEncodings’:
mkfontscale.c:1353:23: warning: declaration of ‘encodings’ shadows a global declaration [-Wshadow]
1353 | readEncodings(ListPtr encodings, char *dirname)
| ~~~~~~~~^~~~~~~~~
mkfontscale.c:93:21: note: shadowed declaration is here
93 | static ConstListPtr encodings, extra_encodings;
| ^~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Resolves gcc analyzer warning:
mkfontscale.c: In function ‘doDirectory’:
mkfontscale.c:974:17: warning: use of possibly-NULL ‘s’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument]
974 | memcpy(s, xlfd_name, l - 11);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Mostly via util/modular/x-indent-all.sh, plus some manual cleanup
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
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
|
|
|