Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 18:15:30 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474115 - in head/graphics/sswf: . files
Message-ID:  <201807071815.w67IFUCI078059@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Jul  7 18:15:30 2018
New Revision: 474115
URL: https://svnweb.freebsd.org/changeset/ports/474115

Log:
  graphics/sswf: Fix build with Clang 6
  
  compiler.c++:419:21: error: comparison between pointer and integer ('const char *' and 'int')
          while(package_info != '\0') {
                ~~~~~~~~~~~~ ^  ~~~~
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p473790_s335878/logs/sswf-1.8.4_5.log

Added:
  head/graphics/sswf/files/patch-src_libas_compiler.c++   (contents, props changed)
Modified:
  head/graphics/sswf/Makefile

Modified: head/graphics/sswf/Makefile
==============================================================================
--- head/graphics/sswf/Makefile	Sat Jul  7 17:54:21 2018	(r474114)
+++ head/graphics/sswf/Makefile	Sat Jul  7 18:15:30 2018	(r474115)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sswf
 PORTVERSION=	1.8.4
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src

Added: head/graphics/sswf/files/patch-src_libas_compiler.c++
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/sswf/files/patch-src_libas_compiler.c++	Sat Jul  7 18:15:30 2018	(r474115)
@@ -0,0 +1,11 @@
+--- src/libas/compiler.c++.orig	2018-07-07 18:08:29 UTC
++++ src/libas/compiler.c++
+@@ -416,7 +416,7 @@ String IntCompiler::GetPackageFilename(const char *pac
+ 	int		cnt;
+ 
+ 	cnt = 0;
+-	while(package_info != '\0') {
++	while(*package_info != '\0') {
+ 		package_info++;
+ 		if(package_info[-1] == ' ') {
+ 			cnt++;



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