pkgsrc/audio/rioutil/patches/patch-ae
2005-12-07 17:35:37 +00:00

23 lines
590 B
Text

$NetBSD: patch-ae,v 1.1 2005/12/07 17:35:37 joerg Exp $
--- include/rio_internal.h.orig 2005-12-07 17:15:27.000000000 +0000
+++ include/rio_internal.h
@@ -567,7 +567,7 @@ unsigned int crc32_rio (unsigned char *,
#if defined (__FreeBSD__) || defined(__MacOSX__)
u_int32_t bswap_32(u_int32_t);
-#elif defined (__NetBSD__)
+#elif defined (__NetBSD__) || defined(__DragonFly__)
#define bswap_32(x) bswap32(x)
#endif
@@ -585,6 +585,9 @@ char *basename(char *x);
#include <machine/endian.h>
+#elif defined(__DragonFly__)
+#include <sys/endian.h>
+
#else
#include <sys/endian.h>