Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2015 20:28:09 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382552 - in head/x11-wm/xfce4-session: . files
Message-ID:  <201503282028.t2SKS970040396@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sat Mar 28 20:28:08 2015
New Revision: 382552
URL: https://svnweb.freebsd.org/changeset/ports/382552
QAT: https://qat.redports.org/buildarchive/r382552/

Log:
  - Add patch, to make verbose logging conditional
  - Bump PORTREVISION
  
  PR:		198560
  Submitted by:	Zhihao Yuan <lichray@gmail.com>

Added:
  head/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-global.h   (contents, props changed)
Modified:
  head/x11-wm/xfce4-session/Makefile

Modified: head/x11-wm/xfce4-session/Makefile
==============================================================================
--- head/x11-wm/xfce4-session/Makefile	Sat Mar 28 20:26:11 2015	(r382551)
+++ head/x11-wm/xfce4-session/Makefile	Sat Mar 28 20:28:08 2015	(r382552)
@@ -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

Added: head/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-global.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-global.h	Sat Mar 28 20:28:08 2015	(r382552)
@@ -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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503282028.t2SKS970040396>