diff options
author | schnoebe <schnoebe@pkgsrc.org> | 2014-08-23 19:58:17 +0000 |
---|---|---|
committer | schnoebe <schnoebe@pkgsrc.org> | 2014-08-23 19:58:17 +0000 |
commit | f1f9f001f3c7c5abd0d3ddfadc06d09f43924a86 (patch) | |
tree | 4007f641554885847f2fd5fd6edbf464f1c37c69 /print | |
parent | d5d0d1b99a617848cc7483b30fd6b6d6a7f891ae (diff) | |
download | pkgsrc-f1f9f001f3c7c5abd0d3ddfadc06d09f43924a86.tar.gz |
Revise patch-utils_cups-browsed.c to allow cups-browsed to build on NetBSD 6.
(and earlier.)
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-filters/distinfo | 5 | ||||
-rw-r--r-- | print/cups-filters/patches/patch-utils_cups-browsed.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/print/cups-filters/distinfo b/print/cups-filters/distinfo index b1de5a18ba9..ef543ee6d7d 100644 --- a/print/cups-filters/distinfo +++ b/print/cups-filters/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2014/08/22 21:58:21 wiz Exp $ +$NetBSD: distinfo,v 1.5 2014/08/23 19:58:17 schnoebe Exp $ SHA1 (cups-filters-1.0.54.tar.xz) = 5f9e6a7d63406110412d1fc8432bb2415f47622c RMD160 (cups-filters-1.0.54.tar.xz) = 842a08a5846269e7b82153fe955aa3e421370833 Size (cups-filters-1.0.54.tar.xz) = 1314324 bytes SHA1 (patch-filter_foomatic-rip_foomaticrip.c) = bbacc0502b8de0aaec05ea3bde8f6626f5933afb -SHA1 (patch-utils_cups-browsed.c) = ad6f4b59016c1384240f1d39214b6792212f509b +SHA1 (patch-mime_cupsfilters.conf) = cf2a7a0cd5df02b95d0c5d41c1091c51bcd6bc83 +SHA1 (patch-utils_cups-browsed.c) = e5257ca911b3ecd1def42dafbe3f649412555fb8 diff --git a/print/cups-filters/patches/patch-utils_cups-browsed.c b/print/cups-filters/patches/patch-utils_cups-browsed.c index 11b0400d3a6..aa7f9ea35ff 100644 --- a/print/cups-filters/patches/patch-utils_cups-browsed.c +++ b/print/cups-filters/patches/patch-utils_cups-browsed.c @@ -1,15 +1,16 @@ -$NetBSD: patch-utils_cups-browsed.c,v 1.2 2014/06/07 13:53:41 wiz Exp $ +$NetBSD: patch-utils_cups-browsed.c,v 1.3 2014/08/23 19:58:17 schnoebe Exp $ Move header below those providing u_int on NetBSD. https://bugs.linuxfoundation.org/show_bug.cgi?id=1212 --- utils/cups-browsed.c.orig 2014-05-07 14:09:53.000000000 +0000 +++ utils/cups-browsed.c -@@ -23,12 +23,12 @@ +@@ -23,15 +23,15 @@ #include <ctype.h> #include <errno.h> -#include <ifaddrs.h> ++#include <sys/types.h> #if defined(__OpenBSD__) #include <sys/socket.h> #endif /* __OpenBSD__ */ @@ -18,4 +19,7 @@ https://bugs.linuxfoundation.org/show_bug.cgi?id=1212 +#include <ifaddrs.h> #include <resolv.h> #include <stdio.h> - #include <sys/types.h> +-#include <sys/types.h> + #include <sys/stat.h> + #include <assert.h> + #include <stdlib.h> |