r32205 - in /packages/unstable/gnome-online-accounts/debian: changelog patches/02_sys_gettid.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Sat Dec 17 05:55:34 UTC 2011


Author: biebl
Date: Sat Dec 17 05:55:33 2011
New Revision: 32205

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=32205
Log:
* debian/patches/02_sys_gettid.patch:
  - Update goa_log () to only use SYS_gettid on plattforms where it is
    defined. This syscall is Linux specific. Closes: #646886

Added:
    packages/unstable/gnome-online-accounts/debian/patches/02_sys_gettid.patch
Modified:
    packages/unstable/gnome-online-accounts/debian/changelog
    packages/unstable/gnome-online-accounts/debian/patches/series

Modified: packages/unstable/gnome-online-accounts/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-online-accounts/debian/changelog?rev=32205&op=diff
==============================================================================
--- packages/unstable/gnome-online-accounts/debian/changelog [utf-8] (original)
+++ packages/unstable/gnome-online-accounts/debian/changelog [utf-8] Sat Dec 17 05:55:33 2011
@@ -1,8 +1,11 @@
 gnome-online-accounts (3.2.1-3) UNRELEASED; urgency=low
 
   * Change section of gir1.2-goa-1.0 to introspection.
+  * debian/patches/02_sys_gettid.patch:
+    - Update goa_log () to only use SYS_gettid on plattforms where it is
+      defined. This syscall is Linux specific. Closes: #646886
 
- -- Michael Biebl <biebl at debian.org>  Wed, 14 Dec 2011 18:51:23 +0100
+ -- Michael Biebl <biebl at debian.org>  Sat, 17 Dec 2011 06:52:01 +0100
 
 gnome-online-accounts (3.2.1-2) unstable; urgency=low
 

Added: packages/unstable/gnome-online-accounts/debian/patches/02_sys_gettid.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-online-accounts/debian/patches/02_sys_gettid.patch?rev=32205&op=file
==============================================================================
--- packages/unstable/gnome-online-accounts/debian/patches/02_sys_gettid.patch (added)
+++ packages/unstable/gnome-online-accounts/debian/patches/02_sys_gettid.patch [utf-8] Sat Dec 17 05:55:33 2011
@@ -1,0 +1,21 @@
+Description: Fix build failure: 'SYS_gettid' undeclared
+ The SYS_gettid syscall is Linux specific. So only use it when it is defined.
+Author: Michael Biebl <biebl at debian.org>
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=664545
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646886
+diff --git a/src/goabackend/goalogging.c b/src/goabackend/goalogging.c
+index 89657bf..99bc008 100644
+--- a/src/goabackend/goalogging.c
++++ b/src/goabackend/goalogging.c
+@@ -207,7 +207,11 @@ goa_log (GoaLogLevel     level,
+       break;
+     }
+ 
++#if defined(SYS_gettid)
+   thread_str = g_strdup_printf ("%d", (gint) syscall (SYS_gettid));
++#else
++  thread_str = "unknown";
++#endif
+   g_print ("%s%s%s.%03d:%s%s%s[%s]%s:%s%s%s:%s %s %s[%s, %s()]%s\n",
+            _color_get (_COLOR_BOLD_ON), _color_get (_COLOR_FG_YELLOW), time_buf, (gint) now.tv_usec / 1000, _color_get (_COLOR_RESET),
+            _color_get (_COLOR_FG_MAGENTA), _color_get (_COLOR_BOLD_ON), thread_str, _color_get (_COLOR_RESET),

Modified: packages/unstable/gnome-online-accounts/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-online-accounts/debian/patches/series?rev=32205&op=diff
==============================================================================
--- packages/unstable/gnome-online-accounts/debian/patches/series [utf-8] (original)
+++ packages/unstable/gnome-online-accounts/debian/patches/series [utf-8] Sat Dec 17 05:55:33 2011
@@ -1,1 +1,2 @@
 01_git_fix_build.patch
+02_sys_gettid.patch




More information about the pkg-gnome-commits mailing list