LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File cups-move-everything-to-run.patch of Package cups154 (Project home:mgoppold:printing)

--- cups-1.5.4.orig/config.h.in
+++ cups-1.5.4/config.h.in
@@ -131,7 +131,7 @@
 #define CUPS_SBINDIR	"/usr/sbin"
 #define CUPS_SERVERBIN	"/usr/lib/cups"
 #define CUPS_SERVERROOT	"/etc/cups"
-#define CUPS_STATEDIR	"/var/run/cups"
+#define CUPS_STATEDIR	"/run/cups"
 
 
 /*
--- cups-1.5.4.orig/configure
+++ cups-1.5.4/configure
@@ -6424,7 +6424,7 @@ case "$uname" in
 		;;
 	*)
 		# All others
-		CUPS_STATEDIR="$localstatedir/run/cups"
+		CUPS_STATEDIR="/run/cups"
 		;;
 esac
 cat >>confdefs.h <<_ACEOF
--- cups-1.5.4.orig/config-scripts/cups-directories.m4
+++ cups-1.5.4/config-scripts/cups-directories.m4
@@ -429,7 +429,7 @@ case "$uname" in
 		;;
 	*)
 		# All others
-		CUPS_STATEDIR="$localstatedir/run/cups"
+		CUPS_STATEDIR="/run/cups"
 		;;
 esac
 AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$CUPS_STATEDIR")