pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/colord colord: Fix SunOS build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65cc85ce2372
branches:  trunk
changeset: 382301:65cc85ce2372
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jun 26 10:16:20 2018 +0000

description:
colord: Fix SunOS build.

diffstat:

 graphics/colord/distinfo                       |   4 ++--
 graphics/colord/patches/patch-client_cd-util.c |  15 +++++++++++++--
 2 files changed, 15 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 10567c4c9e50 -r 65cc85ce2372 graphics/colord/distinfo
--- a/graphics/colord/distinfo  Tue Jun 26 10:10:59 2018 +0000
+++ b/graphics/colord/distinfo  Tue Jun 26 10:16:20 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.1 2018/06/13 15:49:40 youri Exp $
+$NetBSD: distinfo,v 1.2 2018/06/26 10:16:20 jperkin Exp $
 
 SHA1 (colord-1.3.5.tar.xz) = 17123eceefe56fc60ca347e8e4980e6e2b04f4b5
 RMD160 (colord-1.3.5.tar.xz) = de68b32ae72ab37204197ccf68c6a7d40b6100c0
 SHA512 (colord-1.3.5.tar.xz) = a0084ad2c08ae88c8023b8bade68f6cf25e13c77a6a37ef127b2914e86b06e6a7a783f9ab3585243d975dbbe1120d5daae13bdb586aefe519bf675458683025f
 Size (colord-1.3.5.tar.xz) = 1263488 bytes
-SHA1 (patch-client_cd-util.c) = 1044802d94fab3ffc9bd884959d6f5bf55ffea16
+SHA1 (patch-client_cd-util.c) = 5147d37e65823b706b41ae33d2cf85892ff96ac6
 SHA1 (patch-configure.ac) = cc2d522faee09f3af388210962ea7283879ff4a6
 SHA1 (patch-data_Makefile.am) = 1e0a3bfc0c8a76d44b619906c9fd77e0f4a83486
 SHA1 (patch-lib_colord_cd-icc-store.c) = 6c379033d35a696496d9300db5845279a61136db
diff -r 10567c4c9e50 -r 65cc85ce2372 graphics/colord/patches/patch-client_cd-util.c
--- a/graphics/colord/patches/patch-client_cd-util.c    Tue Jun 26 10:10:59 2018 +0000
+++ b/graphics/colord/patches/patch-client_cd-util.c    Tue Jun 26 10:16:20 2018 +0000
@@ -1,10 +1,21 @@
-$NetBSD: patch-client_cd-util.c,v 1.1 2018/06/13 15:49:40 youri Exp $
+$NetBSD: patch-client_cd-util.c,v 1.2 2018/06/26 10:16:20 jperkin Exp $
 
 Fix db path.
+SunOS requires sys/termios.h
 
 --- client/cd-util.c.orig      2016-07-27 13:49:36.000000000 +0000
 +++ client/cd-util.c
-@@ -814,7 +814,7 @@ cd_util_dump (CdUtilPrivate *priv, gchar
+@@ -27,6 +27,9 @@
+ #ifdef HAVE_PWD_H
+ #include <pwd.h>
+ #endif
++#ifdef __sun
++#include <sys/termios.h>
++#endif
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <sys/ioctl.h>
+@@ -814,7 +817,7 @@ cd_util_dump (CdUtilPrivate *priv, gchar
  {
        CdDevice *device;
        CdProfile *profile;



Home | Main Index | Thread Index | Old Index