pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Fix build on SunOS.
Module Name: pkgsrc-wip
Committed By: Jonathan Perkin <jperkin%joyent.com@localhost>
Pushed By: jperkin
Date: Wed Apr 27 14:19:48 2016 +0100
Changeset: eb01dfda934dd190040289d17ef9d91d714b3b04
Modified Files:
mate-sensors-applet/distinfo
Added Files:
mate-sensors-applet/patches/patch-plugins_sonypi_sonypi-plugin.c
Log Message:
Fix build on SunOS.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=eb01dfda934dd190040289d17ef9d91d714b3b04
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mate-sensors-applet/distinfo | 1 +
.../patches/patch-plugins_sonypi_sonypi-plugin.c | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
diffs:
diff --git a/mate-sensors-applet/distinfo b/mate-sensors-applet/distinfo
index f846a4a..b0a022f 100644
--- a/mate-sensors-applet/distinfo
+++ b/mate-sensors-applet/distinfo
@@ -4,3 +4,4 @@ SHA1 (mate-sensors-applet-1.14.0.tar.xz) = 3662e22a2d960ebb145e43b669dc320543cb1
RMD160 (mate-sensors-applet-1.14.0.tar.xz) = b3f0f9db5fdd8bf29470690cf5b45cf181be34f7
SHA512 (mate-sensors-applet-1.14.0.tar.xz) = 8d1afdb491e3a4a72dbee098ff3383a9562ab47da81d68807cb1fe72ee9f2ccad31cbe355268d7641fc213dcabf8a4527f03e04c4d8a166584730e934f006f5f
Size (mate-sensors-applet-1.14.0.tar.xz) = 389960 bytes
+SHA1 (patch-plugins_sonypi_sonypi-plugin.c) = 903f3c27e211518934fad8cf1493fb79bd198ae1
diff --git a/mate-sensors-applet/patches/patch-plugins_sonypi_sonypi-plugin.c b/mate-sensors-applet/patches/patch-plugins_sonypi_sonypi-plugin.c
new file mode 100644
index 0000000..d7910a3
--- /dev/null
+++ b/mate-sensors-applet/patches/patch-plugins_sonypi_sonypi-plugin.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+SunOS needs sys/filio.h for _IOR()
+
+--- plugins/sonypi/sonypi-plugin.c.orig 2015-10-06 16:57:49.000000000 +0000
++++ plugins/sonypi/sonypi-plugin.c
+@@ -20,6 +20,10 @@
+ #include "config.h"
+ #endif /* HAVE_CONFIG_H */
+
++#ifdef __sun
++#include <sys/filio.h>
++#endif
++
+ #ifdef HAVE_FCNTL_H
+ #include <fcntl.h>
+ #endif /* HAVE_FCNTL_H */
Home |
Main Index |
Thread Index |
Old Index