aboutsummaryrefslogtreecommitdiffstats
path: root/main/xorg-server/link-libshadow.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-27 16:29:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-27 16:30:17 -0300
commit660321b4443624b5a078274e3278b72d5876f45b (patch)
tree7c124dd24cfcdd143c5c885898ed875fe43ba875 /main/xorg-server/link-libshadow.patch
parent7743651eb99fb78b593e7d9cb15b8c96aaecbbdd (diff)
downloadaports-660321b4443624b5a078274e3278b72d5876f45b.tar.gz
aports-660321b4443624b5a078274e3278b72d5876f45b.tar.bz2
aports-660321b4443624b5a078274e3278b72d5876f45b.tar.xz
main/xorg-server: underlink libfb.so as autotools does
fixes #11395
Diffstat (limited to 'main/xorg-server/link-libshadow.patch')
-rw-r--r--main/xorg-server/link-libshadow.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/xorg-server/link-libshadow.patch b/main/xorg-server/link-libshadow.patch
new file mode 100644
index 0000000000..48f8cd1bc9
--- /dev/null
+++ b/main/xorg-server/link-libshadow.patch
@@ -0,0 +1,31 @@
+From a530b6e8923f2b9153a773c8618a1e2f41619288 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax@redhat.com>
+Date: Tue, 30 Apr 2019 18:01:27 -0400
+Subject: [PATCH] meson: Fix libshadow.so linkage
+
+Don't link against fb, it's the driver's responsibility to load that
+first. Underlinking like this is unpleasant but this matches what
+autotools does.
+
+Fixes: xorg/xserver#540
+---
+ hw/xfree86/dixmods/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/hw/xfree86/dixmods/meson.build b/hw/xfree86/dixmods/meson.build
+index 835d23215..0562b630f 100644
+--- a/hw/xfree86/dixmods/meson.build
++++ b/hw/xfree86/dixmods/meson.build
+@@ -34,7 +34,7 @@ shared_module(
+ c_args: xorg_c_args,
+ dependencies: common_dep,
+ link_whole: libxserver_miext_shadow,
+- link_with: [fb, e],
++ link_with: e,
+
+ install: true,
+ install_dir: module_dir,
+--
+2.22.0
+
+