[packages/php-systemd] - fix linking with systemdd 232 - rel 3

baggins baggins at pld-linux.org
Sun Feb 26 01:31:29 CET 2017


commit fa37ac285459a03aa789bdb464a4983b1caec47c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 26 01:31:11 2017 +0100

    - fix linking with systemdd 232
    - rel 3

 libsystemd.patch | 11 +++++++++++
 php-systemd.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/php-systemd.spec b/php-systemd.spec
index a3040b4..25e7e6f 100644
--- a/php-systemd.spec
+++ b/php-systemd.spec
@@ -7,11 +7,12 @@
 Summary:	PHP extension allowing native interaction with systemd and its journal
 Name:		%{php_name}-%{modname}
 Version:	0.1.2
-Release:	2
+Release:	3
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	https://github.com/systemd/php-systemd/archive/release-%{version}/php-%{modname}-%{version}.tar.gz
 # Source0-md5:	78e01f7e17c803008235f22eb4b75a85
+Patch0:		libsystemd.patch
 URL:		https://github.com/systemd/php-systemd
 BuildRequires:	%{php_name}-devel
 BuildRequires:	rpmbuild(macros) >= 1.666
@@ -30,6 +31,7 @@ PHP extension allowing native interaction with systemd and journal
 %prep
 %setup -qc
 mv php-%{modname}-*/* .
+%patch0 -p1
 
 %build
 phpize
diff --git a/libsystemd.patch b/libsystemd.patch
new file mode 100644
index 0000000..348ad36
--- /dev/null
+++ b/libsystemd.patch
@@ -0,0 +1,11 @@
+--- php-systemd-0.1.2/config.m4~	2014-03-07 21:05:05.000000000 +0100
++++ php-systemd-0.1.2/config.m4	2017-02-26 01:29:46.751419095 +0100
+@@ -32,7 +32,7 @@
+ 
+   PHP_ADD_INCLUDE($SYSTEMD_DIR/include)
+ 
+-  LIBNAME=systemd-journal
++  LIBNAME=systemd
+   LIBSYMBOL=sd_journal_sendv
+ 
+   if test "x$PHP_LIBDIR" = "x"; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-systemd.git/commitdiff/fa37ac285459a03aa789bdb464a4983b1caec47c



More information about the pld-cvs-commit mailing list