mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 16:55:38 +08:00
Add aom patch for alpine linux (#579)
This commit is contained in:
13
src/globals/patch/libaom_posix_implict.patch
Normal file
13
src/globals/patch/libaom_posix_implict.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/869419
|
||||
|
||||
POSIX_C_SOURCE is needed for ftello.
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -269,6 +269,7 @@ add_library(aom_rtcd OBJECT ${AOM_RTCD_SOURCES})
|
||||
add_dependencies(aom_rtcd aom_version)
|
||||
|
||||
if(ENABLE_EXAMPLES)
|
||||
+ add_definitions(-D_POSIX_C_SOURCE=200112L)
|
||||
add_library(aom_encoder_stats OBJECT ${AOM_ENCODER_STATS_SOURCES})
|
||||
set(AOM_LIB_TARGETS ${AOM_LIB_TARGETS} aom_encoder_stats)
|
||||
endif()
|
||||
Reference in New Issue
Block a user