summaryrefslogtreecommitdiff
path: root/print/cups/patches
diff options
context:
space:
mode:
authorsbd <sbd>2010-07-13 10:59:42 +0000
committersbd <sbd>2010-07-13 10:59:42 +0000
commit59a0b0ec5affca2d26055d735fb29dab3b972a60 (patch)
treef6105bd2c9fd79ad58a5a6955ae665b5cd983dda /print/cups/patches
parent39242de7097a0e97fb6b777daa2fbe8f55712129 (diff)
downloadpkgsrc-59a0b0ec5affca2d26055d735fb29dab3b972a60.tar.gz
the st_gen member of stat(2) is a BSD extension
Diffstat (limited to 'print/cups/patches')
-rw-r--r--print/cups/patches/patch-bd6
1 files changed, 4 insertions, 2 deletions
diff --git a/print/cups/patches/patch-bd b/print/cups/patches/patch-bd
index a245fc62730..a5672705e00 100644
--- a/print/cups/patches/patch-bd
+++ b/print/cups/patches/patch-bd
@@ -1,4 +1,4 @@
-$NetBSD: patch-bd,v 1.4 2010/06/16 21:15:18 sbd Exp $
+$NetBSD: patch-bd,v 1.5 2010/07/13 10:59:43 sbd Exp $
Incorporate str3510.patch from
http://www.cups.org/str.php?L3510
@@ -51,7 +51,7 @@ http://www.cups.org/str.php?L3510
break;
case 's' : /* Read/write socket */
-@@ -2207,6 +2220,86 @@ cups_fill(cups_file_t *fp) /* I - CUPS
+@@ -2207,6 +2220,88 @@ cups_fill(cups_file_t *fp) /* I - CUPS
return (bytes);
}
@@ -119,7 +119,9 @@ http://www.cups.org/str.php?L3510
+ if (S_ISLNK(linkinfo.st_mode) ||
+ fileinfo.st_dev != linkinfo.st_dev ||
+ fileinfo.st_ino != linkinfo.st_ino ||
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__)
+ fileinfo.st_gen != linkinfo.st_gen ||
++#endif
+ fileinfo.st_nlink != linkinfo.st_nlink ||
+ fileinfo.st_mode != linkinfo.st_mode)
+ {