head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.48 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.46 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.44 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.42 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.40 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.38 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.36 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.34 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.32 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.30 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.28 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.26 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.24 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.22 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.20 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.18 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.16 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.14 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.12 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.10 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.8 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.6 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.4 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.2 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.5.0.14 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.12 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.10 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.4 netbsd-1-5-RELEASE:1.4 netbsd-1-4-PATCH003:1.4 netbsd-1-4-PATCH002:1.4 comdex-fall-1999:1.4 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.6 date 2004.08.03.12.12.54; author adam; state dead; branches; next 1.5; 1.5 date 2002.01.18.22.59.31; author mjl; state Exp; branches; next 1.4; 1.4 date 99.07.06.08.00.11; author jlam; state Exp; branches; next 1.3; 1.3 date 98.09.28.10.35.56; author frueauf; state Exp; branches; next 1.2; 1.2 date 98.08.27.22.08.38; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.08.24.11.58.05; author frueauf; state Exp; branches; next ; desc @@ 1.6 log @Changes 1.2.10: - handle getnstr() not defined (needed for SGI IRIX 6.5.22) Changes 1.2.9: - fix searching larger than 3 characters long strings Changes 1.2.8: - replace the unsafe getstr() with getnstr() Changes 1.2.7: - check the presence of before including it - fix build on Digital UNIX 4.0f (remove -Wall) - use the full width of the terminal (the trick is to stop relying on printing "\n", but using move() instead) - fix displaying the offsets at beginning of each line on big endian boxes (thanks to Martin Schaffner) Changes 1.2.6: - fix core dump when searching backward (thanks to Jean Delvare) (the culprit is memrmem, but also fixing provided memrchr) Changes 1.2.5: - fix build on Solaris (which doesn't have BLKGETSIZE and all compilers don't have -W) Changes 1.2.4: - use BLKGETSIZE to try to get the size of a device - do not die horribly when accessing after the end - fix provided memrchr() (thanks to Yue Luo) - fix displaying after searching >32bit files (thanks to Paul Mattal) Changes 1.2.3: - add some KEY_HOME KEY_END (^[[7~ and ^[[8~) - fix for HAVE_MEMMEM - fix my memrchr not behaving the same as libc's - fix the use of memrchr to behave as libc's - use "(void)" in prototype of functions having no parameters - call "raw()" when help() is over @ text @$NetBSD: patch-aa,v 1.5 2002/01/18 22:59:31 mjl Exp $ --- configure.orig Tue Dec 25 18:01:39 2001 +++ configure @@@@ -1822,6 +1822,7 @@@@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +if false ; then echo "$as_me:1825: checking for initscr in -lcurses" >&5 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6 if test "${ac_cv_lib_curses_initscr+set}" = set; then @@@@ -1875,6 +1876,8 @@@@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi +fi + echo "$as_me:1878: result: $ac_cv_lib_curses_initscr" >&5 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6 if test $ac_cv_lib_curses_initscr = yes; then @ 1.5 log @Update hexedit to 1.2.2 - now displays the reached offset while searching - many shortcuts added for different teminals - replace llseek with lseek + use of _FILE_OFFSET_BITS=64 - replaced lots of int by INT which 64bits - yet again some s/int/INT/ - Some bug fixed Fixes PR/15050 by Shell Hung. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @ * Update ncurses dependency. * Correct MD5 checksum of distfile. * Adapt to ncurses-4.2. @ text @d3 3 a5 3 --- configure.orig Tue Mar 9 05:07:58 1999 +++ configure Fri Jul 2 05:07:04 1999 @@@@ -781,7 +781,7 @@@@ d9 8 a16 9 - +if false ; then # skip check for curses...we use ncurses echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 echo "configure:787: checking for initscr in -lcurses" >&5 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` @@@@ -814,6 +814,7 @@@@ rm -f conftest* LIBS="$ac_save_LIBS" d18 4 a21 3 fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 @ 1.3 log @Update hexedit to 1.0.0. @ text @d3 4 a6 3 --- configure.orig Thu Sep 10 17:32:03 1998 +++ configure Tue Sep 15 14:06:07 1998 @@@@ -782,14 +782,14 @@@@ d9 8 d18 1 a18 15 -echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 -echo "configure:787: checking for initscr in -lcurses" >&5 +echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6 +echo "configure:787: checking for initscr in -lncurses" >&5 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lcurses $LIBS" +LIBS="-L${libdir} -lncurses $LIBS" cat > conftest.$ac_ext <&6 echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6 @ 1.2 log @Update hexedit to 0.9.5. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 1998/08/24 11:58:05 frueauf Exp $ d3 4 a6 4 --- Makefile.orig Wed Aug 26 14:32:18 1998 +++ Makefile Thu Aug 27 23:23:26 1998 @@@@ -2,15 +2,15 @@@@ VERSION = 0.9.5 a7 3 # Define BASENAME if your libc doesn't have it -#BASENAME=-DBASENAME +BASENAME=-DBASENAME d9 23 a31 20 -DESTDIR = /usr/local +DESTDIR = ${PREFIX} SHELL = /bin/sh CC = gcc -CFLAGS = -O2 -Wall $(BASENAME) -LIBS = -lcurses -LFLAGS = +CFLAGS = -O2 -Wall $(BASENAME) -I${PREFIX}/include +LIBS = -lncurses +LFLAGS =-L${PREFIX}/lib INCL = hexedit.h SRCS = hexedit.c display.c mark.c page.c file.c interact.c misc.c search.c @@@@ -63,4 +63,4 @@@@ ci -l -mdefault * TAGS: - etags *.[hc] + etags *.[hc] @ 1.1 log @Initial addition of hexedit-0.9.4, to view and edit files in hexadecimal or ASCII. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 4 --- Makefile.orig Fri Aug 7 17:09:38 1998 +++ Makefile Mon Aug 24 13:01:04 1998 @@@@ -2,7 +2,7 @@@@ VERSION = 0.9.4 d12 2 a13 5 CC=gcc TARSOURCE = $(PROJECT)-$(VERSION).src.tgz @@@@ -11,8 +11,8 @@@@ HTMLFILES = $(PROJECT).html TMPFILES = $(DYNAMICBIN) $(TARSOURCE) $(HTMLFILES) d15 8 a22 4 -CFLAGS = -Wall -O2 $(BASENAME) -LOADLIBES = -lcurses #-lccmalloc -ldl +CFLAGS = -Wall -O2 $(BASENAME) -I${PREFIX}/include -L${PREFIX}/lib -lncurses +LOADLIBES = -lncurses #-lccmalloc -ldl d24 4 a27 1 .PHONY: clean tgz docs d29 3 @