* Fix interpreter in alsaconf and make package depend on bash (runtime). * Bump PKGREVISION
20 lines
449 B
Text
20 lines
449 B
Text
$NetBSD: patch-ac,v 1.2 2008/12/30 14:44:14 hasso Exp $
|
|
|
|
--- aplay/formats.h.orig 2008-12-18 22:21:49.000000000 -0500
|
|
+++ aplay/formats.h
|
|
@@ -1,8 +1,15 @@
|
|
#ifndef FORMATS_H
|
|
#define FORMATS_H 1
|
|
|
|
+#if defined(__NetBSD__) || defined(__DragonFly__)
|
|
+#include <sys/endian.h>
|
|
+#define bswap_16 bswap16
|
|
+#define bswap_32 bswap32
|
|
+#define bswap_64 bswap64
|
|
+#else
|
|
#include <endian.h>
|
|
#include <byteswap.h>
|
|
+#endif
|
|
|
|
/* Definitions for .VOC files */
|
|
|