summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/remmina/files/remmina-1.4.27_p20221128-missing-gdk-include.patch13
-rw-r--r--net-misc/remmina/remmina-1.4.27_p20221128.ebuild6
2 files changed, 17 insertions, 2 deletions
diff --git a/net-misc/remmina/files/remmina-1.4.27_p20221128-missing-gdk-include.patch b/net-misc/remmina/files/remmina-1.4.27_p20221128-missing-gdk-include.patch
new file mode 100644
index 000000000000..618dd721a293
--- /dev/null
+++ b/net-misc/remmina/files/remmina-1.4.27_p20221128-missing-gdk-include.patch
@@ -0,0 +1,13 @@
+diff --git a/src/remmina.c b/src/remmina.c
+index 5b59339f8..43834b9bd 100644
+--- a/src/remmina.c
++++ b/src/remmina.c
+@@ -32,6 +32,8 @@
+ *
+ */
+
++#include <gdk/gdk.h>
++
+ #define G_LOG_USE_STRUCTURED
+ #ifndef G_LOG_DOMAIN
+ #define G_LOG_DOMAIN ((gchar*)"remmina")
diff --git a/net-misc/remmina/remmina-1.4.27_p20221128.ebuild b/net-misc/remmina/remmina-1.4.27_p20221128.ebuild
index e643ec1c2dbc..c6a6755dc703 100644
--- a/net-misc/remmina/remmina-1.4.27_p20221128.ebuild
+++ b/net-misc/remmina/remmina-1.4.27_p20221128.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://gitlab.com/Remmina/Remmina/-/archive/${COMMIT}/Remmina-${COMMIT
LICENSE="GPL-2+-with-openssl-exception"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE="+appindicator crypt cups examples gnome-keyring gvnc kwallet nls python spice ssh rdp telemetry vnc webkit x2go zeroconf"
+IUSE="+appindicator crypt cups examples gnome-keyring gvnc kwallet nls python spice ssh rdp telemetry vnc wayland webkit x2go zeroconf"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -27,7 +27,7 @@ COMMON_DEPEND="
dev-libs/libsodium:=
dev-libs/openssl:0=
x11-libs/gdk-pixbuf
- x11-libs/gtk+:3
+ x11-libs/gtk+:3[wayland?]
x11-libs/libX11
x11-libs/libxkbfile
appindicator? ( dev-libs/libappindicator:3 )
@@ -67,6 +67,8 @@ DOCS=( AUTHORS CHANGELOG.md README.md THANKS.md )
S="${WORKDIR}/Remmina-${COMMIT}"
+PATCHES=( "${FILESDIR}/${P}-missing-gdk-include.patch" )
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}