summaryrefslogtreecommitdiff
path: root/math/scilab/patches/patch-as
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-05-12 12:39:32 +0000
committerjoerg <joerg@pkgsrc.org>2006-05-12 12:39:32 +0000
commit30b64a9930b7a98d84179f64c27f879585217a99 (patch)
treeaebbbdc906d4d4139956855bec957945d953160f /math/scilab/patches/patch-as
parent5910f689fcee5046a0e206b5b09485e07a3362b0 (diff)
downloadpkgsrc-30b64a9930b7a98d84179f64c27f879585217a99.tar.gz
Honour LDFLAGS, fix errno usage.
Diffstat (limited to 'math/scilab/patches/patch-as')
-rw-r--r--math/scilab/patches/patch-as19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/scilab/patches/patch-as b/math/scilab/patches/patch-as
new file mode 100644
index 00000000000..caf2775ce50
--- /dev/null
+++ b/math/scilab/patches/patch-as
@@ -0,0 +1,19 @@
+$NetBSD: patch-as,v 1.6 2006/05/12 12:39:32 joerg Exp $
+
+--- routines/sound/st.h.orig 2006-04-28 19:43:21.000000000 +0000
++++ routines/sound/st.h
+@@ -228,14 +228,7 @@ IMPORT int soxpreview; /* Preview mode:
+
+
+ /* Error code reporting */
+-#ifdef QNX
+ #include <errno.h>
+-#endif
+-
+-#if defined(unix) || defined(__OS2__) || defined(aix)
+-#include <errno.h>
+-extern int errno;
+-#endif
+
+ #ifdef __OS2__
+ #define REMOVE remove