diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-05-15 09:34:53 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-05-15 09:34:53 +0000 |
commit | 77c9006fb50ac8fd4fcd493fa5e16e439976227e (patch) | |
tree | 1cfdf73e9c8ffbf5217c5827ee62b11dbd5dd710 /audio/bmp/patches | |
parent | c54ed9b259ecdfe7b8de7df054fbe0eca07a155b (diff) | |
download | pkgsrc-77c9006fb50ac8fd4fcd493fa5e16e439976227e.tar.gz |
Fix build under NetBSD current (>= 2.0D); statvfs problems.
Diffstat (limited to 'audio/bmp/patches')
-rw-r--r-- | audio/bmp/patches/patch-an | 13 | ||||
-rw-r--r-- | audio/bmp/patches/patch-ao | 14 | ||||
-rw-r--r-- | audio/bmp/patches/patch-ap | 16 |
3 files changed, 43 insertions, 0 deletions
diff --git a/audio/bmp/patches/patch-an b/audio/bmp/patches/patch-an new file mode 100644 index 00000000000..9ff8775b3c5 --- /dev/null +++ b/audio/bmp/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1 2004/05/15 09:34:53 jmmv Exp $ + +--- configure.orig 2003-12-24 20:16:01.000000000 +0100 ++++ configure +@@ -30074,7 +30074,7 @@ fi + done + + +-for ac_func in getmntinfo ++for ac_func in statvfs getmntinfo + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` + echo "$as_me:$LINENO: checking for $ac_func" >&5 diff --git a/audio/bmp/patches/patch-ao b/audio/bmp/patches/patch-ao new file mode 100644 index 00000000000..d690b6e3932 --- /dev/null +++ b/audio/bmp/patches/patch-ao @@ -0,0 +1,14 @@ +$NetBSD: patch-ao,v 1.1 2004/05/15 09:34:53 jmmv Exp $ + +--- config.h.in.orig 2003-12-24 20:16:48.000000000 +0100 ++++ config.h.in +@@ -195,6 +195,9 @@ + /* Define to 1 if you have the `srandomdev' function. */ + #undef HAVE_SRANDOMDEV + ++/* Define to 1 if you have the `statvfs' function. */ ++#undef HAVE_STATVFS ++ + /* Define to 1 if you have the <stddef.h> header file. */ + #undef HAVE_STDDEF_H + diff --git a/audio/bmp/patches/patch-ap b/audio/bmp/patches/patch-ap new file mode 100644 index 00000000000..60fdd0253ed --- /dev/null +++ b/audio/bmp/patches/patch-ap @@ -0,0 +1,16 @@ +$NetBSD: patch-ap,v 1.1 2004/05/15 09:34:53 jmmv Exp $ + +--- Input/cdaudio/cdaudio.c.orig 2003-12-24 14:27:54.000000000 +0100 ++++ Input/cdaudio/cdaudio.c +@@ -553,7 +553,11 @@ extern gboolean is_mounted(const char *d + FILE *mounts; + struct mntent *mnt; + #elif defined(HAVE_GETMNTINFO) ++#if defined(HAVE_STATVFS) ++ struct statvfs *fsp; ++#else + struct statfs *fsp; ++#endif + int entries; + #endif + |