Re: /usr/bin/calendar broken on current
--rKoHqF+aPLVth8b2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Thursday, 8 November 2012 at 22:58:37 -0800, Manfred Antar wrote:
> Sometime in the last week calendar stopped working.
> not sure the cause
> here is some of the output:
> /usr/share/calendar/calendar.music:231:17: warning: missing terminating ' character [-Winvalid-pp-token]
> 12/16 Don McLean's "American Pie" is released, 1971
> ^
This is unexpected fallout from the transition from gcc to clang.
calendar invokes cpp, and it seems that clang's cpp doesn't like what
it sees. This patch works around the issue:
--- pathnames.h (revision 242777)
+++ pathnames.h (working copy)
@@ -32,5 +32,5 @@
#include <paths.h>
-#define _PATH_CPP "/usr/bin/cpp"
+#define _PATH_CPP "/usr/bin/gcpp"
#define _PATH_INCLUDE "/usr/share/calendar"
Clearly that's not the solution. I'll investigate.
Greg
--
Sent from my desktop computer.
Finger grog@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua
--rKoHqF+aPLVth8b2
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlCcsCUACgkQIubykFB6QiN//ACeLCsLC2vwQx0c5HBSjCpPe54c
JmoAn0l4JATTxTnFuTVDEW0Q//1nT3ql
=Z67y
-----END PGP SIGNATURE-----
--rKoHqF+aPLVth8b2--
討論串 (同標題文章)
完整討論串 (本文為第 3 之 3 篇):