mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			536 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			536 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| instead of hardcoding the version, use the defined macro.
 | |
| --
 | |
| --- a/third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc
 | |
| +++ b/third_party/test_fonts/fontconfig/generate_fontconfig_caches.cc
 | |
| @@ -56,7 +56,7 @@
 | |
|    FcFini();
 | |
|  
 | |
|    // Check existence of intended fontconfig cache file.
 | |
| -  auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-9";
 | |
| +  auto cache = fontconfig_caches + "/" + kCacheKey + "-le64.cache-" + FC_CACHE_VERSION;
 | |
|    bool cache_exists = access(cache.c_str(), F_OK) == 0;
 | |
|    return !cache_exists;
 | |
|  }
 |