[kredentials] Fixed a build break
Neil Horman
nhorman at fedoraproject.org
Thu Jan 26 20:39:17 UTC 2012
commit 6c787db177bb2a1cdb430721cf629d31d03da8a1
Author: Neil Horman <nhorman at tuxdriver.com>
Date: Thu Jan 26 15:39:06 2012 -0500
Fixed a build break
kredentials-build.patch | 11 +++++++++++
kredentials.spec | 8 ++++++--
2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/kredentials-build.patch b/kredentials-build.patch
new file mode 100644
index 0000000..ebbb258
--- /dev/null
+++ b/kredentials-build.patch
@@ -0,0 +1,11 @@
+diff -up kredentials/src/krb5_wrap.cpp.orig kredentials/src/krb5_wrap.cpp
+--- kredentials/src/krb5_wrap.cpp.orig 2012-01-26 15:05:37.075303359 -0500
++++ kredentials/src/krb5_wrap.cpp 2012-01-26 15:20:05.842483400 -0500
+@@ -28,6 +28,7 @@
+ #include <memory>
+ #include <termios.h>
+ #include <pwd.h>
++#include <unistd.h>
+
+ #ifndef NDEBUG
+ #define LOG kDebug()
diff --git a/kredentials.spec b/kredentials.spec
index 3deed43..c24182b 100644
--- a/kredentials.spec
+++ b/kredentials.spec
@@ -1,6 +1,6 @@
Name: kredentials
Version: 2.0
-Release: 0.1.pre1%{?dist}
+Release: 0.2.pre1%{?dist}
Summary: KDE system tray kerberos ticket monitor
Group: System Environment/Daemons
@@ -19,6 +19,7 @@ BuildRequires: desktop-file-utils
Requires: kdebase
Patch0: kredentials-renew.patch
+Patch1: kredentials-build.patch
%description
Kredentials is a system tray applet that monitors and renews kerberos tickets
@@ -27,7 +28,7 @@ for a user
%prep
%setup -q -n kredentials
%patch0 -p1
-
+%patch1 -p1
%build
%{__mkdir} build
@@ -67,6 +68,9 @@ desktop-file-install --dir=$RPM_BUILD_ROOT/%{_datadir}/applications %{SOURCE1}
%{_datadir}/icons/hicolor/64x64/apps/kredentials.png
%changelog
+* Thu Jan 26 2012 Neil Horman <nhorman at tuxdriver.com> - 2.0-0.2.pre1
+- Fixed a build break
+
* Tue Jan 17 2012 Neil Horman <nhorman at tuxdriver.com> - 2.0-0.1.pre1
- Initial Build
More information about the scm-commits
mailing list