summaryrefslogtreecommitdiff
path: root/debian/patches/0045-disable_lock_test_at_build_time.patch
blob: e5f82f37f07b572255429c9ad44780fe065ba3e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Disable lock test at buildtime
Author: Jörg Frings-Fürst <debian@jff.emaill>
Forwarded: not-needed
Last-Update: 2020-08-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/acinclude.m4
===================================================================
--- trunk.orig/acinclude.m4
+++ trunk/acinclude.m4
@@ -359,11 +359,11 @@ AC_DEFUN([SANE_CHECK_LOCKING],
     touch sanetest.file
     chgrp $LOCKPATH_GROUP sanetest.file 2>/dev/null || lasterror=$?
     rm -f sanetest.file
-    if test ! -z "$lasterror"; then
-      AC_MSG_WARN([Group $LOCKPATH_GROUP does not exist on this system.])
-      AC_MSG_WARN([Locking feature will be disabled.])
-      use_locking=no
-    fi
+#    if test ! -z "$lasterror"; then
+#      AC_MSG_WARN([Group $LOCKPATH_GROUP does not exist on this system.])
+#      AC_MSG_WARN([Locking feature will be disabled.])
+#      use_locking=no
+#    fi
   fi
   if test $use_locking = yes ; then
     INSTALL_LOCKPATH=install-lockpath