e37e6d06d1
<rxg@ms25.url.com.tw>, the maintainer of this package). Changes are bugfixes, and use of the native NetBSD sound API instead of OSS emulation.
23 lines
471 B
Text
23 lines
471 B
Text
$NetBSD: patch-aj,v 1.2 2000/10/18 11:22:44 rh Exp $
|
|
|
|
--- ../amp.h.orig Tue Aug 19 05:33:30 1997
|
|
+++ ../amp.h Sun Oct 1 15:47:56 2000
|
|
@@ -13,10 +13,17 @@
|
|
#define MINOR 7
|
|
#define PATCH 6
|
|
|
|
+#ifdef OS_NetBSD
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
+#ifndef OS_NetBSD
|
|
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
|
+#endif
|
|
#define MAX3(a,b,c) ((a) > (b) ? MAX(a, c) : MAX(b, c))
|
|
+#ifndef OS_NetBSD
|
|
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
|
-
|
|
+#endif
|
|
|
|
/* Debugging flags */
|
|
|