]> TLD Linux GIT Repositories - packages/lvm2.git/blob - lvm2-wrapper.patch
- drop tool checks, build environment is too restricted to allow that
[packages/lvm2.git] / lvm2-wrapper.patch
1 --- LVM2.2.02.94/lib/misc/lvm-wrappers.h~       2011-04-22 14:00:00.000000000 +0200
2 +++ LVM2.2.02.94/lib/misc/lvm-wrappers.h        2012-03-04 10:43:46.032807285 +0100
3 @@ -33,7 +34,8 @@
4   */
5  int read_urandom(void *buf, size_t len);
6  
7 -#  ifndef HAVE_SIGINTERRUPT
8 +#ifndef HAVE_SIGINTERRUPT
9 +#include <signal.h>
10  #    define siginterrupt(sig, flag) \
11         do { \
12                 int ret; \
13 @@ -45,7 +47,7 @@
14                         act.sa_flags |= SA_RESTART; \
15                 ret = sigaction(sig, &act, NULL); \
16                 return ret; \
17 -       while (0)
18 -#  endif
19 +       } while (0);
20 +#endif
21  
22  #endif