summaryrefslogtreecommitdiff
path: root/packages/inotify-tools/files/no-tests.patch
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-11-26 21:27:40 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-11-26 21:27:40 +0000
commit9eb0ed8694c66d46172111d3d897b4bbef83fbc4 (patch)
tree5e3dc46ed11582e0a81235db5de8ce9eb9893571 /packages/inotify-tools/files/no-tests.patch
parent0f8020eaee0dbdaecc9465d51a54326d9ddbdf6b (diff)
inotify-tools: Add version 3.12 from sourceforge.
Diffstat (limited to 'packages/inotify-tools/files/no-tests.patch')
-rw-r--r--packages/inotify-tools/files/no-tests.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/inotify-tools/files/no-tests.patch b/packages/inotify-tools/files/no-tests.patch
new file mode 100644
index 0000000000..0df45c0e72
--- /dev/null
+++ b/packages/inotify-tools/files/no-tests.patch
@@ -0,0 +1,31 @@
+Index: inotify-tools-3.12/configure.ac
+===================================================================
+--- inotify-tools-3.12.orig/configure.ac 2007-11-26 22:23:15.000000000 +0100
++++ inotify-tools-3.12/configure.ac 2007-11-26 22:23:29.000000000 +0100
+@@ -42,16 +42,16 @@
+
+
+ # Checks for header files.
+-AC_CHECK_HEADERS([sys/inotify.h mcheck.h])
+-AC_LANG(C)
+-AC_MSG_CHECKING([whether sys/inotify.h actually works])
+-AC_RUN_IFELSE(
+- AC_LANG_PROGRAM([[#include <sys/inotify.h>]],
+- [[return (-1 == inotify_init());]]
+- ),
+- [AC_MSG_RESULT([yup]); AC_DEFINE([SYS_INOTIFY_H_EXISTS_AND_WORKS],[1],[sys/inotify.h exists and works correctly])],
+- [AC_MSG_RESULT([nope, using own inotify headers])]
+-)
++#AC_CHECK_HEADERS([sys/inotify.h mcheck.h])
++#AC_LANG(C)
++#AC_MSG_CHECKING([whether sys/inotify.h actually works])
++#AC_RUN_IFELSE(
++# AC_LANG_PROGRAM([[#include <sys/inotify.h>]],
++# [[return (-1 == inotify_init());]]
++# ),
++# [AC_MSG_RESULT([yup]); AC_DEFINE([SYS_INOTIFY_H_EXISTS_AND_WORKS],[1],[sys/inotify.h exists and works correctly])],
++# [AC_MSG_RESULT([nope, using own inotify headers])]
++#)
+
+
+