[Forensics-changes] [yara] 414/415: Added attempt at build fix for Hurd
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch debian
in repository yara.
commit d0691e6e9bd27d7386a8e5c5c521550af6e40ec5
Author: Hilko Bengen <bengen at debian.org>
Date: Sun Mar 23 15:26:18 2014 +0100
Added attempt at build fix for Hurd
---
debian/patches/series | 1 +
debian/patches/try-fix-hurd-build | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 7f0930d..183198e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
fix-python-build
manpage
fix-kfreebsd-build
+try-fix-hurd-build
diff --git a/debian/patches/try-fix-hurd-build b/debian/patches/try-fix-hurd-build
new file mode 100644
index 0000000..d2e2b36
--- /dev/null
+++ b/debian/patches/try-fix-hurd-build
@@ -0,0 +1,13 @@
+Index: yara/libyara/proc.c
+===================================================================
+--- yara.orig/libyara/proc.c 2014-03-23 15:25:17.137680593 +0100
++++ yara/libyara/proc.c 2014-03-23 15:25:35.221219042 +0100
+@@ -157,7 +157,7 @@
+ #define PTRACE_DETACH PT_DETACH
+ #endif
+
+-#if defined(__MACH__)
++#if defined(__MACH__) && !defined(__gnu_hurd)
+
+ #include <mach/mach.h>
+ #include <mach/mach_vm.h>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list