freerdp: Upgrade to 2.11.7
PATCH 1/2 freerdp: Upgrade to 2.11.7
Partially backport a fix to build with gcc-14
---
.../0001-Fixed-compilation-warnings.patch | 27 +++++++++++++++++++
.../{freerdp_2.11.2.bb => freerdp_2.11.7.bb} | 3 ++-
2 files changed, 29 insertions(+), 1 deletion(-)
create mode 100644 meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch
rename meta-oe/recipes-support/freerdp/{freerdp_2.11.2.bb => freerdp_2.11.7.bb} (97%)meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 75fa1fa5bd5ef2350390564245fd0984209ac092 Mon Sep 17 00:00:00 2001 +From: akallabeth <[email protected]> +Date: Mon, 4 Jul 2022 14:34:46 +0200 +Subject: [PATCH] Fixed compilation warnings + +Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/2da280b8a1748052b70b3f5a1ef0d8e932c33adc] +Signed-off-by: Khem Raj <[email protected]> +--- + client/X11/xf_graphics.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/X11/xf_graphics.c b/client/X11/xf_graphics.c +index 5aa1fd48b..fe81e0ed9 100644 +--- a/client/X11/xf_graphics.c ++++ b/client/X11/xf_graphics.c +@@ -438,7 +438,7 @@ static BOOL xf_Pointer_New(rdpContext* context, rdpPointer* pointer) + + #endif + fail: +- WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : -1); ++ WLog_DBG(TAG, "%s: %p", __func__, rc ? pointer : NULL); + return rc; + } + +-- +2.45.0 +
meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb renamed from meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb +2 -1
@@ -13,9 +13,10 @@ inherit pkgconfig cmake gitpkgv PE = "1" PKGV = "${GITPKGVTAG}" -SRCREV = "a38c1be9eee39a9bc22b511fffe96e63fdf8ebe7" +SRCREV = "7f6cc93c21d7f0faad6daacca06f494f29ce882c" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ file://winpr-makecert-Build-with-install-RPATH.patch \ + file://0001-Fixed-compilation-warnings.patch \ file://0001-Fix-const-qualifier-error.patch \ file://0002-Do-not-install-tools-a-CMake-targets.patch \ "
Signature · 1 line
2.45.0
PATCH 2/2 freerdp3: Upgrade to 3.5.1 release
---
.../freerdp/{freerdp3_3.4.0.bb => freerdp3_3.5.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/freerdp/{freerdp3_3.4.0.bb => freerdp3_3.5.1.bb} (98%)meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb renamed from meta-oe/recipes-support/freerdp/freerdp3_3.4.0.bb +1 -1
@@ -7,7 +7,7 @@ DEPENDS = "openssl libusb1 uriparser cairo icu pkcs11-helper zlib jpeg" inherit pkgconfig cmake -SRCREV = "708f3764897e06297469a7b0507b3c9ecc041ad7" +SRCREV = "eda5c99686e15327f2f37b9cadf307e852b96adf" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https" S = "${WORKDIR}/git"
Signature · 1 line
2.45.0
Quoted 2 lines · Khem Raj via lists.openembedded.org
Partially backport a fix to build with gcc-14
It fixes it only partially, right?
I'm stills seeing:
freerdp/2.11.7/git/libfreerdp/core/info.c:88:39: error: initialization of 'const WCHAR *' {aka 'const short unsigned int *'} from incompatible pointer type 'BYTE *' {aka 'unsigned char *'} [-Wincompatible-pointer-types]
88 | const WCHAR* domain = Stream_Pointer(s);
| ^~~~~~~~~~~~~~Quoted 72 lines
Signed-off-by Khem Raj <[email protected]>--- .../0001-Fixed-compilation-warnings.patch | 27 +++++++++++++++++++ .../{freerdp_2.11.2.bb => freerdp_2.11.7.bb} | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch rename meta-oe/recipes-support/freerdp/{freerdp_2.11.2.bb => freerdp_2.11.7.bb} (97%)meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch new file +27
-0@@ -0,0 +1,27 @@ +From 75fa1fa5bd5ef2350390564245fd0984209ac092 Mon Sep 17 00:00:00 2001 +From: akallabeth <[email protected]> +Date: Mon, 4 Jul 2022 14:34:46 +0200 +Subject: [PATCH] Fixed compilation warnings + +Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/2da280b8a1748052b70b3f5a1ef0d8e932c33adc] +Signed-off-by: Khem Raj <[email protected]> +--- + client/X11/xf_graphics.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/X11/xf_graphics.c b/client/X11/xf_graphics.c +index 5aa1fd48b..fe81e0ed9 100644 +--- a/client/X11/xf_graphics.c ++++ b/client/X11/xf_graphics.c +@@ -438,7 +438,7 @@ static BOOL xf_Pointer_New(rdpContext* context, rdpPointer* pointer) + + #endif + fail: +- WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : -1); ++ WLog_DBG(TAG, "%s: %p", __func__, rc ? pointer : NULL); + return rc; + } + +-- +2.45.0 +meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb renamed from meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb +2
-2@@ -13,9 +13,10 @@ inherit pkgconfig cmake gitpkgv PE = "1" PKGV = "${GITPKGVTAG}" -SRCREV = "a38c1be9eee39a9bc22b511fffe96e63fdf8ebe7" +SRCREV = "7f6cc93c21d7f0faad6daacca06f494f29ce882c" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ file://winpr-makecert-Build-with-install-RPATH.patch \ + file://0001-Fixed-compilation-warnings.patch \ file://0001-Fix-const-qualifier-error.patch \ file://0002-Do-not-install-tools-a-CMake-targets.patch \ " --2.45.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110294): https://lists.openembedded.org/g/openembedded-devel/message/110294
Mute This Topic: https://lists.openembedded.org/mt/106007932/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 8 lines · Martin Jansa
Quoted 2 lines · Khem Raj via lists.openembedded.org
Partially backport a fix to build with gcc-14
It fixes it only partially, right?
Quoted 9 lines
I'm stills seeing:
freerdp/2.11.7/git/libfreerdp/core/info.c:88:39: error: initialization of 'const WCHAR *' {aka 'const short unsigned int *'} from incompatible pointer type 'BYTE *' {aka 'unsigned char *'} [-Wincompatible-pointer-types]88 | const WCHAR* domain = Stream_Pointer(s); | ^~~~~~~~~~~~~~
Interesting, I did not encounter this, perhaps different machines maybe ?
Quoted 73 lines
Quoted 73 lines
Signed-off-by Khem Raj <[email protected]>--- .../0001-Fixed-compilation-warnings.patch | 27 +++++++++++++++++++ .../{freerdp_2.11.2.bb => freerdp_2.11.7.bb} | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch rename meta-oe/recipes-support/freerdp/{freerdp_2.11.2.bb => freerdp_2.11.7.bb} (97%)meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch new file +27
-0@@ -0,0 +1,27 @@ +From 75fa1fa5bd5ef2350390564245fd0984209ac092 Mon Sep 17 00:00:00 2001 +From: akallabeth <[email protected]> +Date: Mon, 4 Jul 2022 14:34:46 +0200 +Subject: [PATCH] Fixed compilation warnings + +Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/2da280b8a1748052b70b3f5a1ef0d8e932c33adc] +Signed-off-by: Khem Raj <[email protected]> +--- + client/X11/xf_graphics.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/X11/xf_graphics.c b/client/X11/xf_graphics.c +index 5aa1fd48b..fe81e0ed9 100644 +--- a/client/X11/xf_graphics.c ++++ b/client/X11/xf_graphics.c +@@ -438,7 +438,7 @@ static BOOL xf_Pointer_New(rdpContext* context, rdpPointer* pointer) + + #endif + fail: +- WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : -1); ++ WLog_DBG(TAG, "%s: %p", __func__, rc ? pointer : NULL); + return rc; + } + +-- +2.45.0 +meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb renamed from meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb +2
-2@@ -13,9 +13,10 @@ inherit pkgconfig cmake gitpkgv PE = "1" PKGV = "${GITPKGVTAG}" -SRCREV = "a38c1be9eee39a9bc22b511fffe96e63fdf8ebe7" +SRCREV = "7f6cc93c21d7f0faad6daacca06f494f29ce882c" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ file://winpr-makecert-Build-with-install-RPATH.patch \ + file://0001-Fixed-compilation-warnings.patch \ file://0001-Fix-const-qualifier-error.patch \ file://0002-Do-not-install-tools-a-CMake-targets.patch \ " --2.45.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110294): https://lists.openembedded.org/g/openembedded-devel/message/110294
Mute This Topic: https://lists.openembedded.org/mt/106007932/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
I've seen it with qemux86-64 and raspberrypi4-64 last night, both in DISTRO without x11 in DISTRO_FEATURES.
freerdp3_3.5.1 doesn't seem to have this issue, version 2 was fixed last week:
https://github.com/FreeRDP/FreeRDP/commit/4f411197dc9d2076f00748b1178a60b2423030bf
will send a backport.
Quoted 95 lines · Khem Raj
Quoted 8 lines · Martin Jansa
Quoted 2 lines · Khem Raj via lists.openembedded.org
Partially backport a fix to build with gcc-14
It fixes it only partially, right?
Quoted 9 lines
I'm stills seeing:
freerdp/2.11.7/git/libfreerdp/core/info.c:88:39: error: initialization of 'const WCHAR *' {aka 'const short unsigned int *'} from incompatible pointer type 'BYTE *' {aka 'unsigned char *'} [-Wincompatible-pointer-types]88 | const WCHAR* domain = Stream_Pointer(s); | ^~~~~~~~~~~~~~Interesting, I did not encounter this, perhaps different machines maybe ?
Quoted 73 lines
Quoted 73 lines
Signed-off-by Khem Raj <[email protected]>--- .../0001-Fixed-compilation-warnings.patch | 27 +++++++++++++++++++ .../{freerdp_2.11.2.bb => freerdp_2.11.7.bb} | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch rename meta-oe/recipes-support/freerdp/{freerdp_2.11.2.bb => freerdp_2.11.7.bb} (97%)meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch new file +27
-0@@ -0,0 +1,27 @@ +From 75fa1fa5bd5ef2350390564245fd0984209ac092 Mon Sep 17 00:00:00 2001 +From: akallabeth <[email protected]> +Date: Mon, 4 Jul 2022 14:34:46 +0200 +Subject: [PATCH] Fixed compilation warnings + +Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/2da280b8a1748052b70b3f5a1ef0d8e932c33adc] +Signed-off-by: Khem Raj <[email protected]> +--- + client/X11/xf_graphics.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/X11/xf_graphics.c b/client/X11/xf_graphics.c +index 5aa1fd48b..fe81e0ed9 100644 +--- a/client/X11/xf_graphics.c ++++ b/client/X11/xf_graphics.c +@@ -438,7 +438,7 @@ static BOOL xf_Pointer_New(rdpContext* context, rdpPointer* pointer) + + #endif + fail: +- WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : -1); ++ WLog_DBG(TAG, "%s: %p", __func__, rc ? pointer : NULL); + return rc; + } + +-- +2.45.0 +meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb renamed from meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb +2
-2@@ -13,9 +13,10 @@ inherit pkgconfig cmake gitpkgv PE = "1" PKGV = "${GITPKGVTAG}" -SRCREV = "a38c1be9eee39a9bc22b511fffe96e63fdf8ebe7" +SRCREV = "7f6cc93c21d7f0faad6daacca06f494f29ce882c" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ file://winpr-makecert-Build-with-install-RPATH.patch \ + file://0001-Fixed-compilation-warnings.patch \ file://0001-Fix-const-qualifier-error.patch \ file://0002-Do-not-install-tools-a-CMake-targets.patch \ " --2.45.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110294): https://lists.openembedded.org/g/openembedded-devel/message/110294
Mute This Topic: https://lists.openembedded.org/mt/106007932/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 9 lines · Martin Jansa
I've seen it with qemux86-64 and raspberrypi4-64 last night, both in DISTRO without x11 in
DISTRO_FEATURES.freerdp3_3.5.1 doesn't seem to have this issue, version 2 was fixed last week:
https://github.com/FreeRDP/FreeRDP/commit/4f411197dc9d2076f00748b1178a60b2423030bfwill send a backport.
Superb, thanks for tracking it down.
Quoted 96 lines · Khem Raj
Quoted 95 lines · Martin Jansa
Quoted 8 lines
Quoted 2 lines · Khem Raj via lists.openembedded.org
Partially backport a fix to build with gcc-14
It fixes it only partially, right?
Quoted 9 lines
I'm stills seeing:
freerdp/2.11.7/git/libfreerdp/core/info.c:88:39: error: initialization of 'const WCHAR *' {aka 'const short unsigned int *'} from incompatible pointer type 'BYTE *' {aka 'unsigned char *'} [-Wincompatible-pointer-types]88 | const WCHAR* domain = Stream_Pointer(s); | ^~~~~~~~~~~~~~Interesting, I did not encounter this, perhaps different machines maybe ?
Quoted 73 lines
Quoted 73 lines
Signed-off-by Khem Raj <[email protected]>--- .../0001-Fixed-compilation-warnings.patch | 27 +++++++++++++++++++ .../{freerdp_2.11.2.bb => freerdp_2.11.7.bb} | 3 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch rename meta-oe/recipes-support/freerdp/{freerdp_2.11.2.bb => freerdp_2.11.7.bb} (97%)meta-oe/recipes-support/freerdp/freerdp/0001-Fixed-compilation-warnings.patch new file +27
-0@@ -0,0 +1,27 @@ +From 75fa1fa5bd5ef2350390564245fd0984209ac092 Mon Sep 17 00:00:00 2001 +From: akallabeth <[email protected]> +Date: Mon, 4 Jul 2022 14:34:46 +0200 +Subject: [PATCH] Fixed compilation warnings + +Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/2da280b8a1748052b70b3f5a1ef0d8e932c33adc] +Signed-off-by: Khem Raj <[email protected]> +--- + client/X11/xf_graphics.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/client/X11/xf_graphics.c b/client/X11/xf_graphics.c +index 5aa1fd48b..fe81e0ed9 100644 +--- a/client/X11/xf_graphics.c ++++ b/client/X11/xf_graphics.c +@@ -438,7 +438,7 @@ static BOOL xf_Pointer_New(rdpContext* context, rdpPointer* pointer) + + #endif + fail: +- WLog_DBG(TAG, "%s: %ld", __func__, rc ? pointer : -1); ++ WLog_DBG(TAG, "%s: %p", __func__, rc ? pointer : NULL); + return rc; + } + +-- +2.45.0 +meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb renamed from meta-oe/recipes-support/freerdp/freerdp_2.11.2.bb +2
-2@@ -13,9 +13,10 @@ inherit pkgconfig cmake gitpkgv PE = "1" PKGV = "${GITPKGVTAG}" -SRCREV = "a38c1be9eee39a9bc22b511fffe96e63fdf8ebe7" +SRCREV = "7f6cc93c21d7f0faad6daacca06f494f29ce882c" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ file://winpr-makecert-Build-with-install-RPATH.patch \ + file://0001-Fixed-compilation-warnings.patch \ file://0001-Fix-const-qualifier-error.patch \ file://0002-Do-not-install-tools-a-CMake-targets.patch \ " --2.45.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110294): https://lists.openembedded.org/g/openembedded-devel/message/110294
Mute This Topic: https://lists.openembedded.org/mt/106007932/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-