aboutsummaryrefslogtreecommitdiffstats
path: root/www/w3m
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>2000-10-22 04:42:59 +0800
committerdcs <dcs@FreeBSD.org>2000-10-22 04:42:59 +0800
commitf2e1a814ec0c4f7e05add22e7220e54273937e72 (patch)
tree6129dc7d55d33be69476c0207ab268522d91d61d /www/w3m
parentad0a09ff820345c4c60d32cdb734640800238ff0 (diff)
downloadfreebsd-ports-graphics-f2e1a814ec0c4f7e05add22e7220e54273937e72.tar.gz
freebsd-ports-graphics-f2e1a814ec0c4f7e05add22e7220e54273937e72.tar.zst
freebsd-ports-graphics-f2e1a814ec0c4f7e05add22e7220e54273937e72.zip
The include file machine/console.h has been deprecated on -current.
Ifdef it. Submitted by: nobutaka@nobutaka.com
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/files/patch-au16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/w3m/files/patch-au b/www/w3m/files/patch-au
new file mode 100644
index 00000000000..d061e70c3b1
--- /dev/null
+++ b/www/w3m/files/patch-au
@@ -0,0 +1,16 @@
+--- terms.c.orig Sun Oct 22 00:46:08 2000
++++ terms.c Sun Oct 22 01:23:53 2000
+@@ -17,7 +17,13 @@
+ #include <gpm.h>
+ #endif /* USE_GPM */
+ #ifdef USE_SYSMOUSE
++#include <osreldate.h>
++#if (__FreeBSD_version >= 400017)
++#include <sys/consio.h>
++#include <sys/fbio.h>
++#else
+ #include <machine/console.h>
++#endif
+ int (*sysm_handler) (int x, int y, int nbs, int obs);
+ static int cwidth = 8, cheight = 16;
+ static int xpix, ypix, nbs, obs = 0;