dev86: update to 0.16.18 and make it build on x86_64 FINALLY!
This commit is contained in:
parent
9ed593871e
commit
01d0b9ae52
7 changed files with 120 additions and 37 deletions
24
srcpkgs/dev86/patches/dev86-overflow.patch
Normal file
24
srcpkgs/dev86/patches/dev86-overflow.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
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…
Add table
Add a link
Reference in a new issue