aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/06-gnukfreebsd-ftbfs-fix
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:36:51 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:36:51 +0000
commita39fed31e23487b5fc4778ce76ba3963c44ec4eb (patch)
tree5ccc23cb8292ff29f07091c6afef60d5d616f60a /debian/patches/06-gnukfreebsd-ftbfs-fix
parentReleasing debian version 0.5.2-2 (diff)
downloadw3m-a39fed31e23487b5fc4778ce76ba3963c44ec4eb.tar.gz
w3m-a39fed31e23487b5fc4778ce76ba3963c44ec4eb.zip
Releasing debian version 0.5.2-2.1debian/0.5.2-2.1
Diffstat (limited to 'debian/patches/06-gnukfreebsd-ftbfs-fix')
-rw-r--r--debian/patches/06-gnukfreebsd-ftbfs-fix11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/06-gnukfreebsd-ftbfs-fix b/debian/patches/06-gnukfreebsd-ftbfs-fix
new file mode 100644
index 0000000..8398f4d
--- /dev/null
+++ b/debian/patches/06-gnukfreebsd-ftbfs-fix
@@ -0,0 +1,11 @@
+--- a/terms.c
++++ b/terms.c
+@@ -26,7 +26,7 @@
+ #endif /* USE_GPM */
+ #ifdef USE_SYSMOUSE
+ #include <osreldate.h>
+-#if (__FreeBSD_version >= 400017)
++#if (__FreeBSD_version >= 400017) || (__FreeBSD_kernel_version >= 400017)
+ #include <sys/consio.h>
+ #include <sys/fbio.h>
+ #else