[Forensics-changes] [yara] 413/415: Added build fix for kFreeBSD

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 9dff0235c71e1284cbb3e1a25ea61a33556295fa
Author: Hilko Bengen <bengen at debian.org>
Date:   Sun Mar 23 15:04:11 2014 +0100

    Added build fix for kFreeBSD
---
 debian/patches/fix-kfreebsd-build | 13 +++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/fix-kfreebsd-build b/debian/patches/fix-kfreebsd-build
new file mode 100644
index 0000000..b879aa6
--- /dev/null
+++ b/debian/patches/fix-kfreebsd-build
@@ -0,0 +1,13 @@
+Index: yara/libyara/proc.c
+===================================================================
+--- yara.orig/libyara/proc.c	2014-03-23 14:48:31.421970668 +0100
++++ yara/libyara/proc.c	2014-03-23 14:50:33.706854027 +0100
+@@ -152,7 +152,7 @@
+ #include "mem.h"
+ #include "proc.h"
+ 
+-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MACH__)
++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__MACH__)
+ #define PTRACE_ATTACH PT_ATTACH
+ #define PTRACE_DETACH PT_DETACH
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 6da592e..7f0930d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 fix-python-build
 manpage
+fix-kfreebsd-build

-- 
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