Author: frankie Date: 2009-10-27 16:02:44 +0000 (Tue, 27 Oct 2009) New Revision: 2571
Modified: packages/libkml/trunk/debian/patches/clone.diff Log: Fixed prototype. Modified: packages/libkml/trunk/debian/patches/clone.diff =================================================================== --- packages/libkml/trunk/debian/patches/clone.diff 2009-10-27 15:52:12 UTC (rev 2570) +++ packages/libkml/trunk/debian/patches/clone.diff 2009-10-27 16:02:44 UTC (rev 2571) @@ -1,17 +1,21 @@ 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:23:01.000000000 +0100 -+++ libkml-1.0.1/third_party/googletest-r108/src/gtest-death-test.cc 2009-10-27 16:51:00.000000000 +0100 -@@ -594,6 +594,8 @@ +--- libkml-1.0.1.orig/third_party/googletest-r108/src/gtest-death-test.cc 2009-10-27 16:51:21.000000000 +0100 ++++ libkml-1.0.1/third_party/googletest-r108/src/gtest-death-test.cc 2009-10-27 17:00:46.000000000 +0100 +@@ -594,6 +594,12 @@ // 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> ++ ++#ifdef __ia64__ ++extern int __clone2(int (*fn) (void *arg), void *child_stack_base, ++ size_t child_stack_size, int flags, void *arg, ...); ++#endif ++ static pid_t ExecDeathTestFork(char* const* argv, int close_fd) { static const bool stack_grows_down = StackGrowsDown(); const size_t stack_size = getpagesize(); -@@ -603,8 +605,13 @@ +@@ -603,8 +609,13 @@ void* const stack_top = static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0); ExecDeathTestArgs args = { argv, close_fd }; _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel