summaryrefslogtreecommitdiff
path: root/audio/shorten/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'audio/shorten/patches/patch-ab')
-rw-r--r--audio/shorten/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/shorten/patches/patch-ab b/audio/shorten/patches/patch-ab
new file mode 100644
index 00000000000..840e5a752e1
--- /dev/null
+++ b/audio/shorten/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $
+
+--- shorten.h.orig Tue Oct 10 10:34:50 2000
++++ shorten.h Sun Apr 8 21:56:42 2001
+@@ -105,7 +105,7 @@
+ #define MAX(a,b) (((a)>(b))?(a):(b))
+ #endif
+
+-#if defined(unix) && !defined(linux)
++#if defined(eunuchs) && !defined(linux)
+ #define labs abs
+ #endif
+
+@@ -143,7 +143,7 @@
+ #undef ulong
+ #define ulong unsigned long
+
+-#if defined(__STDC__) || defined(__GNUC__) || defined(sgi) || !defined(unix)
++#if defined(__STDC__) || defined(__GNUC__) || defined(sgi) || !defined(eunuchs)
+ typedef signed char schar;
+ #define PROTO(ARGS) ARGS
+ #else