deskutils/calendar: Fix non-NLS build and allw // in entries

The C++-style comment marker "//" has been added with the rewrite of
the preprocessor features. Since this character sequence occurs in
ULRS, the reminder of the URL was considered a comment and stripped
from the calendar line.

Change parsing of "//" to only start a comment at the begin of a line
or when preceded by a white-space character.
This commit is contained in:
Stefan Eßer 2021-06-07 15:34:29 +02:00
parent e5e4475fb7
commit 497bd48afc
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= calendar
DISTVERSION= 0.9
DISTVERSION= 0.9.2
CATEGORIES= deskutils
MAINTAINER= se@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1604748457
SHA256 (stesser-calendar-0.9_GH0.tar.gz) = fc1c9befed9c103843c83fae3774e34873fa8b20dc1b9d6041dce8e1f7f4e7ac
SIZE (stesser-calendar-0.9_GH0.tar.gz) = 45355
TIMESTAMP = 1623072818
SHA256 (stesser-calendar-0.9.2_GH0.tar.gz) = 3b71fdfcc3e01e115ed61ee4454875f302593d3ddc91e606fcfb3fce5c17c492
SIZE (stesser-calendar-0.9.2_GH0.tar.gz) = 45458