[systemd/f17] fix build on ppc, similar to http://lists.freedesktop.org/archives/systemd-devel/2012-September/006

Karsten Hopp karsten at fedoraproject.org
Tue Dec 4 15:19:50 UTC 2012


commit 2bf34c0c839ccdff320c9c4914a39c516e49aace
Author: Karsten Hopp <karsten at redhat.com>
Date:   Tue Dec 4 16:19:32 2012 +0100

    fix build on ppc, similar to
     http://lists.freedesktop.org/archives/systemd-devel/2012-September/006424.html

 0579-add-libsystemd-id128-dependency.patch |   17 +++++++++++++++++
 systemd.spec                               |    7 ++++++-
 2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/0579-add-libsystemd-id128-dependency.patch b/0579-add-libsystemd-id128-dependency.patch
new file mode 100644
index 0000000..af4edd5
--- /dev/null
+++ b/0579-add-libsystemd-id128-dependency.patch
@@ -0,0 +1,17 @@
+From: gustavold <gustavold at fedoraproject.org>
+Date: Tue, 04 Dec 2012 14:01:19 +0100
+Subject: [PATCH] add libsystemd-id128 dependency for libsystemd-core.a
+
+Based on http://lists.freedesktop.org/archives/systemd-devel/2012-September/006424.html
+
+diff -up systemd-44/Makefile.am.id128lib systemd-44/Makefile.am
+--- systemd-44/Makefile.am.id128lib	2012-12-04 14:40:26.846170987 +0100
++++ systemd-44/Makefile.am	2012-12-04 14:40:59.795186810 +0100
+@@ -819,6 +819,7 @@ libsystemd_core_la_LIBADD = \
+ 	libsystemd-label.la \
+ 	libsystemd-shared.la \
+ 	libsystemd-dbus.la \
++	libsystemd-id128.la \
+ 	$(UDEV_LIBS) \
+ 	$(LIBWRAP_LIBS) \
+ 	$(PAM_LIBS) \
diff --git a/systemd.spec b/systemd.spec
index 7e8c03d..010e59f 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -3,7 +3,7 @@
 Name:           systemd
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        44
-Release:        21%{?gitcommit:.git%{gitcommit}}%{?dist}
+Release:        22%{?gitcommit:.git%{gitcommit}}%{?dist}
 License:        GPLv2+
 Group:          System Environment/Base
 Summary:        A System and Service Manager
@@ -638,6 +638,7 @@ Patch0575:      0575-readahead-fix-fd-validity-check.patch
 Patch0576:      0576-mount-make-sure-m-where-is-set-before-unit_add_exec_.patch
 Patch0577:      0577-job-avoid-recursion-into-transaction-code-from-job-c.patch
 Patch0578:      0578-sysctl-parse-all-keys-in-a-config-file.patch
+Patch0579:      0579-add-libsystemd-id128-dependency.patch
 
 # For sysvinit tools
 Obsoletes:      SysVinit < 2.86-24, sysvinit < 2.86-24
@@ -1026,6 +1027,10 @@ mv /etc/systemd/system/default.target.save /etc/systemd/system/default.target >/
 %{_bindir}/systemd-analyze
 
 %changelog
+* Tue Dec 04 2012 Karsten Hopp <karsten at redhat.com> 44-22
+- fix build on ppc, similar to 
+  http://lists.freedesktop.org/archives/systemd-devel/2012-September/006424.html
+
 * Fri Oct 26 2012 Michal Schmidt <mschmidt at redhat.com> - 44-21
 - Fixes from upstream v195+:
 - Don't forbid ExecReload in oneshot units.


More information about the scm-commits mailing list