update to fleditor-0.4.2 (bugfix release)

*  No longer writes extraneous null byte when saving to file.

*  Added GetTextBufferSize() call on editorengine and Fl_Editor that returns
   the number of characters that should be allocated in order to save the
   text to a buffer.  The CharacterCount() method returns only characters
   actually presently in the buffer, while this new method considers the line
   ending characters that would be added when saving.
This commit is contained in:
wilfried 2001-08-29 07:44:47 +00:00
parent a1a69ac7fb
commit ab4b03bdff
6 changed files with 24 additions and 22 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.3 2001/04/17 19:02:39 naddy Exp $
# $OpenBSD: Makefile,v 1.4 2001/08/29 07:44:47 wilfried Exp $
COMMENT= 'Text Editor for FLTK'
DISTNAME= fl_editor-0.4.1
PKGNAME= fleditor-0.4.1
DISTNAME= fl_editor-0.4.2
PKGNAME= fleditor-0.4.2
CATEGORIES= x11
NEED_VERSION= 1.380
NEED_VERSION= 1.448
HOMEPAGE= http://www.robertk.com/source/
@ -16,7 +16,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.robertk.com/pub/Source/fl_editor/
MASTER_SITES= http://www.robertk.com/source/fl_editor/
EXTRACT_SUFX= .tgz
LIB_DEPENDS= fltk.::x11/fltk
@ -28,6 +28,8 @@ CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-fltk=${LOCALBASE}
WRKDIST= ${WRKDIR}/fl_editor
post-patch:
@rmdir ${WRKSRC}/obj

View File

@ -1,3 +1,3 @@
MD5 (fl_editor-0.4.1.tgz) = 9a38632c602ec1b657a1ca961bc7fc28
RMD160 (fl_editor-0.4.1.tgz) = a2cb0f975b5d9b03c0b7815c47ce06b6cd444952
SHA1 (fl_editor-0.4.1.tgz) = da173b1be5d37d1485689217396136cb4e613cb7
MD5 (fl_editor-0.4.2.tgz) = e0251fe45975c7d0b6a060e3151e6d8b
RMD160 (fl_editor-0.4.2.tgz) = 6a28239687a24b4831c1489d011a50f30c29d665
SHA1 (fl_editor-0.4.2.tgz) = 91efea7822b4226ad3a1f8e7dc32ce678de51eae

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile_in,v 1.2 2001/04/15 10:32:09 wilfried Exp $
--- Makefile.in.orig Wed Jan 10 00:11:24 2001
+++ Makefile.in Sun Apr 15 12:04:55 2001
$OpenBSD: patch-Makefile_in,v 1.3 2001/08/29 07:44:47 wilfried Exp $
--- Makefile.in.orig Wed Jan 10 00:11:25 2001
+++ Makefile.in Wed Aug 29 09:14:40 2001
@@ -29,9 +29,9 @@ FLTKLIBDIR = @ac_fltk_libraries@
# Program options...
#
@ -56,7 +56,7 @@ $OpenBSD: patch-Makefile_in,v 1.2 2001/04/15 10:32:09 wilfried Exp $
$(RANLIB) libfleditor.a
-libfleditor.so: $(EDITOR_OBJS)
+libfleditor.so.1.0: $(EDITOR_OBJS)
+libfleditor.so.1.1: $(EDITOR_OBJS)
echo Building library $@...
$(RM) libfleditor.so
@DSOCOMMAND@ @DSOLIBNAME@@DSOEXT@ $(EDITOR_OBJS)

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.2 2001/04/15 10:32:10 wilfried Exp $
--- configure.orig Wed Jan 10 00:11:24 2001
+++ configure Sun Apr 15 12:03:26 2001
$OpenBSD: patch-configure,v 1.3 2001/08/29 07:44:47 wilfried Exp $
--- configure.orig Wed Jan 10 00:11:25 2001
+++ configure Wed Aug 29 09:14:37 2001
@@ -998,7 +998,7 @@ else
fi
@ -43,7 +43,7 @@ $OpenBSD: patch-configure,v 1.2 2001/04/15 10:32:10 wilfried Exp $
- DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ -shared $DEBUGFLAG -o"
- ;;
- esac
+ DSOEXT=".so.1.0"
+ DSOEXT=".so.1.1"
+ DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -fPIC -shared $DEBUGFLAG -o"
fi
else

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in,v 1.2 2001/04/15 10:32:10 wilfried Exp $
--- configure.in.orig Wed Jan 10 00:11:24 2001
+++ configure.in Sun Apr 15 12:03:21 2001
$OpenBSD: patch-configure_in,v 1.3 2001/08/29 07:44:47 wilfried Exp $
--- configure.in.orig Wed Jan 10 00:11:25 2001
+++ configure.in Wed Aug 29 09:14:34 2001
@@ -18,7 +18,7 @@ AC_PATH_PROG(AR,ar)
AC_PATH_PROG(RM,rm)
@ -43,7 +43,7 @@ $OpenBSD: patch-configure_in,v 1.2 2001/04/15 10:32:10 wilfried Exp $
- DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ -shared $DEBUGFLAG -o"
- ;;
- esac
+ DSOEXT=".so.1.0"
+ DSOEXT=".so.1.1"
+ DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ \$(LDLIBS) -fPIC -shared $DEBUGFLAG -o"
fi],
[

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2001/04/15 10:32:11 wilfried Exp $
lib/libfleditor.so.1.0
@comment $OpenBSD: PFRAG.shared,v 1.2 2001/08/29 07:44:47 wilfried Exp $
lib/libfleditor.so.1.1
DYNLIBDIR(%B)