dev86: New release. Added patch and cleanup Pkgfile.
This commit is contained in:
parent
eb208379d1
commit
efe1ce57c2
@ -2,12 +2,14 @@ drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/ar86
|
||||
-rwxr-xr-x root/root usr/bin/bcc
|
||||
-rwxr-xr-x root/root usr/bin/bcc-cc1
|
||||
-rwxr-xr-x root/root usr/bin/bcc-cpp
|
||||
-rwxr-xr-x root/root usr/bin/dis86
|
||||
-rwxr-xr-x root/root usr/bin/elksemu
|
||||
-rwxr-xr-x root/root usr/bin/makeboot
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/bcc/
|
||||
-rwxr-xr-x root/root usr/lib/bcc/as86_encap
|
||||
-rwxr-xr-x root/root usr/lib/bcc/bcc-cc1
|
||||
-rwxr-xr-x root/root usr/lib/bcc/bcc-cpp
|
||||
-rwxr-xr-x root/root usr/lib/bcc/copt
|
||||
-rw-r--r-- root/root usr/lib/bcc/crt0.o
|
||||
drwxr-xr-x root/root usr/lib/bcc/i386/
|
||||
@ -134,5 +136,6 @@ drwxr-xr-x root/root usr/lib/bcc/include/sys/
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/bcc.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/dis86.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/elks.1.gz
|
||||
-rw-r--r-- root/root usr/man/man1/elksemu.1.gz
|
||||
|
@ -1 +1,2 @@
|
||||
e7bbfdbe61c2fb964994a087e29b0087 Dev86src-0.16.17.tar.gz
|
||||
1b750c5561a4bde5f83f65e5827feb73 dev86-pic.patch
|
||||
|
@ -6,15 +6,15 @@
|
||||
|
||||
name=dev86
|
||||
version=0.16.17
|
||||
release=2
|
||||
source=(http://homepage.ntlworld.com/robert.debath/${name}/Dev86src-${version}.tar.gz)
|
||||
release=3
|
||||
source=(http://homepage.ntlworld.com/robert.debath/$name/Dev86src-$version.tar.gz \
|
||||
dev86-pic.patch)
|
||||
|
||||
build() {
|
||||
cd ${name}-${version}
|
||||
install -d ${PKG}/usr
|
||||
echo "quit" | make PREFIX=${PKG}/usr
|
||||
make install
|
||||
mv ${PKG}/usr/lib/bcc/bcc-* ${PKG}/usr/bin/
|
||||
rm -f ${PKG}/usr/bin/{as,ld,nm,objdump,size}86
|
||||
rm -f ${PKG}/usr/man/man1/{as,ld}86.1
|
||||
cd $name-$version
|
||||
patch -p0 < $SRC/dev86-pic.patch
|
||||
echo quit | make PREFIX=/usr
|
||||
make install-all DIST=$PKG
|
||||
rm -f $PKG/usr/bin/{as,ld,nm,objdump,size}86
|
||||
rm -f $PKG/usr/man/man1/{as,ld}86.1
|
||||
}
|
||||
|
20
dev86/dev86-pic.patch
Normal file
20
dev86/dev86-pic.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- elksemu/elks.c.orig 2005-11-04 01:35:37.000000000 +0100
|
||||
+++ elksemu/elks.c 2005-11-04 01:45:28.000000000 +0100
|
||||
@@ -129,8 +129,17 @@
|
||||
static inline int vm86_mine(struct vm86_struct* v86)
|
||||
{
|
||||
int __res;
|
||||
+#ifndef __PIC__
|
||||
__asm__ __volatile__("int $0x80\n"
|
||||
:"=a" (__res):"a" ((int)OLD_SYS_vm86), "b" ((int)v86));
|
||||
+#else
|
||||
+ __asm__ __volatile__(
|
||||
+ "movl %%ebx,%%ecx\n\t"
|
||||
+ "movl %2,%%ebx\n\t"
|
||||
+ "int $0x80\n\t"
|
||||
+ "movl %%ecx,%%ebx\n\t"
|
||||
+ :"=a" (__res):"a" ((int)OLD_SYS_vm86), "r" ((int)v86) : "ecx");
|
||||
+#endif
|
||||
return __res;
|
||||
}
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user