diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-03 10:28:17 +0000 |
commit | d99093fb4bb5652015c06274d64083daa2439e4f (patch) | |
tree | cf61513204d97974179580065e85df5c8009087c /media-libs/libilbc | |
parent | 463397cf1e064185110fe57c568d73f99a06f5d1 (diff) |
gentoo resync : 03.03.2021
Diffstat (limited to 'media-libs/libilbc')
-rw-r--r-- | media-libs/libilbc/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libilbc/files/libilbc-3.0.4-respect-CFLAGS.patch | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/media-libs/libilbc/Manifest b/media-libs/libilbc/Manifest index 7ede4baac883..48a593da5282 100644 --- a/media-libs/libilbc/Manifest +++ b/media-libs/libilbc/Manifest @@ -1,3 +1,4 @@ +AUX libilbc-3.0.4-respect-CFLAGS.patch 1217 BLAKE2B 69e46ed5ee1f9ef082b54b6049d078dfa3a007d63b8d0a79c1f07dd8335eaa0402dcc08bc30c0bf8c9329b1244d638231c10fa46396a9c07cdcdab8539fa6c5a SHA512 7de1bb74f552dadccbe3a31c4a2cef7da7525fae47dc7e5d22c78e59604ac9e07e3f4123acc35e174dcf9fe25f4c7e3b6e51a092f77c4f604b23af1ed724cf4a DIST libilbc-3.0.4.tar.gz 1307591 BLAKE2B a914b79c1134536f45910d367216b1ac27d4acb08f4c9b9dd3f01eaf181ecf0f6dc351b944039b05445217360a7e4b868b3aba9f8d6265eeee62a90ce0641a42 SHA512 2239a915263c2a73d83836354d42c670e4fe1173a38b3d1a9cef169778038ae5f4901d8202d6c5367d00db76e034e72bcdf6ac81bf0188f6a3f928e7d36d5a31 EBUILD libilbc-3.0.4.ebuild 599 BLAKE2B 5476326bb06e7c351926ab0364a42ffcdbc025af8e03ec2663edffab7b78307a12ab021a5af977303887fb46e4f2ad5698af1d321d7104abc0c8640ae357b49d SHA512 40e44020521fbae740f457a9e104c412f4cebfe8c295cb06b5a7490825239b7b371ef16fc03f3d9806339df00eb9206646942cd89bdc177fea73d01544986626 EBUILD libilbc-9999.ebuild 605 BLAKE2B 08f27610431b3c863541e0d4c51f0e8d3116ec42785327a81da682c8a1fa45a90580f78d8a76d796572bda0db142873287c9128b92e1381cb62a8bc8eed58956 SHA512 d10afec68a9394333f48804c2844d217f9d774b645b0d32950ad3291c30efc303c54f3ef495a86141af67015c1e17c74740657215a773e944c0e76c36ca1f66b diff --git a/media-libs/libilbc/files/libilbc-3.0.4-respect-CFLAGS.patch b/media-libs/libilbc/files/libilbc-3.0.4-respect-CFLAGS.patch new file mode 100644 index 000000000000..feb3a2255e10 --- /dev/null +++ b/media-libs/libilbc/files/libilbc-3.0.4-respect-CFLAGS.patch @@ -0,0 +1,25 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cda8105..b766ec2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -52,15 +52,15 @@ set(CMAKE_CXX_STANDARD 14) + + if((CMAKE_C_COMPILER_ID STREQUAL "GNU") OR + (CMAKE_C_COMPILER_ID MATCHES "Clang" AND CMAKE_C_COMPILER_FRONTEND_VARIANT STREQUAL "GNU")) +- set(CMAKE_C_FLAGS "-Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -fno-strict-aliasing") +- set(CMAKE_C_FLAGS_DEBUG "-g") +- set(CMAKE_C_FLAGS_RELEASE "-O2") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -fno-strict-aliasing") ++ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS}") ++ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS}") + endif() + if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR + (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "GNU")) + set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing") +- set(CMAKE_CXX_FLAGS_DEBUG "-g") +- set(CMAKE_CXX_FLAGS_RELEASE "-O2") ++ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS}") ++ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS}") + endif() + + if(CMAKE_C_COMPILER_ID STREQUAL "MSVC") |