python: make hashlib and readline modules really optional
[buildroot-gz.git] / package / iodine / 0001-disable-systemd-and-selinux.patch
blob965abb7cff63ca7cacf7a30f0497f459a80c49c7
1 Disable selinux and systemd support since they check for host headers.
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5 diff -Nura iodine-0.7.0.orig/src/osflags iodine-0.7.0/src/osflags
6 --- iodine-0.7.0.orig/src/osflags 2015-02-20 14:59:00.799958145 -0300
7 +++ iodine-0.7.0/src/osflags 2015-02-20 15:05:54.791135141 -0300
8 @@ -18,8 +18,8 @@
9 ;;
10 Linux)
11 FLAGS="";
12 - [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
13 - [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
14 + #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
15 + #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
16 echo $FLAGS;
18 esac
19 @@ -34,8 +34,8 @@
21 Linux)
22 FLAGS="-D_GNU_SOURCE"
23 - [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
24 - [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
25 + #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
26 + #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
27 echo $FLAGS;
29 esac