]> git.pld-linux.org Git - packages/sane-backends.git/blob - sane-backends-configure.patch
- don't check for lockpath_group, and don't try to chabge to this group
[packages/sane-backends.git] / sane-backends-configure.patch
1 --- sane-backends-1.0.19/configure.in.orig      2008-05-30 19:01:49.213131000 +0200
2 +++ sane-backends-1.0.19/configure.in   2008-05-30 20:36:53.213946370 +0200
3 @@ -125,7 +125,7 @@
4  AC_CHECK_HEADERS(fcntl.h unistd.h libc.h sys/dsreq.h sys/select.h \
5      sys/time.h sys/shm.h sys/ipc.h sys/signal.h \
6      sys/scanio.h scsi.h sys/scsi.h sys/scsicmd.h sys/scsiio.h \
7 -    bsd/dev/scsireg.h scsi/sg.h /usr/src/linux/include/scsi/sg.h \
8 +    bsd/dev/scsireg.h scsi/sg.h \
9      camlib.h os2.h sys/socket.h sys/io.h gscdds.h sys/hw.h \
10      sys/types.h sys/scsi/scsi.h sys/scsi/sgdefs.h sys/scsi/targets/scgio.h \
11      apollo/scsi.h sys/sdi_comm.h sys/passthrudef.h linux/ppdev.h \
12 --- sane-backends-1.0.19/acinclude.m4.orig      2008-05-30 20:34:04.620337000 +0200
13 +++ sane-backends-1.0.19/acinclude.m4   2008-05-30 20:37:47.481036362 +0200
14 @@ -322,16 +322,6 @@
15                       [use the specified group for lock dir @<:@default=uucp@:>@]),
16          [LOCKPATH_GROUP="$withval"]
17      )
18 -    # check if the group does exist
19 -    lasterror=""
20 -    touch sanetest.file
21 -    chgrp $LOCKPATH_GROUP sanetest.file 2>/dev/null || lasterror=$?
22 -    rm -f sanetest.file
23 -    if test ! -z "$lasterror"; then
24 -      AC_MSG_WARN([Group $LOCKPATH_GROUP does not exist on this system.])
25 -      AC_MSG_WARN([Locking feature will be disabled.])
26 -      use_locking=no
27 -    fi
28    fi
29    if test $use_locking = yes ; then
30      INSTALL_LOCKPATH=install-lockpath
This page took 0.129973 seconds and 3 git commands to generate.