aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2015-03-29 04:28:08 +0800
committerolivierd <olivierd@FreeBSD.org>2015-03-29 04:28:08 +0800
commit0927f46836492edc73b47a6cbf1e708d04b6d846 (patch)
tree68543eebe29bfc2094b92ee2401c2cdf2083e1a9 /x11-wm
parentdfaff027a12f56f1240ba2eae0f6bf35c318dccf (diff)
downloadfreebsd-ports-gnome-0927f46836492edc73b47a6cbf1e708d04b6d846.tar.gz
freebsd-ports-gnome-0927f46836492edc73b47a6cbf1e708d04b6d846.tar.zst
freebsd-ports-gnome-0927f46836492edc73b47a6cbf1e708d04b6d846.zip
- Add patch, to make verbose logging conditional
- Bump PORTREVISION PR: 198560 Submitted by: Zhihao Yuan <lichray@gmail.com>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xfce4-session/Makefile1
-rw-r--r--x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-global.h16
2 files changed, 17 insertions, 0 deletions
diff --git a/x11-wm/xfce4-session/Makefile b/x11-wm/xfce4-session/Makefile
index a80ccc257114..d890d26209ad 100644
--- a/x11-wm/xfce4-session/Makefile
+++ b/x11-wm/xfce4-session/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xfce4-session
PORTVERSION= 4.12.1
+PORTREVISION= 1
CATEGORIES= x11-wm xfce
MASTER_SITES= XFCE/src/xfce/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
diff --git a/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-global.h b/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-global.h
new file mode 100644
index 000000000000..71ab36ef6302
--- /dev/null
+++ b/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-global.h
@@ -0,0 +1,16 @@
+Make verbose logging conditional (Bug #11698)
+
+--- xfce4-session/xfsm-global.h.orig 2014-09-28 14:51:01 UTC
++++ xfce4-session/xfsm-global.h
+@@ -49,7 +49,10 @@ extern XfsmSplashScreen *splash_screen;
+ #if defined(G_HAVE_ISO_VARARGS)
+
+ #define xfsm_verbose(...)\
+- xfsm_verbose_real (__func__, __FILE__, __LINE__, __VA_ARGS__)
++G_STMT_START{ \
++ if (G_UNLIKELY (verbose)) \
++ xfsm_verbose_real (__func__, __FILE__, __LINE__, __VA_ARGS__); \
++}G_STMT_END
+
+ #else
+