diff options
Diffstat (limited to 'multimedia/libmpeg3/patches/patch-ah')
-rw-r--r-- | multimedia/libmpeg3/patches/patch-ah | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/libmpeg3/patches/patch-ah b/multimedia/libmpeg3/patches/patch-ah index c3740d39519..a1b662b2a75 100644 --- a/multimedia/libmpeg3/patches/patch-ah +++ b/multimedia/libmpeg3/patches/patch-ah @@ -1,13 +1,13 @@ -$NetBSD: patch-ah,v 1.7 2008/06/21 11:45:56 drochner Exp $ +$NetBSD: patch-ah,v 1.8 2009/01/29 17:53:49 abs Exp $ ---- mpeg3tocutil.c.orig 2008-02-19 19:21:30.000000000 +0100 -+++ mpeg3tocutil.c 2008-02-19 19:22:41.000000000 +0100 -@@ -5,8 +5,26 @@ +--- mpeg3tocutil.c.orig 2008-06-21 04:53:27.000000000 +0100 ++++ mpeg3tocutil.c +@@ -5,7 +5,27 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <sys/stat.h> -- ++ +#if defined(__NetBSD__) || defined(__DragonFly__) || (defined(__APPLE__) && defined(__MACH__)) +# include <sys/param.h> +# include <sys/mount.h> @@ -29,5 +29,5 @@ $NetBSD: patch-ah,v 1.7 2008/06/21 11:45:56 drochner Exp $ +# include <sys/stat.h> +#endif + static FILE *test_file = 0; - #define PUT_INT32(x) \ |