summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-12 21:02:10 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-12 21:02:10 +0000
commitfffea9c38c32cf3910e943f053bce0a850771d36 (patch)
treeab0bc0fbc65549d0b88fbd5a463aaf1d61fd83a1
parent20991933860b3ca57802de538ce284ec844e3096 (diff)
downloadpkgsrc-fffea9c38c32cf3910e943f053bce0a850771d36.tar.gz
Fix errno.
-rw-r--r--emulators/spim/distinfo3
-rw-r--r--emulators/spim/patches/patch-ac23
2 files changed, 25 insertions, 1 deletions
diff --git a/emulators/spim/distinfo b/emulators/spim/distinfo
index f5118597ca5..6c8fe5a79e9 100644
--- a/emulators/spim/distinfo
+++ b/emulators/spim/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2005/09/12 14:53:29 adam Exp $
+$NetBSD: distinfo,v 1.8 2006/01/12 21:02:10 joerg Exp $
SHA1 (spim-7.1.tar.gz) = 3e0399e4c2e007aecbd2532b9d8f3f63b7035ff9
RMD160 (spim-7.1.tar.gz) = 175f63d95011a20087ab135de54b03fccc98286d
Size (spim-7.1.tar.gz) = 307599 bytes
SHA1 (patch-aa) = 6c2ed827f757d3bb92d202d694e631c96750183a
SHA1 (patch-ab) = 5e1cf699e926f434d6f6aba8f55df7ad7da44fdb
+SHA1 (patch-ac) = f3785adfdedf5744b0ce7b0bae5f39436bd4ac88
diff --git a/emulators/spim/patches/patch-ac b/emulators/spim/patches/patch-ac
new file mode 100644
index 00000000000..ebd9e9b4355
--- /dev/null
+++ b/emulators/spim/patches/patch-ac
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.1 2006/01/12 21:02:10 joerg Exp $
+
+--- run.c.orig 2006-01-12 20:43:59.000000000 +0000
++++ run.c
+@@ -33,6 +33,7 @@
+ #endif
+
+ #include <math.h>
++#include <stdlib.h>
+ #include <stdio.h>
+
+ #ifdef WIN32
+@@ -58,10 +59,6 @@
+
+ int force_break = 0; /* For the execution env. to force an execution break */
+
+-#ifndef _MSC_VER
+-extern int errno;
+-long atol (const char *);
+-#endif
+
+
+