c1a1febf7c
Adding a patch to support libusb and kernel usblp at the same time. http://www.cups.org/str.php?L3357 The current Gentoo net-print/cups-1.4.6-r1 will fail if the kernel is compiled with CONFIG_USB_PRINTER (either built-in or module, see http://bugs.gentoo.org/show_bug.cgi?id=365627). I have changed this error to a warning. However, the warning may not be necessary with the patch applied. Both Ubuntu and Debian have adopted this patch (other distros have probably done likewise). Please note: This Sabayon version of net-print/cups can be obsoleted if/when the version in the main Gentoo tree adopts the patch (I am pursuing pushing this patch back).
13 lines
637 B
Diff
13 lines
637 B
Diff
diff -urN cups-1.4.4/scripting/perl/Makefile.PL cups-1.4.4.new//scripting/perl/Makefile.PL
|
|
--- cups-1.4.4/scripting/perl/Makefile.PL 2002-08-19 22:43:03.000000000 +0200
|
|
+++ cups-1.4.4.new//scripting/perl/Makefile.PL 2010-09-12 19:12:53.173000149 +0200
|
|
@@ -11,7 +11,7 @@
|
|
'LIBS' => ['-lcups '], # e.g., '-lm'
|
|
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
|
|
# Insert -I. if you add *.h files later:
|
|
- 'INC' => '', # e.g., '-I/usr/include/other'
|
|
+ 'INC' => '-I../../', # e.g., '-I/usr/include/other'
|
|
# Un-comment this if you add C files to link with later:
|
|
# 'OBJECT' => '$(O_FILES)', # link all the C files too
|
|
);
|