]> git.pld-linux.org Git - packages/xorg-app-xdm.git/blobdiff - xorg-app-xdm-selinux.patch
- use different variable name not to (pre)override XDM_LIBS from pkg-config
[packages/xorg-app-xdm.git] / xorg-app-xdm-selinux.patch
diff --git a/xorg-app-xdm-selinux.patch b/xorg-app-xdm-selinux.patch
new file mode 100644 (file)
index 0000000..bf95503
--- /dev/null
@@ -0,0 +1,20 @@
+--- xdm-1.1.10/configure.ac.orig       2010-04-10 03:49:03.000000000 +0200
++++ xdm-1.1.10/configure.ac    2010-05-27 08:38:08.765531633 +0200
+@@ -144,7 +144,7 @@
+               [if test "x$USE_SELINUX" != "xtry" ; then
+                       AC_MSG_ERROR(["selinux support requested, but is_selinux_enabled not found."])
+                fi])
+-      XDM_LIBS="$XDM_LIBS $LIBS"
++      XDM_SELINUX_LIBS="$LIBS"
+       LIBS="$old_LIBS"
+ fi
+@@ -311,7 +311,7 @@
+ PKG_CHECK_MODULES(XDM, xmu x11 xau)
+-XDM_LIBS="$XDM_LIBS $XDM_OS_LIBS"
++XDM_LIBS="$XDM_LIBS $XDM_SELINUX_LIBS $XDM_OS_LIBS"
+ PKG_CHECK_EXISTS(xinerama, [
+       AC_DEFINE([USE_XINERAMA], 1, 
This page took 0.072113 seconds and 4 git commands to generate.