pjsip: 2.10 -> 2.11.1

This commit is contained in:
linsui 2021-10-04 14:12:20 +08:00
parent 3c5ac430ca
commit 4b866da20b
2 changed files with 6 additions and 9 deletions

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "pjsip";
version = "2.10";
version = "2.11.1";
src = fetchFromGitHub {
owner = pname;
repo = "pjproject";
rev = version;
sha256 = "1aklicpgwc88578k03i5d5cm5h8mfm7hmx8vfprchbmaa2p8f4z0";
sha256 = "sha256-mqtlxQDIFee93wpdn8oNWmMPDyjYTCmVqF6IJvJbRBM=";
};
patches = [
@ -21,9 +21,6 @@ stdenv.mkDerivation rec {
preConfigure = ''
export LD=$CC
'' # Fixed on master, remove with 2.11
+ lib.optionalString stdenv.isDarwin ''
NIX_CFLAGS_COMPILE+=" -framework Security"
'';
postInstall = ''

View File

@ -1,9 +1,9 @@
--- a/aconfigure
+++ b/aconfigure
@@ -8945,6 +8945,10 @@
ac_webrtc_instset=neon
ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
;;
@@ -9174,6 +9174,10 @@
ac_webrtc_instset=neon
ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
;;
+ arm64*|aarch64*)
+ ac_webrtc_instset=neon
+ ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"