Instead of fetching from a repository that was created based on a version
that did not include the pre-processor enhancements applied to -CURRENT
and patching to include them, fetch from a repository that has a copy of
the latest sources.
This change allows to remove the large number of complex patch files from
the port and will simplify further updates.
It is planned to make the port fetch from an official FreeBSD repository
as soon as it is available with up-to-date sources from -CURRENT.
No port revision bump since this is only a change to the build process and
not the generated package.
This version processes conditionals with similar restrictions as were
effective when the data files were piped through the C pre-processor.
Specifically, only the first word after #define is considered as the name
being defined. An error is signalled if more than one word is found as
argument of #ifdef, #ifndef, or #undef.
All calendar files distributed with FreeBSD or in the deskutils/calendar
port comply with the newly enforced syntax checks.
Dates are now printed as defined for the locale of the user, not as
defined by a LANG= assignment in a data file, which is now only considered
for character-set translations (if ICONV is set to its default value of ON).
This update improves the internal pre-processor and makes it report data
file issues with filename and line number of the failed commend.
Several tests have been added to detect unmatched condition directives
(e.g. #endif or #else without prior #ifdef or #ifndef). An #undef command
has been added since it occurs in one of the calendar files tradionally
distributed with FreeBSD (and now in the deskutils/calendar-data port).
This update adds a default definition of _PATH_LOCALBASE that is required
to build the port on systems that do not define it in paths.h.
The order of events printed was reversed due to the way a link list was
updated. This version prints the events in the order they appear in in
the data file.
This version of the calendar program includes data file locations
populated by the calendar-data port in the search path.
It is meant to provide this feature to users of FreeBSD releases that
have not received the updated calendar program, yet.
Development of the calendar program will continue in the base system
and the port will be updated to reflect changes made to the calendar
program in FreeBSD-CURRENT.
Different from the version in -CURRENT this port does not warn about
missing calendar files provided by the calendar-data port since it has
this port declared as a run-time dependency and it can therefore be
assumed that the data port has been installed with this port.
This port uses a preliminary location for the repository to fetch from.
It is expected to be updated to an official repository with updated sources
that eliminate the need for the patches that are currently required.