[libkml] 11/18: Drop clone.diff patch for ia64, architecture not supported anymore.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Mar 13 00:59:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository libkml.
commit 307eac9d7459256c4a7882a07687ae6236b02a6d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Mar 13 01:26:42 2015 +0100
Drop clone.diff patch for ia64, architecture not supported anymore.
---
debian/patches/clone.diff | 33 ---------------------------------
debian/patches/series | 1 -
2 files changed, 34 deletions(-)
diff --git a/debian/patches/clone.diff b/debian/patches/clone.diff
deleted file mode 100644
index 168a602..0000000
--- a/debian/patches/clone.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-Description: Support ia64 __clone2().
-Author: Francesco Paolo Lovergine <frankie at debian.org>
-Last-Update: 2013-10-07
---- a/third_party/googletest-r108/src/gtest-death-test.cc
-+++ b/third_party/googletest-r108/src/gtest-death-test.cc
-@@ -594,6 +594,13 @@ static bool StackGrowsDown() {
- // 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.
-+
-+// ia64 has __clone2 instead of clone on Linux.
-+#ifdef __ia64__
-+extern "C" 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 +610,13 @@ static pid_t ExecDeathTestFork(char* con
- void* const stack_top =
- static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0);
- ExecDeathTestArgs args = { argv, close_fd };
-+#ifdef __ia64__
-+ const pid_t child_pid = __clone2(&ExecDeathTestChildMain, stack_top, stack_size,
-+ SIGCHLD, &args);
-+#else
- const pid_t child_pid = clone(&ExecDeathTestChildMain, stack_top,
- SIGCHLD, &args);
-+#endif
- GTEST_DEATH_TEST_CHECK_(child_pid != -1);
- GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1);
- return child_pid;
diff --git a/debian/patches/series b/debian/patches/series
index 9a11222..c865de2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,7 +1,6 @@
kfreebsd.diff
hurd.diff
automake.diff
-#clone.diff
#ld-as-needed.diff
feature_view_test.diff
geometry_test.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libkml.git
More information about the Pkg-grass-devel
mailing list