[packages/iodine] - fix building with systemd 232 - rel 3

baggins baggins at pld-linux.org
Sun Feb 26 00:21:03 CET 2017


commit d18ce91302fd6934530e9581d1a3867880a7606e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 26 00:20:36 2017 +0100

    - fix building with systemd 232
    - rel 3

 iodine.spec      |  4 +++-
 libsystemd.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/iodine.spec b/iodine.spec
index 06cbd8f..9dfd0e1 100644
--- a/iodine.spec
+++ b/iodine.spec
@@ -7,13 +7,14 @@ Summary:	IP over DNS is now easy
 Summary(pl.UTF-8):	Łatwa w użyciu implementacja IP over DNS
 Name:		iodine
 Version:	0.7.0
-Release:	2
+Release:	3
 License:	MIT
 Group:		Networking
 Source0:	http://code.kryo.se/iodine/%{name}-%{version}.tar.gz
 # Source0-md5:	fdbf3b81cd69caf5230d76a8b039fd99
 Patch0:		%{name}-opt.patch
 Patch1:		%{name}-make.patch
+Patch2:		libsystemd.patch
 URL:		http://code.kryo.se/iodine/
 %{?with_selinux:BuildRequires:	libselinux-devel}
 %{?with_systemd:BuildRequires:	systemd-devel}
@@ -34,6 +35,7 @@ ograniczony firewallem, ale dozwolone są zapytania DNS.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__make} \
diff --git a/libsystemd.patch b/libsystemd.patch
new file mode 100644
index 0000000..3c93f58
--- /dev/null
+++ b/libsystemd.patch
@@ -0,0 +1,11 @@
+--- iodine-0.7.0/src/osflags~	2014-06-16 22:28:43.000000000 +0200
++++ iodine-0.7.0/src/osflags	2017-02-26 00:19:38.951204153 +0100
+@@ -19,7 +19,7 @@
+ 		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 -lsystemd";
+ 			echo $FLAGS;
+ 		;;
+ 	esac
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iodine.git/commitdiff/d18ce91302fd6934530e9581d1a3867880a7606e



More information about the pld-cvs-commit mailing list