From c62ccdb808bd42c200d61203fefe660bf9f4d6ac Mon Sep 17 00:00:00 2001 From: Andrea Bondavalli Date: Sat, 29 Feb 2020 10:41:31 +0100 Subject: [PATCH] =?UTF-8?q?Added=20fix=20to=20ALSA=20RAVENNA/AES67=20modul?= =?UTF-8?q?e=20to=20solve=20compilation=20error=20"undefined=20named=20ope?= =?UTF-8?q?rand=20=E2=80=98new=E2=80=99"=20using=20kernel=20headers=205.4.?= =?UTF-8?q?19-rt11.=20Since=20this=20fix=20seems=20to=20work=20on=20all=20?= =?UTF-8?q?the=20kernels=20I=20tested=20so=20fax=20(>=204.14.x)=20I=20add?= =?UTF-8?q?=20it=20to=20the=20generic=20fixes=20patch=20file=20(ravenna-al?= =?UTF-8?q?sa-lkm-fixes.patch).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdparty/patches/ravenna-alsa-lkm-fixes.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/3rdparty/patches/ravenna-alsa-lkm-fixes.patch b/3rdparty/patches/ravenna-alsa-lkm-fixes.patch index eba435d..95bf9cd 100644 --- a/3rdparty/patches/ravenna-alsa-lkm-fixes.patch +++ b/3rdparty/patches/ravenna-alsa-lkm-fixes.patch @@ -33,3 +33,35 @@ index 48de263..dcdcce0 100644 { memcpy(response_from_user_land->data, msg->data, msg->dataSize); } +diff --git a/driver/MTAL_stdint.h b/driver/MTAL_stdint.h +index 3ccc109..2f11a58 100644 +--- a/driver/MTAL_stdint.h ++++ b/driver/MTAL_stdint.h +@@ -64,9 +64,9 @@ + } + #endif // __cplusplus + #include +- #define new NEW ++ //#define new NEW + #include +- #undef new ++ //#undef new + #else + #include + #endif +diff --git a/driver/RTP_stream_info.c b/driver/RTP_stream_info.c +index ac65bbb..a65994f 100644 +--- a/driver/RTP_stream_info.c ++++ b/driver/RTP_stream_info.c +@@ -32,9 +32,9 @@ + #include "MTAL_TargetPlatform.h" + + #if (defined(MTAL_LINUX) && defined(MTAL_KERNEL)) +- #define new NEW ++ //#define new NEW + #include +- #undef new ++ //#undef new + #else + #include + #endif