File compiz-manager-bnc564536.patch of Package compiz-manager

Index: compiz-manager
===================================================================
--- compiz-manager.orig
+++ compiz-manager
@@ -53,7 +53,7 @@ NVIDIA_MEMORY="65536" # 64MB
 NVIDIA_SETTINGS="nvidia-settings" # Assume it's in the path by default
 
 # For detecting what driver is in use, the + is for one or more /'s
-XORG_DRIVER_PATH="/usr/lib/xorg/modules/drivers/+"
+XORG_DRIVER_PATH="/usr/${LIB}/+xorg/+modules/+drivers/+"
 FALLBACKWM="xterm"
 if [ x"$KDE_FULL_SESSION" = x"true" ]; then 
         FALLBACKWM="${KWIN}";
@@ -303,14 +303,14 @@ running_under_whitelisted_driver()
 # check pciid blacklist
 have_blacklisted_pciid()
 {
-	OUTPUT=$(lspci -n)
+	OUTPUT=$(/sbin/lspci -n)
 	for ID in ${BLACKLIST_PCIIDS}; do
 		if echo "$OUTPUT" | egrep -q "$ID"; then
 			verbose "Blacklisted PCIID '$ID' found \n"
 			return 0
 		fi
 	done
-	OUTPUT=$(lspci -vn | grep -i VGA)
+	OUTPUT=$(/sbin/lspci -vn | grep -i VGA)
 	verbose "Detected PCI ID for VGA: $OUTPUT\n"
 	return 1
 }