summaryrefslogtreecommitdiffstats
path: root/abs/extra/cups/cups-1.6.2-statedir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/cups/cups-1.6.2-statedir.patch')
-rw-r--r--abs/extra/cups/cups-1.6.2-statedir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/cups/cups-1.6.2-statedir.patch b/abs/extra/cups/cups-1.6.2-statedir.patch
new file mode 100644
index 0000000..c44ebed
--- /dev/null
+++ b/abs/extra/cups/cups-1.6.2-statedir.patch
@@ -0,0 +1,12 @@
+diff -ruN cups-1.6.2.orig/config-scripts/cups-directories.m4 cups-1.6.2/config-scripts/cups-directories.m4
+--- cups-1.6.2.orig/config-scripts/cups-directories.m4 2012-10-01 03:55:23.000000000 +0200
++++ cups-1.6.2/config-scripts/cups-directories.m4 2013-04-02 00:11:41.000000000 +0200
+@@ -420,7 +420,7 @@
+ ;;
+ *)
+ # All others
+- CUPS_STATEDIR="$localstatedir/run/cups"
++ CUPS_STATEDIR="/run/cups"
+ ;;
+ esac])
+ AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$CUPS_STATEDIR")