mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/dev86: upgrade to 0.16.19
This commit is contained in:
parent
76f06d429e
commit
2362cae61d
@ -1,7 +1,7 @@
|
||||
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=dev86
|
||||
pkgver=0.16.18
|
||||
pkgver=0.16.19
|
||||
pkgrel=0
|
||||
pkgdesc="A real mode 80x86 assembler and linker"
|
||||
url="http://www.debath.co.uk/dev86/"
|
||||
@ -14,9 +14,7 @@ subpackages="$pkgname-doc"
|
||||
source="http://www.debath.co.uk/dev86/Dev86src-$pkgver.tar.gz
|
||||
dev86-noelks.patch
|
||||
dev86-pic.patch
|
||||
dev86-overflow.patch
|
||||
dev86-print-overflow.patch
|
||||
dev86-long.patch
|
||||
"
|
||||
|
||||
_builddir="$srcdir"/dev86-$pkgver
|
||||
@ -73,9 +71,7 @@ package() {
|
||||
install install-man
|
||||
}
|
||||
|
||||
md5sums="f2e06b547397383b2b2650b9c4fd9bab Dev86src-0.16.18.tar.gz
|
||||
md5sums="442e98e1afa23fe00d40c5a996385942 Dev86src-0.16.19.tar.gz
|
||||
eba7081bc5dbd72b7b9b902275251499 dev86-noelks.patch
|
||||
d508a2a8ededa9e34dbd9105dfd66290 dev86-pic.patch
|
||||
8f462d57fe4d5c9393331ba917db0258 dev86-overflow.patch
|
||||
7ce097efcb8c043727b4b3bf6c396c75 dev86-print-overflow.patch
|
||||
cad5918764234a9ab0492147a336d437 dev86-long.patch"
|
||||
7ce097efcb8c043727b4b3bf6c396c75 dev86-print-overflow.patch"
|
||||
|
@ -1,17 +0,0 @@
|
||||
diff -up dev86-0.16.17/ld/x86_aout.h.long dev86-0.16.17/ld/x86_aout.h
|
||||
--- dev86-0.16.17/ld/x86_aout.h.long 2003-01-28 23:17:14.000000000 +0100
|
||||
+++ dev86-0.16.17/ld/x86_aout.h 2009-02-19 11:37:10.000000000 +0100
|
||||
@@ -11,10 +11,11 @@
|
||||
/* If the host isn't an x86 all bets are off, use chars. */
|
||||
#if defined(i386) || defined(__BCC__) || defined(MSDOS)
|
||||
typedef long Long;
|
||||
-#define __OUT_OK 1
|
||||
#else
|
||||
-typedef char Long[4];
|
||||
+#include <stdint.h>
|
||||
+typedef int32_t Long;
|
||||
#endif
|
||||
+#define __OUT_OK 1
|
||||
|
||||
struct exec { /* a.out header */
|
||||
unsigned char a_magic[2]; /* magic number */
|
@ -1,24 +0,0 @@
|
||||
diff -up dev86-0.16.17/bcc/bcc.c.overflow dev86-0.16.17/bcc/bcc.c
|
||||
--- dev86-0.16.17/bcc/bcc.c.overflow 2005-01-03 23:41:55.000000000 +0100
|
||||
+++ dev86-0.16.17/bcc/bcc.c 2009-02-19 10:49:32.000000000 +0100
|
||||
@@ -16,6 +16,7 @@
|
||||
* -M0 A framework for the -B option.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
+#include <limits.h>
|
||||
#ifdef __STDC__
|
||||
#include <stdlib.h>
|
||||
#ifndef MSDOS
|
||||
@@ -1308,11 +1309,7 @@ void reset_prefix_path()
|
||||
|
||||
for(d=s=ptr; d && *s; s=d)
|
||||
{
|
||||
-#ifdef MAXPATHLEN
|
||||
- char buf[MAXPATHLEN];
|
||||
-#else
|
||||
- char buf[1024];
|
||||
-#endif
|
||||
+ char buf[PATH_MAX];
|
||||
|
||||
free(temp);
|
||||
d=strchr(s, ':');
|
Loading…
Reference in New Issue
Block a user