Author: frankie
Date: 2009-10-27 11:27:14 +0000 (Tue, 27 Oct 2009)
New Revision: 2569

Added:
   packages/libkml/trunk/debian/patches/clone.diff
Modified:
   packages/libkml/trunk/debian/changelog
   packages/libkml/trunk/debian/patches/series
Log:
Manage clone() call.


Modified: packages/libkml/trunk/debian/changelog
===================================================================
--- packages/libkml/trunk/debian/changelog      2009-10-25 11:25:02 UTC (rev 
2568)
+++ packages/libkml/trunk/debian/changelog      2009-10-27 11:27:14 UTC (rev 
2569)
@@ -1,3 +1,10 @@
+libkml (1.0.1-3) unstable; urgency=low
+
+  * Added clone.diff patch to declare clone(2) call as used in google test
+    stuff. This patch solves possibly a FTBS on ia64.
+
+ -- Francesco Paolo Lovergine <fran...@debian.org>  Tue, 27 Oct 2009 12:24:40 
+0100
+
 libkml (1.0.1-2) unstable; urgency=low
 
   * Added python version overriding at build/installation time.

Added: packages/libkml/trunk/debian/patches/clone.diff
===================================================================
--- packages/libkml/trunk/debian/patches/clone.diff                             
(rev 0)
+++ packages/libkml/trunk/debian/patches/clone.diff     2009-10-27 11:27:14 UTC 
(rev 2569)
@@ -0,0 +1,13 @@
+Index: libkml-1.0.1/third_party/googletest-r108/src/gtest-death-test.cc
+===================================================================
+--- libkml-1.0.1.orig/third_party/googletest-r108/src/gtest-death-test.cc      
2009-10-27 12:22:10.000000000 +0100
++++ libkml-1.0.1/third_party/googletest-r108/src/gtest-death-test.cc   
2009-10-27 12:22:46.000000000 +0100
+@@ -594,6 +594,8 @@
+ // A threadsafe implementation of fork(2) for threadsafe-style death tests
+ // that uses clone(2).  It dies with an error message if anything goes
+ // wrong.
++#define _GNU_SOURCE
++#include <sched.h>
+ static pid_t ExecDeathTestFork(char* const* argv, int close_fd) {
+   static const bool stack_grows_down = StackGrowsDown();
+   const size_t stack_size = getpagesize();

Modified: packages/libkml/trunk/debian/patches/series
===================================================================
--- packages/libkml/trunk/debian/patches/series 2009-10-25 11:25:02 UTC (rev 
2568)
+++ packages/libkml/trunk/debian/patches/series 2009-10-27 11:27:14 UTC (rev 
2569)
@@ -1,2 +1,3 @@
 reautoconfiscated.diff
 automake.diff
+clone.diff


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to