diff options
-rw-r--r-- | system-config-printer.spec | 4 | ||||
-rw-r--r-- | udev-deprecated.patch | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/system-config-printer.spec b/system-config-printer.spec index c0581d7..416e76a 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -2,12 +2,13 @@ Summary: A graphical interface for configuring printers Summary(pl.UTF-8): Graficzny interfejs do zarzÄ…dzania drukarkami Name: system-config-printer Version: 1.3.9 -Release: 3 +Release: 4 License: GPL v2+ Group: X11/Applications Source0: http://cyberelk.net/tim/data/system-config-printer/1.3/%{name}-%{version}.tar.xz # Source0-md5: df424f127eede63965608e5ec5e27519 Patch0: pyc.patch +Patch1: udev-deprecated.patch URL: http://cyberelk.net/tim/software/system-config-printer/ BuildRequires: autoconf BuildRequires: automake @@ -74,6 +75,7 @@ printers. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %{__intltoolize} diff --git a/udev-deprecated.patch b/udev-deprecated.patch new file mode 100644 index 0000000..fcf4375 --- /dev/null +++ b/udev-deprecated.patch @@ -0,0 +1,11 @@ +--- system-config-printer-1.3.9/udev/udev-configure-printer.c~ 2011-10-26 14:14:20.000000000 +0200 ++++ system-config-printer-1.3.9/udev/udev-configure-printer.c 2012-06-02 17:58:49.649600371 +0200 +@@ -500,7 +500,7 @@ + *dest = '\0'; + } + +- sys = udev_get_sys_path (udev); ++ sys = "/sys"; + syslen = strlen (sys); + devpathlen = strlen (devpath); + syspath = malloc (syslen + devpathlen + 1); |