diff options
author | drochner <drochner@pkgsrc.org> | 2011-01-19 17:09:19 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-01-19 17:09:19 +0000 |
commit | 0e5a545f9fc9e7912b50fd132901f2829c8a00a8 (patch) | |
tree | 7f81f997a930bbbf49d86f98f4399b90b927d2a2 | |
parent | daac00b3e994be98493e17db57cf202d0927f9e5 (diff) | |
download | pkgsrc-0e5a545f9fc9e7912b50fd132901f2829c8a00a8.tar.gz |
build fix: on semi-new NetBSD, statfs() is present in libc for binary
compatibility and thus found by autoconf, but the API was removed.
Don't try to use it.
-rw-r--r-- | print/cups/distinfo | 3 | ||||
-rw-r--r-- | print/cups/patches/patch-au | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/print/cups/distinfo b/print/cups/distinfo index 915f3ad7faa..4299de3171d 100644 --- a/print/cups/distinfo +++ b/print/cups/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.78 2011/01/19 03:28:42 sbd Exp $ +$NetBSD: distinfo,v 1.79 2011/01/19 17:09:19 drochner Exp $ SHA1 (cups-1.4.6-source.tar.bz2) = 42fb1ca00ee7291561564d3072716eb2045f05d1 RMD160 (cups-1.4.6-source.tar.bz2) = 94c9921e03f5ec52d9c16947435622365f53aef6 @@ -20,3 +20,4 @@ SHA1 (patch-an) = 231c871e31db279e8aeafba71506f93330e0a971 SHA1 (patch-ao) = 7fe50080b9a6fd4dac186020f9351ef6000373c7 SHA1 (patch-ap) = 70c5fa4a19ca2812818844180ca9db9cb7cfd601 SHA1 (patch-at) = aee1f0e8cbcd9e2dbcfa9af3fb675ea7ce1ce622 +SHA1 (patch-au) = e4e976ccb4d7782e31f5b0e3ed175359bf95ba42 diff --git a/print/cups/patches/patch-au b/print/cups/patches/patch-au new file mode 100644 index 00000000000..fc3056ffa67 --- /dev/null +++ b/print/cups/patches/patch-au @@ -0,0 +1,14 @@ +$NetBSD: patch-au,v 1.13 2011/01/19 17:09:20 drochner Exp $ + +--- scheduler/printers.c.orig 2010-09-22 18:35:07.000000000 +0000 ++++ scheduler/printers.c +@@ -81,6 +81,9 @@ + # include <sys/vfs.h> + #endif /* HAVE_SYS_VFS_H */ + ++#if defined(HAVE_STATVFS) && defined(__NetBSD__) ++#undef HAVE_STATFS ++#endif + + /* + * Local functions... |