summaryrefslogtreecommitdiff
path: root/debian/patches/kfreebsd.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-14 10:37:33 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-14 10:37:33 +0200
commit0cdca259ca073f77b9ae831feb367b6d120e83cf (patch)
tree50862cd94a3ee737ed614fd793821ba29c969ee7 /debian/patches/kfreebsd.patch
parent82a152928f820a6aeb02ef8cd9ebfa7d3bcaae48 (diff)
some work for version 1.0.24-2
Diffstat (limited to 'debian/patches/kfreebsd.patch')
-rw-r--r--debian/patches/kfreebsd.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch
new file mode 100644
index 0000000..e058877
--- /dev/null
+++ b/debian/patches/kfreebsd.patch
@@ -0,0 +1,15 @@
+description: Fix build failure on kfreebsd (closes: #680234)
+author: Petr Salinger
+--- a/backend/umax_pp_low.c
++++ b/backend/umax_pp_low.c
+@@ -73,8 +73,10 @@
+ #endif
+
+ #ifdef HAVE_MACHINE_CPUFUNC_H
++#ifndef __GLIBC__
+ #include <machine/cpufunc.h>
+ #endif
++#endif
+
+ #ifdef HAVE_I386_SET_IOPERM
+ #include <machine/sysarch.h>