summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-11-14 12:24:00 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-11-14 12:24:00 +0100
commit78285a68b1452fa29a7359cb888b49ce8010c78e (patch)
tree11c2ab671615130a903713da8a978a552cd0dd9c
parentnet-misc/xrdp: drop useflag requirement, not needed anymore (diff)
downloaddilfridge-78285a68b1452fa29a7359cb888b49ce8010c78e.tar.gz
dilfridge-78285a68b1452fa29a7359cb888b49ce8010c78e.tar.bz2
dilfridge-78285a68b1452fa29a7359cb888b49ce8010c78e.zip
net-misc/xrdp: fix build
See-also: https://github.com/neutrinolabs/xrdp/pull/2257 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--net-misc/xrdp/files/xrdp-0.9.23.1-static.patch24
-rw-r--r--net-misc/xrdp/xrdp-0.9.23.1.ebuild1
2 files changed, 25 insertions, 0 deletions
diff --git a/net-misc/xrdp/files/xrdp-0.9.23.1-static.patch b/net-misc/xrdp/files/xrdp-0.9.23.1-static.patch
new file mode 100644
index 0000000..dc2d4e1
--- /dev/null
+++ b/net-misc/xrdp/files/xrdp-0.9.23.1-static.patch
@@ -0,0 +1,24 @@
+diff -ruN xrdp-0.9.23.1.orig/libpainter/src/Makefile.am xrdp-0.9.23.1/libpainter/src/Makefile.am
+--- xrdp-0.9.23.1.orig/libpainter/src/Makefile.am 2023-09-27 19:59:34.000000000 +0200
++++ xrdp-0.9.23.1/libpainter/src/Makefile.am 2023-11-14 12:21:28.677401319 +0100
+@@ -11,7 +11,7 @@
+
+ lib_LTLIBRARIES = libpainter.la
+
+-libpainter_la_LDFLAGS =
++libpainter_la_LDFLAGS = -all-static
+
+ libpainter_ladir = $(moduledir)
+
+diff -ruN xrdp-0.9.23.1.orig/librfxcodec/src/Makefile.am xrdp-0.9.23.1/librfxcodec/src/Makefile.am
+--- xrdp-0.9.23.1.orig/librfxcodec/src/Makefile.am 2023-09-27 19:59:34.000000000 +0200
++++ xrdp-0.9.23.1/librfxcodec/src/Makefile.am 2023-11-14 12:22:14.614851942 +0100
+@@ -36,6 +36,8 @@
+
+ lib_LTLIBRARIES = librfxencode.la
+
++librfxencode_la_LDFLAGS = -all-static
++
+ librfxencode_la_SOURCES = $(noinst_HEADERS) rfxencode.c \
+ rfxencode_compose.c rfxencode_tile.c rfxencode_dwt.c \
+ rfxencode_quantization.c rfxencode_differential.c \
diff --git a/net-misc/xrdp/xrdp-0.9.23.1.ebuild b/net-misc/xrdp/xrdp-0.9.23.1.ebuild
index 3fd4474..4267b70 100644
--- a/net-misc/xrdp/xrdp-0.9.23.1.ebuild
+++ b/net-misc/xrdp/xrdp-0.9.23.1.ebuild
@@ -45,6 +45,7 @@ PDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-0.9.23.1-flags.patch"
+ "${FILESDIR}/${PN}-0.9.23.1-static.patch"
)
src_prepare() {