[DebianGIS-dev] r2573 - packages/libkml/trunk/debian/patches

frankie at alioth.debian.org frankie at alioth.debian.org
Tue Oct 27 16:23:44 UTC 2009


Author: frankie
Date: 2009-10-27 16:23:44 +0000 (Tue, 27 Oct 2009)
New Revision: 2573

Modified:
   packages/libkml/trunk/debian/patches/clone.diff
Log:
Grunt, truly fixed for C prototype...


Modified: packages/libkml/trunk/debian/patches/clone.diff
===================================================================
--- packages/libkml/trunk/debian/patches/clone.diff	2009-10-27 16:07:07 UTC (rev 2572)
+++ packages/libkml/trunk/debian/patches/clone.diff	2009-10-27 16:23:44 UTC (rev 2573)
@@ -1,21 +1,23 @@
 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 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 @@
+--- libkml-1.0.1.orig/third_party/googletest-r108/src/gtest-death-test.cc	2009-10-27 17:01:02.000000000 +0100
++++ libkml-1.0.1/third_party/googletest-r108/src/gtest-death-test.cc	2009-10-27 17:22:23.000000000 +0100
+@@ -594,6 +594,14 @@
  // 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.
 +
 +#ifdef __ia64__
++extern "C" {
 +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 +609,13 @@
+@@ -603,8 +611,13 @@
    void* const stack_top =
        static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0);
    ExecDeathTestArgs args = { argv, close_fd };




More information about the Pkg-grass-devel mailing list