diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-01-17 20:10:42 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-01-21 10:02:01 -0800 |
| commit | 68fe58173d54311592323fe7cef5c1355f328ed4 (patch) | |
| tree | 68e42a3d08727828b4c7ee81cd844d4cdf4d6325 | |
| parent | a92489d4b4a036e55b0f5a36ddb4c582f7036415 (diff) | |
| download | meta-openembedded-68fe58173d54311592323fe7cef5c1355f328ed4.tar.gz | |
freerdp: Fix incompatible function pointer type
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/freerdp/freerdp/0001-Fix-incompatible-function-pointer-types.patch | 32 | ||||
| -rw-r--r-- | meta-oe/recipes-support/freerdp/freerdp_2.9.0.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/freerdp/freerdp/0001-Fix-incompatible-function-pointer-types.patch b/meta-oe/recipes-support/freerdp/freerdp/0001-Fix-incompatible-function-pointer-types.patch new file mode 100644 index 0000000000..ce230dbf22 --- /dev/null +++ b/meta-oe/recipes-support/freerdp/freerdp/0001-Fix-incompatible-function-pointer-types.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 9c785ca0535d9c24e6699ee1243b427c1407acb5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 17 Jan 2023 19:31:17 -0800 | ||
| 4 | Subject: [PATCH] Fix incompatible function pointer types | ||
| 5 | |||
| 6 | clang 16+ is flagging the function pointer prototype mismatches, | ||
| 7 | therefore fix it. | ||
| 8 | |||
| 9 | Fixes Issue #8487 | ||
| 10 | |||
| 11 | Upstream-Status: Submitted [https://github.com/FreeRDP/FreeRDP/pull/8622] | ||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | --- | ||
| 14 | client/X11/xf_disp.c | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/client/X11/xf_disp.c b/client/X11/xf_disp.c | ||
| 18 | index 32ddb626c..ef0cb93ff 100644 | ||
| 19 | --- a/client/X11/xf_disp.c | ||
| 20 | +++ b/client/X11/xf_disp.c | ||
| 21 | @@ -248,7 +248,7 @@ static void xf_disp_OnTimer(void* context, TimerEventArgs* e) | ||
| 22 | xf_disp_sendResize(xfDisp); | ||
| 23 | } | ||
| 24 | |||
| 25 | -static void xf_disp_OnWindowStateChange(void* context, const WindowStateChangeEventArgs* e) | ||
| 26 | +static void xf_disp_OnWindowStateChange(void* context, WindowStateChangeEventArgs* e) | ||
| 27 | { | ||
| 28 | xfContext* xfc; | ||
| 29 | xfDispContext* xfDisp; | ||
| 30 | -- | ||
| 31 | 2.39.1 | ||
| 32 | |||
diff --git a/meta-oe/recipes-support/freerdp/freerdp_2.9.0.bb b/meta-oe/recipes-support/freerdp/freerdp_2.9.0.bb index 0856a60bed..3b8fee0f5f 100644 --- a/meta-oe/recipes-support/freerdp/freerdp_2.9.0.bb +++ b/meta-oe/recipes-support/freerdp/freerdp_2.9.0.bb | |||
| @@ -16,6 +16,7 @@ PKGV = "${GITPKGVTAG}" | |||
| 16 | SRCREV = "fa8e1b1c765a4466030ac52240f052c0b440a4d1" | 16 | SRCREV = "fa8e1b1c765a4466030ac52240f052c0b440a4d1" |
| 17 | SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ | 17 | SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ |
| 18 | file://winpr-makecert-Build-with-install-RPATH.patch \ | 18 | file://winpr-makecert-Build-with-install-RPATH.patch \ |
| 19 | file://0001-Fix-incompatible-function-pointer-types.patch \ | ||
| 19 | " | 20 | " |
| 20 | 21 | ||
| 21 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
