1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 60_device_uri.dpatch by Kenshi Muto <kmuto@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
8
diff -urNad cups-1.2.1~/cgi-bin/admin.c cups-1.2.1/cgi-bin/admin.c
9
--- cups-1.2.1~/cgi-bin/admin.c 2006-07-19 04:25:44.000000000 +0000
10
+++ cups-1.2.1/cgi-bin/admin.c 2006-07-19 04:27:50.000000000 +0000
12
* Set the current device URI for the form to the old one...
15
- if (strncmp(attr->values[0].string.text, var, strlen(var)) == 0)
16
+ /* if (strncmp(attr->values[0].string.text, var, strlen(var)) == 0) */
17
cgiSetVariable("DEVICE_URI", attr->values[0].string.text);