Skip to content

Commit

Permalink
deskutils/calendar: Fix non-NLS build and allw // in entries
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stesser committed Jun 7, 2021
1 parent e5e4475 commit 497bd48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deskutils/calendar/Makefile
@@ -1,5 +1,5 @@
PORTNAME= calendar
DISTVERSION= 0.9
DISTVERSION= 0.9.2
CATEGORIES= deskutils

MAINTAINER= se@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions deskutils/calendar/distinfo
@@ -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

0 comments on commit 497bd48

Please sign in to comment.