-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #286 from AlwinEsch/depends-update
add-on depends library updates
- Loading branch information
Showing
33 changed files
with
149 additions
and
90 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
depends/common/ffmpeg/0004-ffmpeg-linux-fix-asm-binutil-since-2.41.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- a/libavcodec/x86/mathops.h | ||
+++ b/libavcodec/x86/mathops.h | ||
@@ -35,12 +35,20 @@ | ||
static av_always_inline av_const int MULL(int a, int b, unsigned shift) | ||
{ | ||
int rt, dummy; | ||
+ if (__builtin_constant_p(shift)) | ||
__asm__ ( | ||
"imull %3 \n\t" | ||
"shrdl %4, %%edx, %%eax \n\t" | ||
:"=a"(rt), "=d"(dummy) | ||
- :"a"(a), "rm"(b), "ci"((uint8_t)shift) | ||
+ :"a"(a), "rm"(b), "i"(shift & 0x1F) | ||
); | ||
+ else | ||
+ __asm__ ( | ||
+ "imull %3 \n\t" | ||
+ "shrdl %4, %%edx, %%eax \n\t" | ||
+ :"=a"(rt), "=d"(dummy) | ||
+ :"a"(a), "rm"(b), "c"((uint8_t)shift) | ||
+ ); | ||
return rt; | ||
} | ||
|
||
@@ -113,19 +121,31 @@ __asm__ volatile(\ | ||
// avoid +32 for shift optimization (gcc should do that ...) | ||
#define NEG_SSR32 NEG_SSR32 | ||
static inline int32_t NEG_SSR32( int32_t a, int8_t s){ | ||
+ if (__builtin_constant_p(s)) | ||
__asm__ ("sarl %1, %0\n\t" | ||
: "+r" (a) | ||
- : "ic" ((uint8_t)(-s)) | ||
+ : "i" (-s & 0x1F) | ||
); | ||
+ else | ||
+ __asm__ ("sarl %1, %0\n\t" | ||
+ : "+r" (a) | ||
+ : "c" ((uint8_t)(-s)) | ||
+ ); | ||
return a; | ||
} | ||
|
||
#define NEG_USR32 NEG_USR32 | ||
static inline uint32_t NEG_USR32(uint32_t a, int8_t s){ | ||
+ if (__builtin_constant_p(s)) | ||
__asm__ ("shrl %1, %0\n\t" | ||
: "+r" (a) | ||
- : "ic" ((uint8_t)(-s)) | ||
+ : "i" (-s & 0x1F) | ||
); | ||
+ else | ||
+ __asm__ ("shrl %1, %0\n\t" | ||
+ : "+r" (a) | ||
+ : "c" ((uint8_t)(-s)) | ||
+ ); | ||
return a; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4800c17dd529815ea73aee9658c3682f69bf45518d24408b5a58d678fdc94b94 | ||
5b5a47869a45f6c33d3857b923ec409e41e0813b90b63b7e120b45e0037ee3dc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
gas-preprocessor https://github.com/FFmpeg/gas-preprocessor/archive/9309c67acb535ca6248f092e96131d8eb07eefc1.tar.gz | ||
gas-preprocessor https://github.com/FFmpeg/gas-preprocessor/archive/971df11b06a94dd42881144e4e53be30eb3fee68.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 | ||
a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
gmp https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz | ||
gmp https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
depends/common/gnutls/0002-hack-fix-about-rsa_compute_root_tr.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- a/lib/nettle/backport/rsa-sign-tr.c | ||
+++ b/lib/nettle/backport/rsa-sign-tr.c | ||
@@ -88,10 +88,10 @@ | ||
* attacks which rely on faults on hardware, or even software MPI | ||
* implementation. */ | ||
int | ||
-rsa_compute_root_tr(const struct rsa_public_key *pub, | ||
- const struct rsa_private_key *key, | ||
- void *random_ctx, nettle_random_func *random, | ||
- mpz_t x, const mpz_t m) | ||
+backport_rsa_compute_root_tr(const struct rsa_public_key *pub, | ||
+ const struct rsa_private_key *key, | ||
+ void *random_ctx, nettle_random_func *random, | ||
+ mpz_t x, const mpz_t m) | ||
{ | ||
int res; | ||
mpz_t t, mb, xb, ri; | ||
@@ -142,7 +142,7 @@ | ||
|
||
nn = mpz_size (pub->n); | ||
|
||
- res = rsa_compute_root_tr(pub, key, random_ctx, random, xz, | ||
+ res = backport_rsa_compute_root_tr(pub, key, random_ctx, random, xz, | ||
mpz_roinit_n(mz, m, nn)); | ||
|
||
if (res) | ||
@@ -347,10 +347,10 @@ | ||
* in buffer copying both in case of success or error. | ||
*/ | ||
int | ||
-rsa_compute_root_tr(const struct rsa_public_key *pub, | ||
- const struct rsa_private_key *key, | ||
- void *random_ctx, nettle_random_func *random, | ||
- mpz_t x, const mpz_t m) | ||
+backport_rsa_compute_root_tr(const struct rsa_public_key *pub, | ||
+ const struct rsa_private_key *key, | ||
+ void *random_ctx, nettle_random_func *random, | ||
+ mpz_t x, const mpz_t m) | ||
{ | ||
TMP_GMP_DECL (l, mp_limb_t); | ||
mp_size_t nn = mpz_size(pub->n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0ea0d11a1660a1e63f960f157b197abe6d0c8cb3255be24e1fb3815930b9bdc5 | ||
2bea4e154794f3f00180fa2a5c51fe8b005ac7a31cd58bd44cdfa7f36ebc3a9b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
gnutls https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.0.tar.xz | ||
gnutls https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-3.8.4.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -92,8 +92,9 @@ | ||
@@ -134,7 +134,7 @@ | ||
|
||
# Set definitions and sources for ARM. | ||
if(TARGET_ARCH MATCHES "^arm" OR | ||
TARGET_ARCH MATCHES "^aarch64") | ||
- if(TARGET_ARCH MATCHES "^arm64" OR | ||
- TARGET_ARCH MATCHES "^aarch64") | ||
+ if(NOT APPLE AND | ||
+ (TARGET_ARCH MATCHES "^arm64" OR | ||
+ TARGET_ARCH MATCHES "^aarch64")) | ||
if(TARGET_ARCH MATCHES "^(ARM|arm|aarch)") | ||
- if(TARGET_ARCH MATCHES "^(ARM64|arm64|aarch64)") | ||
+ if(NOT APPLE AND TARGET_ARCH MATCHES "^(ARM64|arm64|aarch64)") | ||
set(PNG_ARM_NEON_POSSIBLE_VALUES on off) | ||
set(PNG_ARM_NEON "on" | ||
CACHE STRING "Enable ARM NEON optimizations: on|off; on is default") | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a00e9d2f2f664186e4202db9299397f851aea71b36a35e74910b8820e380d441 | ||
fecc95b46cf05e8e3fc8a414750e0ba5aad00d89e9fdf175e94ff041caf1a03a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
libpng https://github.com/glennrp/libpng/archive/refs/tags/v1.6.39.tar.gz | ||
libpng https://github.com/pnggroup/libpng/archive/refs/tags/v1.6.43.tar.gz |
2 changes: 1 addition & 1 deletion
2
depends/common/libxml2/0001-check-about-readline-lib-also-presence-of-header.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2fd59eccfe277f7b7dec8836254acbebd24af33857a018dd64ddcf92d88d7f7e | ||
2fb6259e907c916c2c07bde24a13f460f2f07e43bc6470d658dfdcfa08b1ace5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
libxml2 https://github.com/GNOME/libxml2/archive/refs/tags/v2.11.4.tar.gz | ||
libxml2 https://github.com/GNOME/libxml2/archive/refs/tags/v2.11.7.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
568c59b237bb58b46495e1f8e9bbe778e45ba89b4cd856506aa4c8f0a131eccc | ||
e7614a847ce7dd2c05f1db84d21dcf25085565932efb014f27107ae940884d7f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
libzvbi https://github.com/zapping-vbi/zvbi/archive/refs/tags/v0.2.41.tar.gz | ||
libzvbi https://github.com/zapping-vbi/zvbi/archive/refs/tags/v0.2.42.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0ee7adf5a7201610bb7fe0acbb7c9b3be83be44904dd35ebbcd965cd896bfeaa | ||
ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nettle https://ftp.gnu.org/gnu/nettle/nettle-3.9.tar.gz | ||
nettle https://ftp.gnu.org/gnu/nettle/nettle-3.9.1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
92177bef62c3824b4badc524f8abcce54a20b7dbcfb84cde0a2eb8b49159518c | ||
92177bef62c3824b4badc524f8abcce54a20b7dbcfb84cde0a2eb8b49159518c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
xz-utils https://tukaani.org/xz/xz-5.4.3.tar.xz | ||
xz-utils http://mirrors.kodi.tv/build-deps/sources/xz-5.4.3.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-DZLIB_BUILD_EXAMPLES=OFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
d14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98 | ||
38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
zlib http://mirrors.kodi.tv/build-deps/sources/zlib-1.2.13.tar.xz | ||
zlib https://www.zlib.net/zlib-1.3.1.tar.xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.