Bug 200815

Summary: [patch] calendar(1): regression 8-STABLE to 10-STABLE no longer supports local includes
Product: Base System Reporter: N.J. Mann <njm>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: bapt, re
Priority: --- Keywords: patch
Version: 10.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
(svn diff) add support for '#include "filename"' to calendar(1) none

Description N.J. Mann 2015-06-12 11:44:45 UTC
Created attachment 157674 [details]
(svn diff) add support for '#include "filename"' to calendar(1)

I recently updated my desktop system from 8-STABLE to 10-STABLE and found
that my calendar files were no longer being processed by calendar(1).  This
turned out to be related to the rewriting of calendar(1) to no longer use
the C language preprocessor when reading calendar files.  Although the new
calendar(1) processes #include <filename>, it no longer supports #include "filename".

The attacted 5 line patch fixes the issue.
Comment 1 Glen Barber freebsd_committer freebsd_triage 2015-07-07 17:16:05 UTC
Baptiste, it looks like r279597 was targeted for 1-week MFC, however the merge never happened.
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2015-07-08 21:09:21 UTC
MFCed sorry I forgot about it