2013年4月29日月曜日

FreeBSD 10-current ports/net/vnc with clang enviroment


current net/vnc is not compile on FreeBSD-10-current.
because latest cpp is clang cpp[NG].
I quick hacked and create patch(this chage only for FreeBSD-10-current). I will discuss this issue with cy at FreeBSD.org.

--- xc/config/imake/imakemdep.h.org        2013-04-29 22:23:46.919752081 +0
900
+++ xc/config/imake/imakemdep.h    2013-04-29 22:15:46.129671977 +0900
@@ -282,8 +282,11 @@
 #define DEFAULT_CPP "/usr/libexec/cpp"
 #endif
 #if defined(__FreeBSD__)  || defined(__NetBSD__) || defined(__OpenBSD__)
+#define DEFAULT_CPP "/usr/bin/gcpp"
+#if 0
 #define USE_CC_E
 #endif
+#endif
 #if defined(__sgi) && defined(__ANSI_CPP__)
 #define USE_CC_E
 #endif

[NOTES](June/4/2013)
sorry I mistake to create patch file. I fix file name(remove `unix/' string from diff header)

0 件のコメント: