Add patch to make this build again
This commit is contained in:
parent
123eb101cb
commit
718384f3e0
26
0001-build-Link-against-lrt.patch
Normal file
26
0001-build-Link-against-lrt.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 467f534c8dd3cc0b7ff29fec7f7741ab5e9302cd Mon Sep 17 00:00:00 2001
|
||||
From: Colin Walters <walters@verbum.org>
|
||||
Date: Thu, 22 Aug 2013 16:44:39 -0400
|
||||
Subject: [PATCH] build: Link against -lrt
|
||||
|
||||
dbus.pc used to force this, but no longer does. Since we use
|
||||
mq_getattr(), use it explicitly.
|
||||
---
|
||||
Makefile.am | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index febc355..07346d3 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -59,6 +59,7 @@ rtkit_daemon_SOURCES = \
|
||||
rtkit-daemon.c rtkit.h \
|
||||
sd-daemon.c sd-daemon.h
|
||||
rtkit_daemon_LDADD = \
|
||||
+ -lrt \
|
||||
$(DBUS_LIBS)
|
||||
rtkit_daemon_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
--
|
||||
1.7.1
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: rtkit
|
||||
Version: 0.11
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Realtime Policy and Watchdog Daemon
|
||||
Group: System Environment/Base
|
||||
# The daemon itself is GPLv3+, the reference implementation for the client BSD
|
||||
@ -14,7 +14,9 @@ Requires(postun): systemd
|
||||
BuildRequires: dbus-devel >= 1.2
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: polkit-devel
|
||||
BuildRequires: autoconf automake libtool
|
||||
Source0: http://0pointer.de/public/%{name}-%{version}.tar.xz
|
||||
Patch1: 0001-build-Link-against-lrt.patch
|
||||
|
||||
%description
|
||||
RealtimeKit is a D-Bus system service that changes the
|
||||
@ -25,8 +27,10 @@ processes.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
%configure --with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
make %{?_smp_mflags}
|
||||
./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
|
||||
@ -73,6 +77,9 @@ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesk
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 22 2013 Colin Walters <walters@verbum.org> - 0.11-6
|
||||
- Add patch to make this build again
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user