FreeBSD Bugzilla – Attachment 254506 Details for
Bug 282319
x11/plasma[56]-plasma-desktop: fix build with clang 19
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with clang 19
plasma6-plasma-desktop.diff (text/plain), 1.69 KB, created by
Jung-uk Kim
on 2024-10-25 10:04:09 UTC
(
hide
)
Description:
Fix build with clang 19
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2024-10-25 10:04:09 UTC
Size:
1.69 KB
patch
obsolete
>diff --git a/x11/plasma6-plasma-desktop/Makefile b/x11/plasma6-plasma-desktop/Makefile >index 1d126bcd1f14..40fe72d166bf 100644 >--- a/x11/plasma6-plasma-desktop/Makefile >+++ b/x11/plasma6-plasma-desktop/Makefile >@@ -37,6 +37,8 @@ USE_KDE= activities activities-stats attica auth baloo bookmarks \ > USE_QT= 5compat base declarative svg > USE_XORG= x11 xcb xcursor xext xfixes xi xrender > >+PATCH_STRIP= -p1 >+ > #SHEBANG_FILES= kcms/keyboard/*.py kcms/ksmserver/kconf_update/*.py > > .include <bsd.port.mk> >diff --git a/x11/plasma6-plasma-desktop/files/patch-kcms_libkwindevices_inputdevice.h b/x11/plasma6-plasma-desktop/files/patch-kcms_libkwindevices_inputdevice.h >new file mode 100644 >index 000000000000..5df2bf897861 >--- /dev/null >+++ b/x11/plasma6-plasma-desktop/files/patch-kcms_libkwindevices_inputdevice.h >@@ -0,0 +1,26 @@ >+From 02726a1ca0189f71f46513078cbc82af9daa9425 Mon Sep 17 00:00:00 2001 >+From: Yifan Zhu <fanzhuyifan@gmail.com> >+Date: Sat, 10 Aug 2024 10:16:25 -0700 >+Subject: [PATCH] kcms/libkwindevices: use function value instead of function >+ >+Prop<T> p.value is a function. We should call set on its return value, >+instead of on the function pointer. >+ >+BUG: 491506 >+--- >+ kcms/libkwindevices/inputdevice.h | 2 +- >+ 1 file changed, 1 insertion(+), 1 deletion(-) >+ >+diff --git a/kcms/libkwindevices/inputdevice.h b/kcms/libkwindevices/inputdevice.h >+index 706be636c6..53b874d5ab 100644 >+--- a/kcms/libkwindevices/inputdevice.h >++++ b/kcms/libkwindevices/inputdevice.h >+@@ -195,7 +195,7 @@ class InputDevice : public QObject >+ bool changed() const; >+ void set(const Prop<T> &p) >+ { >+- set(p.value); >++ set(p.value()); >+ } >+ >+ bool isSupported() const
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282319
: 254506