[Forensics-changes] [yara] 02/06: Add patch to fix FTBFS on kfreebsd
Hilko Bengen
bengen at moszumanska.debian.org
Sat Nov 11 13:01:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository yara.
commit b01ce6d9d80c0a0cdbd51636632187266903a981
Author: Hilko Bengen <bengen at debian.org>
Date: Fri Nov 10 23:37:18 2017 +0100
Add patch to fix FTBFS on kfreebsd
---
debian/patches/0001-Fix-FTBFS-on-kfreebsd.patch | 30 +++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 31 insertions(+)
diff --git a/debian/patches/0001-Fix-FTBFS-on-kfreebsd.patch b/debian/patches/0001-Fix-FTBFS-on-kfreebsd.patch
new file mode 100644
index 0000000..9799b38
--- /dev/null
+++ b/debian/patches/0001-Fix-FTBFS-on-kfreebsd.patch
@@ -0,0 +1,30 @@
+From: Hilko Bengen <bengen at debian.org>
+Date: Fri, 10 Nov 2017 23:36:59 +0100
+Subject: Fix FTBFS on kfreebsd
+
+---
+ configure.ac | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index e8fa183..86aa327 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -42,13 +42,15 @@ case $host_os in
+ linux*|netbsd*)
+ CFLAGS="$CFLAGS -DUSE_LINUX_PROC"
+ proc_interface=linux ;;
+- freebsd*)
++ freebsd*|kfreebsd*)
+ CFLAGS="$CFLAGS -DUSE_FREEBSD_PROC"
+ proc_interface=freebsd ;;
+ openbsd*)
+ CFLAGS="$CFLAGS -DUSE_OPENBSD_PROC"
+ proc_interface=openbsd ;;
+- *) proc_interface=none ;;
++ *)
++ CFLAGS="$CFLAGS -DUSE_NO_PROC"
++ proc_interface=none ;;
+ esac
+
+ AC_C_BIGENDIAN
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..43012e4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-FTBFS-on-kfreebsd.patch
--
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