File disable-resmgr-support.patch of Package sane-backends

--- configure.in.orig	2006-07-03 00:21:42.000000000 +0200
+++ configure.in	2006-09-11 10:47:29.000000000 +0200
@@ -131,15 +131,21 @@ AC_CHECK_HEADERS([io/cam/cam.h],,,[#incl
 
 SANE_CHECK_MISSING_HEADERS
 
-AC_CHECK_HEADER(resmgr.h,[
-	AC_CHECK_LIB(
-		resmgr,
-		rsm_open_device,[
-			AC_DEFINE(HAVE_RESMGR,1,[define if you have the resmgr library])
-			LIBS="$LIBS -lresmgr"
-		]
-	)
-])
+# Since Suse Linux 10.0 resmgr installs ACLs on device nodes.
+# Therefore there is no need to patch applications with special resmgr
+# support anymore.
+# As the "rsm_open_device" calls in sanei_scsi.c and sanei_usb.c
+# are optionally via "ifdef HAVE_RESMGR" with fallback "open" calls,
+# the special resmgr support is not removed but only disabled here:
+#AC_CHECK_HEADER(resmgr.h,[
+#	AC_CHECK_LIB(
+#		resmgr,
+#		rsm_open_device,[
+#			AC_DEFINE(HAVE_RESMGR,1,[define if you have the resmgr library])
+#			LIBS="$LIBS -lresmgr"
+#		]
+#	)
+#])
 
 AC_CHECK_HEADER(usbcalls.h,[
 			AC_DEFINE(HAVE_USBCALLS,1,[define if you have the usbcalls library])
openSUSE Build Service is sponsored by