Date: Sat, 21 Jan 2017 16:11:02 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432055 - in head/graphics/swftools: . files Message-ID: <201701211611.v0LGB2fi009835@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Sat Jan 21 16:11:02 2017 New Revision: 432055 URL: https://svnweb.freebsd.org/changeset/ports/432055 Log: - fix build with clang4 PR: 216216 Added: head/graphics/swftools/files/patch-GlobalParams.cc (contents, props changed) Modified: head/graphics/swftools/Makefile Modified: head/graphics/swftools/Makefile ============================================================================== --- head/graphics/swftools/Makefile Sat Jan 21 15:51:08 2017 (r432054) +++ head/graphics/swftools/Makefile Sat Jan 21 16:11:02 2017 (r432055) @@ -3,7 +3,7 @@ PORTNAME= swftools PORTVERSION= 0.9.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= http://www.swftools.org/ \ http://www.c-s.li/ports/ Added: head/graphics/swftools/files/patch-GlobalParams.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/swftools/files/patch-GlobalParams.cc Sat Jan 21 16:11:02 2017 (r432055) @@ -0,0 +1,14 @@ +--- lib/pdf/xpdf/GlobalParams.cc.orig 2012-04-08 17:26:34 UTC ++++ lib/pdf/xpdf/GlobalParams.cc +@@ -922,9 +922,9 @@ void GlobalParams::parseFile(GString *fi + char* p = pos1>pos2?pos1:pos2; + int pos = p ? p-cfgFileName : -1; + GString*path = new GString(new GString(cfgFileName), 0, (pos < 0 ? strlen(cfgFileName): pos)); +- if(pos1>=0) ++ if(pos1!=0) + path->append('/'); +- else if(pos2>=0) ++ else if(pos2!=0) + path->append('\\'); + else + #ifdef WIN32
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701211611.v0LGB2fi009835>