summaryrefslogtreecommitdiff
path: root/net-vpn/iodine/files/iodine-0.7.0-new-systemd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/iodine/files/iodine-0.7.0-new-systemd.patch')
-rw-r--r--net-vpn/iodine/files/iodine-0.7.0-new-systemd.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-vpn/iodine/files/iodine-0.7.0-new-systemd.patch b/net-vpn/iodine/files/iodine-0.7.0-new-systemd.patch
new file mode 100644
index 00000000000..e18b64a086f
--- /dev/null
+++ b/net-vpn/iodine/files/iodine-0.7.0-new-systemd.patch
@@ -0,0 +1,16 @@
+diff --git a/src/osflags b/src/osflags
+index 9eda8f0..0f8a26c 100755
+--- a/src/osflags
++++ b/src/osflags
+@@ -19,7 +19,7 @@ link)
+ 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/systemd/sd-daemon.h ] && FLAGS="$FLAGS $(pkg-config --libs libsystemd)";
+ echo $FLAGS;
+ ;;
+ esac
+--
+1.9.3
+