Files
ports/graphics/sswf/files/patch-src_libas_compiler.c++
T
Tobias Kortkamp 192bb1d772 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
2018-07-07 18:15:30 +00:00

12 lines
311 B
C++

--- 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++;