1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-10-27 18:20:13 -04:00
Commit Graph

7 Commits

Author SHA1 Message Date
John Zaitseff
117400e7df Use a hyphen instead of underscore for xopen-source.m4 and xopen-source.h 2018-08-10 20:30:06 +10:00
John Zaitseff
2032f6de8a Move redefinition of _XOPEN_SOURCE into its own Autoconf macro and header
This makes the main source code look a little cleaner, at the expense of
background magic happening in the configure-generated config.h.  But this
magic was already happening for _GNU_SOURCE, __EXTENSIONS__ and the like.

The only wrinkle is that newer versions of NcursesW cause ./configure to
include "-D_XOPEN_SOURCE=600" as part of the compilation command line--on
systems that support _XOPEN_SOURCE=700.  The AC_DEFINE/AC_DEFINE_UNQUOTED
macros automatically comment out any "#undef" lines in config.h, so the
file lib/xopen_source.h works around this limitation.  It is
automatically included by config.h.
2018-08-09 18:05:39 +10:00
John Zaitseff
5a62a39770 Add strings from obsolete versions of libraries
Previous versions of the GNU Portability Library, and versions of the GNU
C Library as released with various Linux distributions, used strings no
longer present in the current version of the GNU Portability Library.
When used on systems with those strings, Star Traders could not provide
appropriate translations.  This patch fixes that problem.
2018-07-27 05:52:25 +10:00
John Zaitseff
31ea3c584a Add comments to trader.desktop.in 2017-05-23 07:55:33 +10:00
John Zaitseff
f4632c6a42 Add the standard copyright header to trader.svg 2017-05-19 22:33:57 +10:00
John Zaitseff
a1c15b0973 Use a helper msgfmt-desktop script instead of invoking msgfmt(1) directly 2017-05-17 20:49:03 +10:00
John Zaitseff
e982b9121d Automatically replace $Id$ with Git SHA1 checksum of a file 2017-05-14 06:55:56 +10:00