mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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
This commit is contained in:
parent
75c7562c9d
commit
192bb1d772
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474115
2 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= sswf
|
||||
PORTVERSION= 1.8.4
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
|
11
graphics/sswf/files/patch-src_libas_compiler.c++
Normal file
11
graphics/sswf/files/patch-src_libas_compiler.c++
Normal file
|
@ -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++;
|
Loading…
Add table
Reference in a new issue