Date: Sun, 30 Nov 2014 15:31:42 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373667 - head/x11/xman/files Message-ID: <201411301531.sAUFVgSZ029489@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@NetBSD.org> +Date: Thu, 22 May 2014 00:15:36 +0200 +Subject: Fix tautology to the intended check. + +Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> +Signed-off-by: Thomas Klausner <wiz@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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411301531.sAUFVgSZ029489>