Hello community,

here is the log from the commit of package krb5-ticket-watcher for 
openSUSE:Factory checked in at 2012-03-26 15:37:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/krb5-ticket-watcher (Old)
 and      /work/SRC/openSUSE:Factory/.krb5-ticket-watcher.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "krb5-ticket-watcher", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/krb5-ticket-watcher/krb5-ticket-watcher.changes  
2011-09-23 02:07:17.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.krb5-ticket-watcher.new/krb5-ticket-watcher.changes 
    2012-03-26 15:37:17.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Mar 24 15:32:56 UTC 2012 - [email protected]
+
+- Add krb5-ticket-watcher-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------

New:
----
  krb5-ticket-watcher-gcc47.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ krb5-ticket-watcher.spec ++++++
--- /var/tmp/diff_new_pack.ffOM4B/_old  2012-03-26 15:37:18.000000000 +0200
+++ /var/tmp/diff_new_pack.ffOM4B/_new  2012-03-26 15:37:18.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package krb5-ticket-watcher
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,32 +15,43 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           krb5-ticket-watcher
 Url:            http://sourceforge.net/projects/krb5ticketwatch
 %if 0%{?suse_version}
-BuildRequires:  cmake krb5-devel libqt4-devel translation-update-upstream 
update-desktop-files
+BuildRequires:  cmake
+BuildRequires:  krb5-devel
+BuildRequires:  libqt4-devel
+BuildRequires:  translation-update-upstream
+BuildRequires:  update-desktop-files
 %endif
 %if 0%{?fedora_version}
-BuildRequires:  cmake gcc-c++ krb5-devel qt-devel
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  krb5-devel
+BuildRequires:  qt-devel
 %endif
 %if 0%{?mandriva_version}
 %ifarch x86_64
-BuildRequires:  cmake gcc-c++ lib64krb53-devel lib64qt4-devel
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  lib64krb53-devel
+BuildRequires:  lib64qt4-devel
 %else
-BuildRequires:  cmake gcc-c++ libkrb53-devel libqt4-devel
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  libkrb53-devel
+BuildRequires:  libqt4-devel
 %endif
 %endif
+Summary:        A Tray Applet for Watching, Renewing, and Reinitializing 
Kerberos Tickets
 License:        GPL-2.0+
 Group:          System/GUI/Other
-AutoReqProv:    on
-Summary:        A Tray Applet for Watching, Renewing, and Reinitializing 
Kerberos Tickets
 Version:        1.0.3
-Release:        11
+Release:        0
 Source0:        %{name}-%{version}.tar.bz2
 #Source1:        krb5-ticket-watcher-po.tar.gz
+Patch0:         krb5-ticket-watcher-gcc47.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -59,6 +70,7 @@
 %prep
 %setup -n %{name}-%{version} 
 #%setup -a 1 -T -D -n %{name}-%{version}
+%patch0 -p1
 %if 0%{?suse_version}
 # We skip createPot - it requires calling of "make" before, but
 # supplementary scripts call only prep phase.

++++++ krb5-ticket-watcher-gcc47.patch ++++++
Index: krb5-ticket-watcher-1.0.3/src/krb5ticketwatcher.cpp
===================================================================
--- krb5-ticket-watcher-1.0.3.orig/src/krb5ticketwatcher.cpp
+++ krb5-ticket-watcher-1.0.3/src/krb5ticketwatcher.cpp
@@ -48,6 +48,7 @@
 #include "pwdialog.h"
 #include "pwchangedialog.h"
 #include "kinitdialog.h"
+#include <unistd.h> //for getuid()
 
 #include <pwd.h>
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to