summaryrefslogtreecommitdiff
path: root/net-misc/connman-gtk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-31 17:48:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-31 17:48:50 +0000
commit88e6368ac393fb69b358b60fcedf125f4724172f (patch)
treef2511a593c9c60c29d08b5d8f9684d2666bc20b4 /net-misc/connman-gtk
parent0c7c7c833ab740636f5a76d53ebe5bb6e0e793a8 (diff)
gentoo auto-resync : 31:01:2024 - 17:48:49
Diffstat (limited to 'net-misc/connman-gtk')
-rw-r--r--net-misc/connman-gtk/Manifest3
-rw-r--r--net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild6
-rw-r--r--net-misc/connman-gtk/files/connman-gtk-1.1.1-gtk_typecasts.patch11
3 files changed, 18 insertions, 2 deletions
diff --git a/net-misc/connman-gtk/Manifest b/net-misc/connman-gtk/Manifest
index 6ae0e474f66d..d5b611d8348f 100644
--- a/net-misc/connman-gtk/Manifest
+++ b/net-misc/connman-gtk/Manifest
@@ -1,3 +1,4 @@
+AUX connman-gtk-1.1.1-gtk_typecasts.patch 290 BLAKE2B d56657aa0eabb6523207f5e7c66298b5c3685b9cd4a8cf91f676c290f9447d04c8a1ba372428f7a32f6da24fc06e38cbd3defdcbc4a04b0c544f7102d0e98355 SHA512 3f08a980cdbbde155ab058867e3473edeac2f8fec49940dc7f34b0d2dc87de128970de3ac9c02ba3295270a4e4b8b8f156340afebda5b7b092e191416f0fe246
DIST connman-gtk-1.1.1.tar.gz 61789 BLAKE2B d04d508b5bb03abe78c9b6734df919b6589cea9e7f38c41059210e62795ce79a17b6ba8b3ab1b0c403a43fa2712893bc0d00b1e5f15d9910ca45108b9e760e12 SHA512 78fd41a37370c76f118e3fb8a707b96fd6bf1234a8832d047302d4b0fa350f87316f6e2e749860b2cdf0ff6e6eb76e4d7d398dc7fc084403ca2f8682d2907553
-EBUILD connman-gtk-1.1.1-r1.ebuild 927 BLAKE2B fc25ac4b73cfa12a5d15aad10e12beb342e915bb1fbc24e7416cd8624ab7edbb7438a80fcd246b77db1b8f2a2fe24a75164ebcde712ece59e754a634566f0a38 SHA512 fe7ec89bc2bd316defdab51bd58bbab03828c5442287ccb578531784a6231811fc38ca1aef7d480790b9deb75d0d62c37e34a2103f28fa6f7256a5387f102c0e
+EBUILD connman-gtk-1.1.1-r1.ebuild 987 BLAKE2B 9d8ae2bb547e3a7c182bcac06a31c5242f80efc1dac4519ec3647821afebed4d61150c51ad06a1f3d92708155e668d7b2e84a9017af76f6696821dc1afbb8c42 SHA512 5f9a78571c0511b4cab543c6af9e64eb87554e4446d9a41ba879ca3d4a85add9793855db137b2e5c476595f9cc791dfcce1e4ca90e7a54a484dd219a9e71d970
MISC metadata.xml 489 BLAKE2B 319f458eee0b6c76523376e744dc9edb91f8b0372eaf360011e257173dc0059ff08d32f19a24ba50606dd0f8057422c9141688eca6f6829c144c8368f57d88e9 SHA512 d8f183505fc9272a418d01b02cdf6decfe381af425459337610f904cd11f9ce1b9908f5a3684e1d240ca64d29a533fda0e921fd7a6b53350c390c3592a746af4
diff --git a/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild b/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild
index c950b57ae3c2..467860e1aae2 100644
--- a/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild
+++ b/net-misc/connman-gtk/connman-gtk-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -28,6 +28,10 @@ DEPEND="${CDEOEND}
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.1-gtk_typecasts.patch
+)
+
src_prepare() {
default
sed -i -e '/^Categories/ s/$/;/' connman-gtk.desktop.in || die
diff --git a/net-misc/connman-gtk/files/connman-gtk-1.1.1-gtk_typecasts.patch b/net-misc/connman-gtk/files/connman-gtk-1.1.1-gtk_typecasts.patch
new file mode 100644
index 000000000000..25f29649404f
--- /dev/null
+++ b/net-misc/connman-gtk/files/connman-gtk-1.1.1-gtk_typecasts.patch
@@ -0,0 +1,11 @@
+--- a/src/status.c
++++ b/src/status.c
+@@ -119,7 +119,7 @@
+
+ gtk_menu_item_set_submenu(item, GTK_WIDGET(submenu));
+ gtk_container_add(GTK_CONTAINER(menu), GTK_WIDGET(item));
+- gtk_widget_set_sensitive(item, has_items);
++ gtk_widget_set_sensitive(GTK_WIDGET(item), has_items);
+
+ }
+