wok rev 23844

linld/readmenu: do not forget to lseek
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 13 10:41:01 2020 +0000 (2020-06-13)
parents dd2e01a112ac
children fa1a940c727c
files awesome/receipt dos33fsprogs/receipt linld/stuff/src/ISOCRTL.ASM sockets/receipt tupi/receipt vorbis-tools/receipt warzone2100/receipt
line diff
     1.1 --- a/awesome/receipt	Sat Jun 13 02:21:20 2020 -0400
     1.2 +++ b/awesome/receipt	Sat Jun 13 10:41:01 2020 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  SHORT_DESC="Highly configurable framework window manager."
     1.5  MAINTAINER="mallory@sweetpeople.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="https://awesome.naquadah.org/"
     1.8 +WEB_SITE="https://awesomewm.org/"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.11  WGET_URL="https://github.com/awesomeWM/$PACKAGE/releases/download/v$VERSION/$TARBALL"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/dos33fsprogs/receipt	Sat Jun 13 10:41:01 2020 +0000
     2.3 @@ -0,0 +1,28 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="dos33fsprogs"
     2.7 +#VERSION="tfv004"
     2.8 +VERSION="ootw-v2.8"
     2.9 +CATEGORY="system-tools"
    2.10 +SHORT_DESC="Tools for manipulating Apple II dos33 filesystems."
    2.11 +MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +LICENSE="GPL2"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://www.deater.net/weave/vmwprod/apple/dos33fs.html"
    2.15 +#WGET_URL="https://github.com/peterferrie/dos33fsprogs/archive/$VERSION.tar.gz"
    2.16 +WGET_URL="https://github.com/deater/dos33fsprogs/archive/ootw-v2.8.tar.gz"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	sed -i "s|/usr/local|$DESTDIR/usr|" Makefile.inc
    2.22 +	mkdir -p $DESTDIR/usr/bin
    2.23 +	make &&
    2.24 +	make install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	cp -a $install/usr $fs/
    2.31 +}
     3.1 --- a/linld/stuff/src/ISOCRTL.ASM	Sat Jun 13 02:21:20 2020 -0400
     3.2 +++ b/linld/stuff/src/ISOCRTL.ASM	Sat Jun 13 10:41:01 2020 +0000
     3.3 @@ -70,24 +70,9 @@
     3.4  		dec	ax
     3.5  		stc
     3.6  open_ok:
     3.7 -		ret
     3.8 -
     3.9 -		global	@readmenu$qv:near
    3.10 -@readmenu$qv:
    3.11 -		mov	dx,18
    3.12 -		xor	cx,cx
    3.13 -		call	lseekset
    3.14 -		mov	dx,offset _isostate.filemod
    3.15 -		mov	cx,10
    3.16 -		call	readfd ; // read x->filemod + x->fileofs & x->filesize
    3.17 -		mov	bx,offset _isostate.fileofs
    3.18 -		; x->fileofs = 0x7FF0 - (x->filesize &= 0xFFFF);
    3.19 -		and	[word bx+6],0
    3.20 -		mov	ax,7FF0h
    3.21 -		sub	ax,[bx+4]
    3.22 -		and	[word bx+2],0
    3.23 -		mov	[bx],ax
    3.24 -		; //magic = x->filemod;
    3.25 +		push	bx
    3.26 +iso_close_hack:
    3.27 +		pop	bx
    3.28  		ret
    3.29  
    3.30  
    3.31 @@ -166,16 +151,29 @@
    3.32  		sbb	dx,[(word _isostate.fileofs)+2]
    3.33  		ret
    3.34  
    3.35 -iso_close_hack:
    3.36 -		pop	bx
    3.37 -		ret
    3.38 -
    3.39  iso_cleanup_hack:
    3.40  		mov	ah,3Eh		; close file
    3.41  		jmp	dosfd
    3.42  
    3.43  
    3.44  
    3.45 +		global	@readmenu$qv:near
    3.46 +@readmenu$qv:
    3.47 +		mov	dx,18
    3.48 +		xor	cx,cx
    3.49 +		call	lseekset
    3.50 +		mov	dx,offset _isostate.filemod
    3.51 +		mov	cx,10
    3.52 +		call	readfd ; // read x->filemod + x->fileofs & x->filesize
    3.53 +		mov	bx,offset _isostate.fileofs
    3.54 +		; x->fileofs = 0x7FF0 - (x->filesize &= 0xFFFF);
    3.55 +		and	[word bx+6],0
    3.56 +		mov	ax,7FF0h
    3.57 +		sub	ax,[bx+4]
    3.58 +		and	[word bx+2],0
    3.59 +		mov	[bx],ax
    3.60 +		; //magic = x->filemod;
    3.61 +
    3.62  ;***************************************************************
    3.63  ;_fastcall void isolseek(bx:const unsigned long *offset);
    3.64  ;***************************************************************
     4.1 --- a/sockets/receipt	Sat Jun 13 02:21:20 2020 -0400
     4.2 +++ b/sockets/receipt	Sat Jun 13 10:41:01 2020 +0000
     4.3 @@ -6,7 +6,7 @@
     4.4  SHORT_DESC="C++ Sockets library."
     4.5  MAINTAINER="pascal.bellard@slitaz.org"
     4.6  LICENSE="GPL2"
     4.7 -WEB_SITE="http://www.alhem.net/Sockets/"
     4.8 +WEB_SITE="https://www.alhem.net/Sockets/"
     4.9  
    4.10  SOURCE="Sockets"
    4.11  TARBALL="$SOURCE-$VERSION.tar.gz"
     5.1 --- a/tupi/receipt	Sat Jun 13 02:21:20 2020 -0400
     5.2 +++ b/tupi/receipt	Sat Jun 13 10:41:01 2020 +0000
     5.3 @@ -7,7 +7,7 @@
     5.4  MAINTAINER="pankso@slitaz.org"
     5.5  LICENSE="GPL3"
     5.6  TARBALL="${PACKAGE}_${VERSION}.tar.gz"
     5.7 -WEB_SITE="http://www.maefloresta.com/"
     5.8 +WEB_SITE="https://www.maefloresta.com/"
     5.9  WGET_URL="http://download.berlios.de/tupi/$TARBALL/from_sourceforge"
    5.10  
    5.11  DEPENDS="libQtCore libQtSvg libQtOpenGL ffmpeg quazip mesa libogg libtheora libtheora-enc"
     6.1 --- a/vorbis-tools/receipt	Sat Jun 13 02:21:20 2020 -0400
     6.2 +++ b/vorbis-tools/receipt	Sat Jun 13 10:41:01 2020 +0000
     6.3 @@ -7,7 +7,7 @@
     6.4  MAINTAINER="pankso@slitaz.org"
     6.5  LICENSE="GPL2"
     6.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     6.7 -WEB_SITE="http://www.vorbis.com/"
     6.8 +WEB_SITE="https://www.xiph.org/vorbis/"
     6.9  WGET_URL="https://downloads.xiph.org/releases/vorbis/$TARBALL"
    6.10  TAGS="multimedia ogg"
    6.11  HOST_ARCH="i486 arm"
     7.1 --- a/warzone2100/receipt	Sat Jun 13 02:21:20 2020 -0400
     7.2 +++ b/warzone2100/receipt	Sat Jun 13 10:41:01 2020 +0000
     7.3 @@ -7,7 +7,7 @@
     7.4  MAINTAINER="slaxemulator@gmail.com"
     7.5  LICENSE="GPL2"
     7.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     7.7 -WEB_SITE="http://wz2100.net/"
     7.8 +WEB_SITE="https://wz2100.net/"
     7.9  WGET_URL="$SF_MIRROR/warzone2100/releases/$VERSION/$TARBALL"
    7.10  
    7.11  DEPENDS="libsdl-net mesa openal jpeg libpng libvorbis libtheora libmad physfs \