summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-base/xorg-server/files/0002-Fix-linking-with-tslib-with-Wl-as-needed.patch')
-rw-r--r--x11-base/xorg-server/files/0002-Fix-linking-with-tslib-with-Wl-as-needed.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-base/xorg-server/files/0002-Fix-linking-with-tslib-with-Wl-as-needed.patch b/x11-base/xorg-server/files/0002-Fix-linking-with-tslib-with-Wl-as-needed.patch
new file mode 100644
index 000000000000..cdcfca6fdf81
--- /dev/null
+++ b/x11-base/xorg-server/files/0002-Fix-linking-with-tslib-with-Wl-as-needed.patch
@@ -0,0 +1,25 @@
+From 39193982958d8e3c433f32d834912129e360d377 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 4 Oct 2010 19:02:29 +0200
+Subject: [PATCH 2/2] Fix linking with tslib, with -Wl,--as-needed.
+
+---
+ configure.ac | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6d63663..e8f9473 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2122,7 +2122,7 @@ if test "$KDRIVE" = yes; then
+ KDRIVE_LOCAL_LIBS="$MAIN_LIB $DIX_LIB $KDRIVE_LIB $KDRIVE_STUB_LIB"
+ KDRIVE_LOCAL_LIBS="$KDRIVE_LOCAL_LIBS $FB_LIB $MI_LIB $KDRIVE_PURE_LIBS"
+ KDRIVE_LOCAL_LIBS="$KDRIVE_LOCAL_LIBS $KDRIVE_OS_LIB $OS_LIB"
+- KDRIVE_LIBS="$TSLIB_LIBS $KDRIVE_LOCAL_LIBS $XSERVER_SYS_LIBS $GLX_SYS_LIBS $DLOPEN_LIBS"
++ KDRIVE_LIBS="$KDRIVE_LOCAL_LIBS $XSERVER_SYS_LIBS $GLX_SYS_LIBS $DLOPEN_LIBS $TSLIB_LIBS"
+
+ AC_SUBST([XEPHYR_LIBS])
+ AC_SUBST([XEPHYR_INCS])
+--
+1.7.3.1
+