diff options
author | wiz <wiz@pkgsrc.org> | 2005-07-13 13:16:36 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-07-13 13:16:36 +0000 |
commit | b83ca794ce89cae65f85c724d2f47cd0a48f28b4 (patch) | |
tree | 2dedfcff70a48114686171f1d4fd68ac3cdb930d /multimedia/libmpeg3/patches/patch-ac | |
parent | e9de543098ed85cdc12a5ab6feaba67ac5c6f2cb (diff) | |
download | pkgsrc-b83ca794ce89cae65f85c724d2f47cd0a48f28b4.tar.gz |
Add DragonFlyBSD support, from Joerg Sonnenberger.
Diffstat (limited to 'multimedia/libmpeg3/patches/patch-ac')
-rw-r--r-- | multimedia/libmpeg3/patches/patch-ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/libmpeg3/patches/patch-ac b/multimedia/libmpeg3/patches/patch-ac index f41cfd9f44f..af58881aaba 100644 --- a/multimedia/libmpeg3/patches/patch-ac +++ b/multimedia/libmpeg3/patches/patch-ac @@ -1,6 +1,8 @@ +$NetBSD: patch-ac,v 1.3 2005/07/13 13:16:36 wiz Exp $ + --- mpeg3ifo.c.orig 2001-05-20 05:05:26.000000000 +0200 -+++ mpeg3ifo.c 2005-06-08 01:20:54.000000000 +0200 -@@ -1,10 +1,22 @@ ++++ mpeg3ifo.c +@@ -1,10 +1,26 @@ -#include <byteswap.h> #include <dirent.h> #include <fcntl.h> @@ -13,6 +15,10 @@ +# include <machine/bswap.h> +# define bswap_16(x) bswap16(x) +# define bswap_32(x) bswap32(x) ++#elif defined(__DragonFly__) ++# include <sys/endian.h> ++# define bswap_16(x) bswap16(x) ++# define bswap_32(x) bswap32(x) +#elif defined(linux) +# include <byteswap.h> +#elif defined(__APPLE__) || defined(__MACH__) /* MacOS X */ |