2013年4月29日月曜日

[FreeBSD/10-current/clang/already fixed in ports tree]graphics/xv

compile on 10-current(clang), you need to add USE_GCC=any in Makefile(for ports/graphics/xv)
I will discuss this with maintaner.

[NOTES]
AT June/2013, I compiled all base system(from r251138) and ports tree.
I can compile freerdp without any changes.

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)

[FreeBSD mail/xpbiff] always popdown window

Currently I could not find root cause.
but I solved this issue(pop-down window) with below patch(for mail/xpbiff)


--- xpbiff.c.org        2013-04-29 20:27:48.986173288 +0900
+++ xpbiff.c  2013-04-29 22:20:43.195617811 +0900
@@ -988,8 +988,10 @@
            mail_size = file_stat.st_size;
            if (appResources.raise == True && appResources.stay_raised == False)
                XLowerWindow(XtDisplay(toplevel), XtWindow(toplevel));
+#if 0
            if (appResources.popup == True)
                BreakPopup(toplevel, (XtPointer) NULL, (XtPointer) NULL);
+#endif
        }
     } else
        /* No mail */