3
# DP: Overwrite the semaphore check for lucid; buildds running 2.6.24 kernel
6
if [ $# -eq 3 -a "$2" = '-d' ]; then
9
elif [ $# -ne 1 ]; then
10
echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
15
patch $pdir -f --no-backup-if-mismatch -p1 < $0
18
patch $pdir -f --no-backup-if-mismatch -R -p1 < $0
21
echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
26
--- ./configure.in.orig 2010-04-14 23:59:03.928331544 +0200
27
+++ ./configure.in 2010-04-15 00:28:21.823330844 +0200
29
ac_cv_posix_semaphores_enabled=no,
30
ac_cv_posix_semaphores_enabled=yes)
32
+if test x`lsb_release -sc` = xlucid; then
33
+ ac_cv_posix_semaphores_enabled=yes
35
AC_MSG_RESULT($ac_cv_posix_semaphores_enabled)
36
if test $ac_cv_posix_semaphores_enabled = no
38
@@ -3456,8 +3459,12 @@
42
+ if test x`lsb_release -sc` = xlucid; then
46
AC_DEFINE(HAVE_BROKEN_SEM_GETVALUE, 1, define to 1 if your sem_getvalue is broken.)
50
# determine what size digit to use for Python's longs