Hello community,

here is the log from the commit of package spice for openSUSE:Factory checked 
in at 2012-11-18 20:26:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spice (Old)
 and      /work/SRC/openSUSE:Factory/.spice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spice", Maintainer is "posta...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/spice/spice.changes      2012-04-12 
09:52:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.spice.new/spice.changes 2012-11-18 
20:26:56.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Nov 17 08:05:49 UTC 2012 - a...@suse.de
+
+- Fix build with glibc 2.17 (add patch spice-glibc217.patch).
+
+-------------------------------------------------------------------

New:
----
  spice-glibc217.patch

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

Other differences:
------------------
++++++ spice.spec ++++++
--- /var/tmp/diff_new_pack.TXmNNZ/_old  2012-11-18 20:26:57.000000000 +0100
+++ /var/tmp/diff_new_pack.TXmNNZ/_new  2012-11-18 20:26:57.000000000 +0100
@@ -47,6 +47,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         %{realname}-%{realver}%{?extraver}.%{srcext}
 Patch0:         spice-gcc47.patch
+Patch1:         spice-glibc217.patch
 ExclusiveArch:  %ix86 x86_64
 
 %description
@@ -101,6 +102,7 @@
 %prep
 %setup -q -n %{realname}-%{realver}%{?extraver}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure \

++++++ spice-glibc217.patch ++++++
Index: spice-0.10.1/common/backtrace.c
===================================================================
--- spice-0.10.1.orig/common/backtrace.c
+++ spice-0.10.1/common/backtrace.c
@@ -75,7 +75,8 @@ static int spice_backtrace_gstack(void)
         /* CHILD */
         char parent[16];
 
-        seteuid(0);
+        if (seteuid(0) < 1)
+         exit(1);
         close(STDIN_FILENO);
         close(STDOUT_FILENO);
         dup2(pipefd[1],STDOUT_FILENO);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to