mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Patch OpenJPEG to include uclouvain/openjpeg#1423
This commit is contained in:
		
							parent
							
								
									86b4cb6d14
								
							
						
					
					
						commit
						13a4feafb7
					
				|  | @ -323,6 +323,11 @@ deps = { | |||
|         "filename": "openjpeg-2.5.0.tar.gz", | ||||
|         "dir": "openjpeg-2.5.0", | ||||
|         "license": "LICENSE", | ||||
|         "patch": { | ||||
|             r"src\lib\openjp2\ht_dec.c": { | ||||
|                 "#ifdef OPJ_COMPILER_MSVC\n    return (OPJ_UINT32)__popcnt(val);": "#if defined(OPJ_COMPILER_MSVC) && (defined(_M_IX86) || defined(_M_AMD64))\n    return (OPJ_UINT32)__popcnt(val);",  # noqa: E501 | ||||
|             } | ||||
|         }, | ||||
|         "build": [ | ||||
|             cmd_cmake(("-DBUILD_CODEC:BOOL=OFF", "-DBUILD_SHARED_LIBS:BOOL=OFF")), | ||||
|             cmd_nmake(target="clean"), | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user