svn commit: r373667 - head/x11/xman/files

Koop Mast kwm at FreeBSD.org
Sun Nov 30 15:31:43 UTC 2014


Author: kwm
Date: Sun Nov 30 15:31:42 2014
New Revision: 373667
URL: https://svnweb.freebsd.org/changeset/ports/373667
QAT: https://qat.redports.org/buildarchive/r373667/

Log:
  Add patch to fix the build with clang 3.5.
  
  Submitted by:	clang3.5 upgrade exp-run via antoine@
  Obtained from:	upstream

Added:
  head/x11/xman/files/
  head/x11/xman/files/patch-handler.c   (contents, props changed)

Added: head/x11/xman/files/patch-handler.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xman/files/patch-handler.c	Sun Nov 30 15:31:42 2014	(r373667)
@@ -0,0 +1,24 @@
+From bb926ce84421b1fc9795c229ce32332b77a4b18d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=B6rg=20Sonnenberger?= <joerg at NetBSD.org>
+Date: Thu, 22 May 2014 00:15:36 +0200
+Subject: Fix tautology to the intended check.
+
+Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
+Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
+
+diff --git a/handler.c b/handler.c
+index e61687e..87a928e 100644
+--- handler.c
++++ handler.c
+@@ -320,7 +320,7 @@ SaveFormattedPage(Widget w, XEvent * event, String * params,
+  * If we are not active then take no action.
+  */
+ 
+-    if (man_globals->tempfile == NULL)
++    if (man_globals->tempfile[0] == '\0')
+         return;
+ 
+     switch (params[0][0]) {
+-- 
+cgit v0.10.2
+


More information about the svn-ports-head mailing list