diff options
author | dcs <dcs@FreeBSD.org> | 2000-10-21 20:42:59 +0000 |
---|---|---|
committer | dcs <dcs@FreeBSD.org> | 2000-10-21 20:42:59 +0000 |
commit | f2e1a814ec0c4f7e05add22e7220e54273937e72 (patch) | |
tree | 6129dc7d55d33be69476c0207ab268522d91d61d /www | |
parent | ad0a09ff820345c4c60d32cdb734640800238ff0 (diff) | |
download | FreeBSD-ports-f2e1a814ec0c4f7e05add22e7220e54273937e72.zip FreeBSD-ports-f2e1a814ec0c4f7e05add22e7220e54273937e72.tar.gz |
The include file machine/console.h has been deprecated on -current.
Ifdef it.
Submitted by: nobutaka@nobutaka.com
Diffstat (limited to 'www')
-rw-r--r-- | www/w3m/files/patch-au | 16 |
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 0000000..d061e70 --- /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; |