pkgsrc/audio/xamp/patches/patch-am
rh e37e6d06d1 Update xamp to 0.8.10 (from PR 11250 by Rui-Xiang Guo
<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.
2000-10-18 11:22:42 +00:00

20 lines
566 B
Text

$NetBSD: patch-am,v 1.2 2000/10/18 11:22:44 rh Exp $
--- ../configure.orig Sat Aug 23 17:11:24 1997
+++ ../configure Mon Oct 16 21:13:14 2000
@@ -1413,6 +1413,15 @@
DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
;;
+ NetBSD)
+ CC="gcc"
+ if test "$ARCH_TYPE" = "i386" ; then
+ CFLAGS_ARCH="-i586 -pipe"
+ fi
+ CFLAGS="-O6 -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}"
+ DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
+ ;;
+
SunOS)
if test "$CC" = "gcc"; then
CFLAGS="-O6 -Dinline= "