1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add a fix for a graphics bug.

This commit is contained in:
John Polstra 1997-05-09 20:45:02 +00:00
parent 8b26f15c0e
commit 0fc5da0960
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6438
5 changed files with 70 additions and 46 deletions

View File

@ -195,7 +195,7 @@ Index: m3/m3build/templates/FreeBSD2
proc after_library_hooks(x) is
local lib_a = format ("lib%s.a", x)
- local lib_so = format ("lib%s.so.1.1", x)
+ local lib_so = format ("lib%s.so.4.0", x)
+ local lib_so = format ("lib%s.so.4.1", x)
local dest = format ("%s%s%s%s%s", PKG_INSTALL, SL, BUILD_PACKAGE,
SL, BUILD_DIR)

View File

@ -0,0 +1,24 @@
This fixes a bug which can result in a value out of range error if the
cursor is at the beginning of a TextPort and the DeleteToStartOfLine
procedure is invoked.
This patch has been sent to SRC.
Index: m3/vbtkit/src/etext/TextPortClass.m3
--- TextPortClass.m3- Mon Jan 30 14:34:34 1995
+++ TextPortClass.m3 Thu May 8 17:20:58 1997
@@ -271,8 +271,12 @@
left := MTextUnit.StartOfLine (v.vtext.mtext, here);
BEGIN
IF here = left THEN
- (* We're already at the start of line; delete one char. *)
- RETURN v.replace (here - 1, here, "")
+ (* Already at the start of line; delete preceding newline if any. *)
+ IF here > 0 THEN
+ RETURN v.replace (here - 1, here, "")
+ ELSE
+ RETURN NotFound
+ END
ELSE
RETURN v.replace (left, here, "")
END

View File

@ -1,43 +1,43 @@
etc/rc.d/50.m3.sh
lib/m3/FreeBSD2/libDiGraph.so.4.0
lib/m3/FreeBSD2/libGeometry.so.4.0
lib/m3/FreeBSD2/libImages.so.4.0
lib/m3/FreeBSD2/libTempFiles.so.4.0
lib/m3/FreeBSD2/libjvideo.so.4.0
lib/m3/FreeBSD2/libm3.so.4.0
lib/m3/FreeBSD2/libm3X11R4.so.4.0
lib/m3/FreeBSD2/libm3core.so.4.0
lib/m3/FreeBSD2/libm3formsvbt.so.4.0
lib/m3/FreeBSD2/libm3formsvbtpixmaps.so.4.0
lib/m3/FreeBSD2/libm3parseparams.so.4.0
lib/m3/FreeBSD2/libm3tcp.so.4.0
lib/m3/FreeBSD2/libm3tools.so.4.0
lib/m3/FreeBSD2/libm3ui.so.4.0
lib/m3/FreeBSD2/libm3vbtkit.so.4.0
lib/m3/FreeBSD2/libset.so.4.0
lib/m3/FreeBSD2/libtable-list.so.4.0
lib/m3/FreeBSD2/libtcpextras.so.4.0
lib/m3/FreeBSD2/libvideovbt.so.4.0
lib/m3/FreeBSD2/libweb.so.4.0
lib/m3/pkg/X11R4/FreeBSD2/libm3X11R4.so.4.0
lib/m3/pkg/digraph/FreeBSD2/libDiGraph.so.4.0
lib/m3/pkg/formsvbt/FreeBSD2/libm3formsvbt.so.4.0
lib/m3/pkg/formsvbtpixmaps/FreeBSD2/libm3formsvbtpixmaps.so.4.0
lib/m3/pkg/images/FreeBSD2/libImages.so.4.0
lib/m3/pkg/jvideo/FreeBSD2/libjvideo.so.4.0
lib/m3/pkg/libm3/FreeBSD2/libm3.so.4.0
lib/m3/pkg/m3core/FreeBSD2/libm3core.so.4.0
lib/m3/pkg/m3tools/FreeBSD2/libm3tools.so.4.0
lib/m3/pkg/parseparams/FreeBSD2/libm3parseparams.so.4.0
lib/m3/pkg/realgeometry/FreeBSD2/libGeometry.so.4.0
lib/m3/pkg/set/FreeBSD2/libset.so.4.0
lib/m3/pkg/table-list/FreeBSD2/libtable-list.so.4.0
lib/m3/pkg/tcp/FreeBSD2/libm3tcp.so.4.0
lib/m3/pkg/tcpextras/FreeBSD2/libtcpextras.so.4.0
lib/m3/pkg/tempfiles/FreeBSD2/libTempFiles.so.4.0
lib/m3/pkg/ui/FreeBSD2/libm3ui.so.4.0
lib/m3/pkg/vbtkit/FreeBSD2/libm3vbtkit.so.4.0
lib/m3/pkg/videovbt/FreeBSD2/libvideovbt.so.4.0
lib/m3/pkg/web/FreeBSD2/libweb.so.4.0
lib/m3/FreeBSD2/libDiGraph.so.4.1
lib/m3/FreeBSD2/libGeometry.so.4.1
lib/m3/FreeBSD2/libImages.so.4.1
lib/m3/FreeBSD2/libTempFiles.so.4.1
lib/m3/FreeBSD2/libjvideo.so.4.1
lib/m3/FreeBSD2/libm3.so.4.1
lib/m3/FreeBSD2/libm3X11R4.so.4.1
lib/m3/FreeBSD2/libm3core.so.4.1
lib/m3/FreeBSD2/libm3formsvbt.so.4.1
lib/m3/FreeBSD2/libm3formsvbtpixmaps.so.4.1
lib/m3/FreeBSD2/libm3parseparams.so.4.1
lib/m3/FreeBSD2/libm3tcp.so.4.1
lib/m3/FreeBSD2/libm3tools.so.4.1
lib/m3/FreeBSD2/libm3ui.so.4.1
lib/m3/FreeBSD2/libm3vbtkit.so.4.1
lib/m3/FreeBSD2/libset.so.4.1
lib/m3/FreeBSD2/libtable-list.so.4.1
lib/m3/FreeBSD2/libtcpextras.so.4.1
lib/m3/FreeBSD2/libvideovbt.so.4.1
lib/m3/FreeBSD2/libweb.so.4.1
lib/m3/pkg/X11R4/FreeBSD2/libm3X11R4.so.4.1
lib/m3/pkg/digraph/FreeBSD2/libDiGraph.so.4.1
lib/m3/pkg/formsvbt/FreeBSD2/libm3formsvbt.so.4.1
lib/m3/pkg/formsvbtpixmaps/FreeBSD2/libm3formsvbtpixmaps.so.4.1
lib/m3/pkg/images/FreeBSD2/libImages.so.4.1
lib/m3/pkg/jvideo/FreeBSD2/libjvideo.so.4.1
lib/m3/pkg/libm3/FreeBSD2/libm3.so.4.1
lib/m3/pkg/m3core/FreeBSD2/libm3core.so.4.1
lib/m3/pkg/m3tools/FreeBSD2/libm3tools.so.4.1
lib/m3/pkg/parseparams/FreeBSD2/libm3parseparams.so.4.1
lib/m3/pkg/realgeometry/FreeBSD2/libGeometry.so.4.1
lib/m3/pkg/set/FreeBSD2/libset.so.4.1
lib/m3/pkg/table-list/FreeBSD2/libtable-list.so.4.1
lib/m3/pkg/tcp/FreeBSD2/libm3tcp.so.4.1
lib/m3/pkg/tcpextras/FreeBSD2/libtcpextras.so.4.1
lib/m3/pkg/tempfiles/FreeBSD2/libTempFiles.so.4.1
lib/m3/pkg/ui/FreeBSD2/libm3ui.so.4.1
lib/m3/pkg/vbtkit/FreeBSD2/libm3vbtkit.so.4.1
lib/m3/pkg/videovbt/FreeBSD2/libvideovbt.so.4.1
lib/m3/pkg/web/FreeBSD2/libweb.so.4.1
share/modula-3-lib/COPYRIGHT
@exec /sbin/ldconfig -m %D/lib/m3/FreeBSD2

View File

@ -3,7 +3,7 @@
# Date created: 18 Mar 1996
# Whom: John Polstra <jdp@polstra.com>
#
# $Id: Makefile,v 1.10 1996/12/30 23:28:13 jdp Exp $
# $Id: Makefile,v 1.11 1997/03/28 04:38:36 jdp Exp $
#
DISTNAME= modula-3-3.6
@ -22,7 +22,7 @@ NO_BUILD= yes
# Keep these in sync with the PLIST and with the library version numbers
# in the modula-3-lib port.
major= 4
minor= 0
minor= 1
# The Modula-3 build process insists on installing each individual
# component immediately after that component is built. To avoid having

View File

@ -3,7 +3,7 @@ bin/formsedit
bin/m3browser
bin/m3build
bin/m3build-4
bin/m3build-4.0
bin/m3build-4.1
bin/m3bundle
bin/m3pp
bin/m3ship
@ -16,7 +16,7 @@ bin/replayheap
bin/showheap
bin/shownew
bin/showthread
lib/m3/FreeBSD2/libm3configvars.so.4.0
lib/m3/FreeBSD2/libm3configvars.so.4.1
lib/m3/FreeBSD2/m3
lib/m3/FreeBSD2/m3cgc1
lib/m3/FreeBSD2/m3mkdir
@ -313,7 +313,7 @@ lib/m3/pkg/m3configvars/FreeBSD2/.M3IMPTAB
lib/m3/pkg/m3configvars/FreeBSD2/.M3WEB
lib/m3/pkg/m3configvars/FreeBSD2/libm3configvars.a
lib/m3/pkg/m3configvars/FreeBSD2/libm3configvars.m3x
lib/m3/pkg/m3configvars/FreeBSD2/libm3configvars.so.4.0
lib/m3/pkg/m3configvars/FreeBSD2/libm3configvars.so.4.1
lib/m3/pkg/m3configvars/src/M3ConfigVars.i3
lib/m3/pkg/m3core/FreeBSD2/.M3EXPORTS
lib/m3/pkg/m3core/FreeBSD2/.M3IMPTAB