pkgsrc/audio/alsa-lib/patches/patch-bb
hans f7c62f909a Fix build on SunOS.
Inspired by the patches used for the native package in OI.
2012-02-15 19:43:51 +00:00

14 lines
347 B
Text

$NetBSD: patch-bb,v 1.3 2012/02/15 19:43:51 hans Exp $
--- src/pcm/pcm_route.c.orig 2008-10-29 08:42:10.000000000 -0400
+++ src/pcm/pcm_route.c
@@ -26,7 +26,9 @@
*
*/
+#if !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__sun)
#include <byteswap.h>
+#endif
#include <math.h>
#include "pcm_local.h"
#include "pcm_plugin.h"