summaryrefslogtreecommitdiffstats
path: root/package/iodine/0001-disable-systemd-and-selinux.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-03-02 23:26:20 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-03-02 23:26:20 +0100
commit7403ea730d75ce0af51cb1bd5665674bb5bfae42 (patch)
treed93cc0b4a8878d90ab0bb79c76d75805ee1c2a9d /package/iodine/0001-disable-systemd-and-selinux.patch
parent1021766976319b40e64ca8dee12d21c758197801 (diff)
parente6803b9f91357773154daed13d6e83712d49476c (diff)
downloadbuildroot-7403ea730d75ce0af51cb1bd5665674bb5bfae42.tar.gz
buildroot-7403ea730d75ce0af51cb1bd5665674bb5bfae42.zip
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/iodine/0001-disable-systemd-and-selinux.patch')
-rw-r--r--package/iodine/0001-disable-systemd-and-selinux.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/iodine/0001-disable-systemd-and-selinux.patch b/package/iodine/0001-disable-systemd-and-selinux.patch
new file mode 100644
index 0000000000..965abb7cff
--- /dev/null
+++ b/package/iodine/0001-disable-systemd-and-selinux.patch
@@ -0,0 +1,29 @@
+Disable selinux and systemd support since they check for host headers.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura iodine-0.7.0.orig/src/osflags iodine-0.7.0/src/osflags
+--- iodine-0.7.0.orig/src/osflags 2015-02-20 14:59:00.799958145 -0300
++++ iodine-0.7.0/src/osflags 2015-02-20 15:05:54.791135141 -0300
+@@ -18,8 +18,8 @@
+ ;;
+ Linux)
+ FLAGS="";
+- [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
+- [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
++ #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
++ #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
+ echo $FLAGS;
+ ;;
+ esac
+@@ -34,8 +34,8 @@
+ ;;
+ Linux)
+ FLAGS="-D_GNU_SOURCE"
+- [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
+- [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
++ #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
++ #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
+ echo $FLAGS;
+ ;;
+ esac
OpenPOWER on IntegriCloud