diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2009-08-01 16:33:19 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2009-08-01 16:33:19 +0000 |
commit | 7c6a92465cfb3d754dce38f00aec4ad843b1c9b6 (patch) | |
tree | ec126366b94e9766e6aba3e94584a92978371c89 /editors/biew | |
parent | e7d553e97a666bbc0d6a3a08339906f31af8fc7e (diff) | |
download | ports-7c6a92465cfb3d754dce38f00aec4ad843b1c9b6.tar.gz ports-7c6a92465cfb3d754dce38f00aec4ad843b1c9b6.zip |
Notes
Diffstat (limited to 'editors/biew')
-rw-r--r-- | editors/biew/Makefile | 4 | ||||
-rw-r--r-- | editors/biew/files/patch-biewlib_sysdep_generic_unix_keyboard.c | 22 | ||||
-rw-r--r-- | editors/biew/files/patch-biewlib_sysdep_generic_unix_vio.c | 24 |
3 files changed, 48 insertions, 2 deletions
diff --git a/editors/biew/Makefile b/editors/biew/Makefile index 013dc26a0bd2..8bed68d8010c 100644 --- a/editors/biew/Makefile +++ b/editors/biew/Makefile @@ -11,11 +11,11 @@ CATEGORIES= editors MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} +LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2 + MAINTAINER= danfe@FreeBSD.org COMMENT= Binary file viewer and editor -BROKEN= does not build - HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" --with-extraincdir="${LOCALBASE}/include" \ --ld="${CC}" --with-extralibdir="${LOCALBASE}/lib" \ diff --git a/editors/biew/files/patch-biewlib_sysdep_generic_unix_keyboard.c b/editors/biew/files/patch-biewlib_sysdep_generic_unix_keyboard.c new file mode 100644 index 000000000000..2f387610bff0 --- /dev/null +++ b/editors/biew/files/patch-biewlib_sysdep_generic_unix_keyboard.c @@ -0,0 +1,22 @@ +--- biewlib/sysdep/generic/unix/keyboard.c.orig 2009-01-31 17:11:34.000000000 +0600 ++++ biewlib/sysdep/generic/unix/keyboard.c 2009-03-18 04:11:03.000000000 +0600 +@@ -59,6 +59,9 @@ + unsigned rawkb_mode=0; + int rawkb_escape; + ++static void *nls_handle; ++static int is_unicode=0; ++ + #ifdef _VT100_ + + #include <fcntl.h> +@@ -75,9 +78,6 @@ + static int in_fd; + static struct termios sattr; + +-static void *nls_handle; +-static int is_unicode=0; +- + typedef struct { + char c; + int key; diff --git a/editors/biew/files/patch-biewlib_sysdep_generic_unix_vio.c b/editors/biew/files/patch-biewlib_sysdep_generic_unix_vio.c new file mode 100644 index 000000000000..688d260c3824 --- /dev/null +++ b/editors/biew/files/patch-biewlib_sysdep_generic_unix_vio.c @@ -0,0 +1,24 @@ +--- biewlib/sysdep/generic/unix/vio.c.orig 2009-01-31 17:08:22.000000000 +0600 ++++ biewlib/sysdep/generic/unix/vio.c 2009-03-18 04:11:42.000000000 +0600 +@@ -206,10 +206,6 @@ + static char *vtmp; + static int out_fd; + static int _color[8] = {0,4,2,6,1,5,3,7}; +-static char *screen_cp; +-static unsigned is_unicode=0; +- +-static void *nls_handle; + + static unsigned char frames_vt100[0x30] = + "aaaxuuukkuxkjjjkmvwtqnttmlvwtqnvvwwmmllnnjlaaaaa"; +@@ -242,6 +238,10 @@ + + #endif /* _VT100_ */ + ++static char *screen_cp; ++static unsigned is_unicode=0; ++static void *nls_handle; ++ + static unsigned char frames_dumb[0x30] = + ": %|{+++++|+++++`++}-++++++++-+++++++++++++#%[]~"; + |