aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/40_gnukfreebsd-ftbfs-fix.patch
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:37:56 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:37:56 +0000
commit93a6ce5c73d259de8254f19b550324b2d5b5d005 (patch)
treee79af60d9addb5caca5eaf9063438655512b51d9 /debian/patches/40_gnukfreebsd-ftbfs-fix.patch
parentReleasing debian version 0.5.2-4 (diff)
downloadw3m-93a6ce5c73d259de8254f19b550324b2d5b5d005.tar.gz
w3m-93a6ce5c73d259de8254f19b550324b2d5b5d005.zip
Releasing debian version 0.5.2-5debian/0.5.2-5
Diffstat (limited to 'debian/patches/40_gnukfreebsd-ftbfs-fix.patch')
-rw-r--r--debian/patches/40_gnukfreebsd-ftbfs-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/40_gnukfreebsd-ftbfs-fix.patch b/debian/patches/40_gnukfreebsd-ftbfs-fix.patch
new file mode 100644
index 0000000..8398f4d
--- /dev/null
+++ b/debian/patches/40_gnukfreebsd-ftbfs-fix.patch
@@ -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